diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-08-12 10:45:45 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-08-12 11:12:00 +0200 |
commit | ecaae01f31878a70771f75046b3e00173ff397b5 (patch) | |
tree | 3dbd8f8f62ca9f0e1669ebdbb5f29b98e0c4d3ea /README.md | |
parent | 281383ce1b020013737b28d87988bdf477a90477 (diff) | |
download | apt-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 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -115,8 +115,10 @@ itself as well as in conjunction with dpkg and other tools while working with pa ### Unit tests -These tests are gtest-dev based, reside in `./test/libapt` and can be run with `make test`. -They are executed at package build-time, but not by `make`. +These tests are gtest-dev based, executed by ctest, reside in `./test/libapt` +and can be run with `make test`. They are executed at package build-time, but +not by `make`. CTest by default does not show the output of tests, even if they +failed, so to see more details you can also run them with `ctest --verbose`. Debugging --------- |