summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-08-12 10:45:45 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-08-12 11:12:00 +0200
commitecaae01f31878a70771f75046b3e00173ff397b5 (patch)
tree3dbd8f8f62ca9f0e1669ebdbb5f29b98e0c4d3ea /.travis.yml
parent281383ce1b020013737b28d87988bdf477a90477 (diff)
downloadapt-ecaae01f31878a70771f75046b3e00173ff397b5.tar.gz
ctest: show test output in case of failures
ctest as run by cmake by default does not show the output of the tests even if the tests failed. In terms of our tests it could be handy to set it always, but unfortunately it seems like cmake doesn't allow it if the internet is to be believed, so lets enable it at least while building packages and on travis. Gbp-Dch: Ignore
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 3c4b59319..424172e04 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,7 +16,7 @@ before_script:
- ( mkdir build && cd build && cmake .. )
- make -C build -j4
script:
- - make -C build test
+ - CTEST_OUTPUT_ON_FAILURE=1 make -C build test
- ./test/integration/run-tests -q
- sudo adduser --force-badname --system --home /nonexistent --no-create-home --quiet _apt || true
- sudo ./test/integration/run-tests -q