diff options
author | Levi Pearson <levi.pearson@harman.com> | 2014-10-31 16:07:17 -0600 |
---|---|---|
committer | Levi Pearson <levi.pearson@harman.com> | 2014-10-31 16:07:17 -0600 |
commit | cb21563285a0d6e2f747095412453d9aed3f6c6e (patch) | |
tree | 39ebec7120673a939874cb9ecb09a5b062770358 | |
parent | b6cd593adf053f0ab8c5be0f45a772573c6a6e5d (diff) | |
download | Open-AVB-cb21563285a0d6e2f747095412453d9aed3f6c6e.tar.gz |
Small changes to test and CI infrastructure
Travis is now configured such that ctest will be invoked with the
--output-on-failure option, which will dump the test output from the
failing test.
The cmake configuration is also configured to call the test program with
the -v option, which causes it to include the test names in the output as
they run.
The end result should make it much easier to debug problems that occur
during CI builds.
-rw-r--r-- | daemons/mrpd/tests/simple/CMakeLists.txt | 2 | ||||
-rwxr-xr-x | travis.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/daemons/mrpd/tests/simple/CMakeLists.txt b/daemons/mrpd/tests/simple/CMakeLists.txt index aadb5554..0d78cd87 100644 --- a/daemons/mrpd/tests/simple/CMakeLists.txt +++ b/daemons/mrpd/tests/simple/CMakeLists.txt @@ -32,4 +32,4 @@ elseif(WIN32) target_link_libraries(mrpd_simple_test wpcap Iphlpapi Ws2_32 CppUTest CppUTestExt) endif() -add_test( test_mrpd mrpd_simple_test ) +add_test( test_mrpd mrpd_simple_test -v ) @@ -8,5 +8,5 @@ mkdir build cd build cmake .. -G "Unix Makefiles" make +export ARGS=--output-on-failure make test - |