diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2020-07-05 18:57:24 +0200 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2020-07-05 21:05:42 +0200 |
commit | 7ff9f8ecab019e24a567618dfa511bbecc7d61f2 (patch) | |
tree | 754624d994e58842c8d7d8aaad9e90e1bb533def /ci/build | |
parent | 66ef49bd55b85594d7e4ac22c42203c50c70b122 (diff) | |
download | ccache-7ff9f8ecab019e24a567618dfa511bbecc7d61f2.tar.gz |
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 <name> -R <test>”.
Diffstat (limited to 'ci/build')
-rwxr-xr-x | ci/build | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |