Travis CI: Use ctest to run all the tests.
authorLei Zhang <antiagainst@gmail.com>
Thu, 26 May 2016 01:01:54 +0000 (21:01 -0400)
committerLei Zhang <antiagainst@gmail.com>
Thu, 26 May 2016 01:02:47 +0000 (21:02 -0400)
.travis.yml

index 28c21c1..e72618c 100644 (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: