Commit a7da2d35 authored by Andreas Marek's avatar Andreas Marek
Browse files

Allow make check to be run with changed number of MPI tasks

From now on call make check with TASKS=x, e.g.

make check TASKS=2
parent b2d44e29
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -519,7 +519,7 @@ endif
# test scripts
MPIEXEC ?= $(MPI_BINARY) -n 2
MPIEXEC ?= $(MPI_BINARY) '-n $$TASKS'
if WITH_MPI
wrapper=$(MPIEXEC)
else
......@@ -527,7 +527,7 @@ else
endif
TESTS = $(check_SCRIPTS)
%.sh: %
@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