Travis CI: Use ctest to run all the tests.

This commit is contained in:
Lei Zhang 2016-05-25 21:01:54 -04:00
parent c7551e1f07
commit 6a1e1ac7b9

View File

@ -49,8 +49,7 @@ script:
- mkdir build && cd build
- cmake -GNinja -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ..
- ninja
# Be nice and only output if there are failures.
- ./test/UnitSPIRV --gtest_break_on_failure &> log || (cat log; false)
- ctest -j`nproc` --output_on_failure
notifications: