Skip to content

Commit 2c9bd5d

Browse files
committed
Support specifying verbosity level to ctest
1 parent 6c1096d commit 2c9bd5d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

commands/setup

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Options:
1414
CMAKE_GENERATOR=|...
1515
1616
CTEST_OUTPUT_ON_FAILURE=1|0
17+
CTEST_VERBOSITY=|quiet|verbose
1718
1819
CC=cc|gcc|clang|...
1920
CXX=c++|g++|clang++|...
@@ -139,6 +140,10 @@ if [[ "$CMAKE_GENERATOR" =~ Xcode ]]; then
139140
fi
140141
fi
141142

143+
if [ -n "$CTEST_VERBOSITY" ]; then
144+
TEST_CMD+=("--$CTEST_VERBOSITY")
145+
fi
146+
142147
# Watch ------------------------------------------------------------------------
143148

144149
export WATCH_CMD=(fswatch --one-per-batch --recursive)

0 commit comments

Comments
 (0)