Show output if tests fail
@@ -16,7 +16,7 @@ build:
- cmake -B cmake-build . -DCMAKE_INSTALL_PREFIX=$PREFIX # [linux]
- CXXFLAGS="${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY" cmake -B cmake-build . -DCMAKE_INSTALL_PREFIX=$PREFIX # [osx]
- cmake --build cmake-build -t install # [unix]
- - ctest -j 1 --test-dir cmake-build -E 'Shell.remote.*|test-Command' # [unix]
+ - ctest -j 1 --test-dir cmake-build -E 'Shell.remote.*|test-Command' || ctest -j 1 --rerun-failed --output-on-failure # [unix]
- cd pysjef && {{ PYTHON }} -m pip install . -vv # [unix]
- rm -f $(grep -v /bin/sjef ../cmake-build/install_manifest.txt) # [unix]
number: 0
