diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-03-26 12:00:09 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-03-27 09:20:50 +0000 |
commit | 3f776a3e5a9a69d8980c286aaf8f6be93d303e89 (patch) | |
tree | d51a408dce08cbb9376b329df292b86096670050 | |
parent | 00ca212d08b4ceebf83449692e1cfd0e28cec360 (diff) |
Replace MC_TEST_KEEP_TEMP with CHECK_TWISTED_KEEP_TEMP
-rw-r--r-- | tests/twisted/README | 4 | ||||
-rw-r--r-- | tests/twisted/run-test.sh.in | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/twisted/README b/tests/twisted/README index f4edd324..23438aa9 100644 --- a/tests/twisted/README +++ b/tests/twisted/README @@ -15,13 +15,13 @@ 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. +CHECK_TWISTED_KEEP_TEMP to avoid deleting them. To debug an individual test you can set one of the following env variable: * MISSIONCONTROL_TEST_VALGRIND : to run Mission Control inside valgrind. The report is added to missioncontrol.log. You'll probably also want - MC_TEST_KEEP_TEMP to keep the logs in tests/twisted/tmp-*, even when + CHECK_TWISTED_KEEP_TEMP to keep the logs in tests/twisted/tmp-*, even when tests passed. * MISSIONCONTROL_TEST_REFDBG : to run Mission Control inside refdbg. The diff --git a/tests/twisted/run-test.sh.in b/tests/twisted/run-test.sh.in index 533846cb..2c419173 100644 --- a/tests/twisted/run-test.sh.in +++ b/tests/twisted/run-test.sh.in @@ -125,7 +125,7 @@ for t in $list ; do case "$e" in (0) echo "ok $i - $t" - if test -z "$MC_TEST_KEEP_TEMP"; then + if test -z "$CHECK_TWISTED_KEEP_TEMP"; then rm -fr "$tmp" fi ;; @@ -138,7 +138,7 @@ for t in $list ; do done echo "# ===== end of log files for $t =====" ) - if test -z "$MC_TEST_KEEP_TEMP"; then + if test -z "$CHECK_TWISTED_KEEP_TEMP"; then rm -fr "$tmp" fi ;; |