Skip to content

Commit 4b63355

Browse files
committed
ci : ctest uses -L main
1 parent fd9d247 commit 4b63355

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ci/run.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ mkdir -p "$2"
2222
OUT=$(realpath "$1")
2323
MNT=$(realpath "$2")
2424

25-
rm -v $OUT/*.log
26-
rm -v $OUT/*.exit
27-
rm -v $OUT/*.md
25+
rm -fv $OUT/*.log
26+
rm -fv $OUT/*.exit
27+
rm -fv $OUT/*.md
2828

2929
sd=`dirname $0`
3030
cd $sd/../
@@ -84,7 +84,7 @@ function gg_run_ctest_debug {
8484
(time cmake -DCMAKE_BUILD_TYPE=Debug .. ) 2>&1 | tee -a $OUT/${ci}-cmake.log
8585
(time make -j ) 2>&1 | tee -a $OUT/${ci}-make.log
8686

87-
(time ctest --output-on-failure -E test-opt ) 2>&1 | tee -a $OUT/${ci}-ctest.log
87+
(time ctest --output-on-failure -L main -E test-opt ) 2>&1 | tee -a $OUT/${ci}-ctest.log
8888

8989
set +e
9090
}
@@ -113,9 +113,9 @@ function gg_run_ctest_release {
113113
(time make -j ) 2>&1 | tee -a $OUT/${ci}-make.log
114114

115115
if [ -z ${GG_BUILD_LOW_PERF} ]; then
116-
(time ctest --output-on-failure ) 2>&1 | tee -a $OUT/${ci}-ctest.log
116+
(time ctest --output-on-failure -L main ) 2>&1 | tee -a $OUT/${ci}-ctest.log
117117
else
118-
(time ctest --output-on-failure -E test-opt ) 2>&1 | tee -a $OUT/${ci}-ctest.log
118+
(time ctest --output-on-failure -L main -E test-opt ) 2>&1 | tee -a $OUT/${ci}-ctest.log
119119
fi
120120

121121
set +e

0 commit comments

Comments
 (0)