radiasoft / zgoubi

Git repo for zgoubi source code
https://sourceforge.net/projects/zgoubi/
GNU General Public License v2.0
9 stars 3 forks source link

make test on travis gives no info about failure #76

Closed robnagler closed 5 years ago

robnagler commented 5 years ago

There should be a way of getting the ctest output in travis.

Test project /home/vagrant/src/radiasoft/zgoubi/cmake-build
    Start 1: zgoubi-tests
1/1 Test #1: zgoubi-tests .....................***Failed  Required regular expression not found.Regex=[ZGOUBI_PASSED
]  0.87 sec
0% tests passed, 1 tests failed out of 1
Total Test time (real) =   0.87 sec
The following tests FAILED:
      1 - zgoubi-tests (Failed)
Errors while running CTest
rouson commented 5 years ago

@robnagler I assume you resolved this. Two options are passing the argument --output-on-failure to ctest or setting the environment variable CTEST_OUTPUT_ON_FAILURE=ON.

robnagler commented 5 years ago

Yes, thanks @rouson it has been resolved.