summaryrefslogtreecommitdiff
path: root/README.md
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 /README.md
parent281383ce1b020013737b28d87988bdf477a90477 (diff)
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.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 1c1019713..b0470d8be 100644
--- a/README.md
+++ b/README.md
@@ -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
---------