]> https://gitweb.dealii.org/ - dealii.git/commitdiff
bugfix 13352/head
authorMatthias Maier <tamiko@43-1.org>
Fri, 11 Feb 2022 23:47:09 +0000 (17:47 -0600)
committerMatthias Maier <tamiko@43-1.org>
Fri, 11 Feb 2022 23:47:09 +0000 (17:47 -0600)
cmake/scripts/run_test.sh

index 1fe38f66e5b2ace49f5ccbf80b499c0fa72b3cda..bb016c67dbc29783bbadc1e314f2f40874315d36 100644 (file)
@@ -53,7 +53,7 @@ case $STAGE in
     #    testsuite to explicitly set the number of threads in the header
     #    file tests.h.
     #
-    if [ "${TEST_N_THREADS+0}" -ne 0 ]; then
+    if [ "${TEST_N_THREADS:-0}" -ne 0 ]; then
       export DEAL_II_NUM_THREADS="${TEST_N_THREADS}"
       export TEST_N_THREADS
     fi

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.