Skip to content

Commit

Permalink
tweak check target
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@87521 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
maechler committed Jan 3, 2025
1 parent d12cd3e commit 863acf0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/nmath/standalone/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,19 @@ all: Makefile inc static shared
inc: Makefile
(cd ../../include; $(MAKE) Rmath.h)

#check: all # clean

# check: clean -- takes ~ 5 sec --> just 'rm test':
# : all -- not as dependency, but directly, possibly parallelized:
check:
@rm -f check.log
@rm -f check.log test
@if test -n "${TEST_MC_CORES}"; then \
$(MAKE) -j ${TEST_MC_CORES} all > check.log 2>&1; \
echo "using ${TEST_MC_CORES} cores" > check.log; \
$(MAKE) -j ${TEST_MC_CORES} all >> check.log 2>&1; \
$(MAKE) -f test >> check.log 2>&1; \
else \
$(MAKE) all test > check.log 2>&1; \
fi
@tail check.log
@$(ECHO) "check output can be found in src/nmath/standalone/check.log"

Copy:
Expand Down

0 comments on commit 863acf0

Please sign in to comment.