diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-03-06 00:38:54 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-03-06 00:48:14 +0100 |
commit | b9ac1f45a14b9783602fe4508b1f450dd2676bb6 (patch) | |
tree | 987b7d61da0d97e480afd71a9b23491c595c7dbf /selftest | |
parent | 074ee6f34c3c105d7c5d940b420ccd785c05867e (diff) | |
download | samba-b9ac1f45a14b9783602fe4508b1f450dd2676bb6.tar.gz samba-b9ac1f45a14b9783602fe4508b1f450dd2676bb6.tar.bz2 samba-b9ac1f45a14b9783602fe4508b1f450dd2676bb6.zip |
selftest.py: Only run teardown_all when actually relevant.
Diffstat (limited to 'selftest')
-rwxr-xr-x | selftest/selftest.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/selftest/selftest.py b/selftest/selftest.py index 26c409af45..1b2044134c 100755 --- a/selftest/selftest.py +++ b/selftest/selftest.py @@ -538,12 +538,10 @@ else: if opts.resetup_environment: env_manager.teardown_env(envname) + env_manager.teardown_all() sys.stdout.write("\n") -if not opts.list: - env_manager.teardown_all() - # if there were any valgrind failures, show them for fn in os.listdir(prefix): if fn.startswith("valgrind.log"): |