diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-09-20 12:49:27 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-09-20 12:51:14 +0100 |
commit | 439309bfede3afe68469f39bbde332ff5f668ba6 (patch) | |
tree | 37beb7d2c713cda587675b619601e91915fe2122 | |
parent | 089c6a1562a74b86f7e60c87d43abc1c7a6cb446 (diff) | |
download | telepathy-mission-control-439309bfede3afe68469f39bbde332ff5f668ba6.tar.gz |
Document the new test logging arrangement
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69585
-rw-r--r-- | tests/twisted/README | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/tests/twisted/README b/tests/twisted/README index b1b07164..f4edd324 100644 --- a/tests/twisted/README +++ b/tests/twisted/README @@ -7,11 +7,15 @@ To run an individual Twisted test: make -C tests/twisted check-twisted \ TWISTED_TESTS=dispatcher/create-at-startup.py -To run with debug information: - - make -C tests/twisted check-twisted \ - TWISTED_TESTS=dispatcher/create-at-startup.py \ - CHECK_TWISTED_VERBOSE=1 +Debug information (the test's own log, and Mission Control's log) +is recorded in a subdirectory of tests-twisted whose name is based +on the test's name, like tests/twisted/tmp-dispatcher_create-at-startup_py. +The same tmp-* directory also contains the account data used in the test. +If the test fails, its output will be sent to stdout. + +These directories are normally deleted after a test passes or is skipped, +and kept for analysis if it fails. Set the environment variable +MC_TEST_KEEP_TEMP to avoid deleting them. To debug an individual test you can set one of the following env variable: |