added: environment variable TESTTHREADS in build-opm-module.sh
set this to run tests in parallel
This commit is contained in:
parent
9ff301625b
commit
377294316e
@ -112,11 +112,12 @@ function build_module {
|
||||
cmake --build .
|
||||
fi
|
||||
test $? -eq 0 || exit 2
|
||||
TESTTHREADS=${TESTTHREADS:-1}
|
||||
if test -z "$CTEST_CONFIGURATION"
|
||||
then
|
||||
ctest -T Test --no-compress-output
|
||||
ctest -T Test --no-compress-output -j$TESTTHREADS
|
||||
else
|
||||
ctest -C $CTEST_CONFIGURATION --timeout 5000 -T Test --no-compress-output
|
||||
ctest -j$TESTTHREADS -C $CTEST_CONFIGURATION --timeout 5000 -T Test --no-compress-output
|
||||
fi
|
||||
|
||||
# Convert to junit format
|
||||
|
Loading…
Reference in New Issue
Block a user