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:
Sebastian Ullrich 2019-11-17 20:53:39 +01:00
parent 5e42b1df09
commit 353b511e9b

View file

@ -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