From f86d1530e5503ba3b34785ec198e8998b061964f Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sep 25 2019 05:21:43 +0000 Subject: Fix --threads option for test-suite/runtest.sh --- diff --git a/test-suite/runtest.sh b/test-suite/runtest.sh index 76f1c2a..fe6ce4b 100755 --- a/test-suite/runtest.sh +++ b/test-suite/runtest.sh @@ -51,7 +51,8 @@ while [ $# -gt 0 ]; do done if [ -n "$threads" ]; then - thread_args="-j$threads" + thread_args_ninja="-j$threads" + thread_args_lit="j$threads" fi set -xe @@ -61,6 +62,6 @@ cd $(mktemp -d) cmake -G Ninja $testsuite_dir \ -DCMAKE_C_COMPILER=$cc \ -DCMAKE_CXX_COMPILER=$cxx \ - -DTEST_SUITE_LIT_FLAGS="-sv$thread_args" + -DTEST_SUITE_LIT_FLAGS="-sv$thread_args_lit" -ninja $thread_args check +ninja $thread_args_ninja check