chore: CI: close ctest's stdin
Apparently CMake reverted auto-closing stdin for ctest in a recent release because people relied on the old behavior... Perhaps we should add this to all test scripts instead, but this CI fix is easier
This commit is contained in:
parent
5e42b1df09
commit
353b511e9b
1 changed files with 3 additions and 2 deletions
|
|
@ -4,6 +4,7 @@ mkdir build
|
|||
cd build
|
||||
eval cmake ../src $CMAKE_OPTIONS
|
||||
cmake --build .
|
||||
# -T to create .xml file
|
||||
ctest -j8 --output-on-failure --no-compress-output -T Test
|
||||
# -T to create .xml file for CI display
|
||||
# `<&-` to close stdin so that assertion dialog doesn't wait for input
|
||||
ctest -j8 --output-on-failure --no-compress-output -T Test <&-
|
||||
cpack
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue