From: Joel Rosdahl Date: Sun, 5 Jul 2020 16:57:24 +0000 (+0200) Subject: Pass arguments to ci/build to ctest X-Git-Tag: v4.0~358 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7ff9f8ecab019e24a567618dfa511bbecc7d61f2;p=thirdparty%2Fccache.git Pass arguments to ci/build to ctest This makes it possible to only run a subset of the tests by for instance running “build-in-docker -R ”. --- diff --git a/ci/build b/ci/build index 5b79f2771..b326e9a63 100755 --- a/ci/build +++ b/ci/build @@ -20,6 +20,6 @@ else # 4 jobs seem to be a reasonable default for Travis. ${CMAKE_PREFIX:-} cmake --build . ${BUILDEXTRAFLAGS:-} -- -j${JOBS} # Warning: Rare random failures when running with -j4. - [ "${RUN_TESTS:-1}" -ne "1" ] || ctest --output-on-failure -j${JOBS} + [ "${RUN_TESTS:-1}" -ne "1" ] || ctest --output-on-failure -j${JOBS} "$@" fi exit 0