Commit 38285971 authored by Lorenz Huedepohl's avatar Lorenz Huedepohl

Set a default of 2 tasks for the tests, if not otherwise specified

parent 675fe7a1
......@@ -518,17 +518,17 @@ single_complex_2stage_banded@SUFFIX@_FCFLAGS = $(AM_FCFLAGS) $(FC_MODINC)test_mo
endif
# test scripts
MPIEXEC ?= $(MPI_BINARY) '-n $$TASKS'
# test scriptsT
TASKS ?= 2
if WITH_MPI
wrapper=$(MPIEXEC)
wrapper=$(MPI_BINARY) -n $${TASKS:-$(TASKS)}
else
wrapper=
endif
TESTS = $(check_SCRIPTS)
%.sh: %
@echo "#!/bin/bash" > $@
@echo $(wrapper) ./$^ '$$TEST_FLAGS' >> $@
@echo '$(wrapper)' ./$^ '$$TEST_FLAGS' >> $@
@chmod +x $@
include doxygen.am
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment