summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLevi Pearson <levi.pearson@harman.com>2014-10-31 16:07:17 -0600
committerLevi Pearson <levi.pearson@harman.com>2014-10-31 16:07:17 -0600
commitcb21563285a0d6e2f747095412453d9aed3f6c6e (patch)
tree39ebec7120673a939874cb9ecb09a5b062770358
parentb6cd593adf053f0ab8c5be0f45a772573c6a6e5d (diff)
downloadOpen-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.txt2
-rwxr-xr-xtravis.sh2
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 )
diff --git a/travis.sh b/travis.sh
index d76979fb..8b738d0a 100755
--- a/travis.sh
+++ b/travis.sh
@@ -8,5 +8,5 @@ mkdir build
cd build
cmake .. -G "Unix Makefiles"
make
+export ARGS=--output-on-failure
make test
-