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 .
|
cmake --build .
|
||||||
fi
|
fi
|
||||||
test $? -eq 0 || exit 2
|
test $? -eq 0 || exit 2
|
||||||
|
TESTTHREADS=${TESTTHREADS:-1}
|
||||||
if test -z "$CTEST_CONFIGURATION"
|
if test -z "$CTEST_CONFIGURATION"
|
||||||
then
|
then
|
||||||
ctest -T Test --no-compress-output
|
ctest -T Test --no-compress-output -j$TESTTHREADS
|
||||||
else
|
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
|
fi
|
||||||
|
|
||||||
# Convert to junit format
|
# Convert to junit format
|
||||||
|
Loading…
Reference in New Issue
Block a user