regrtest: the 'bad' and 'environment_changed' sets of tests don't intersect anymore

This commit is contained in:
Zachary Ware 2015-08-08 22:03:27 -05:00
parent 3a7ffa7474
commit 9a47ed8839

View file

@ -798,10 +798,8 @@ def main(tests=None, **kwargs):
for time, test in test_times[:10]:
print("%s: %.1fs" % (test, time))
if bad:
bad = sorted(set(bad) - set(environment_changed))
if bad:
print(count(len(bad), "test"), "failed:")
printlist(bad)
print(count(len(bad), "test"), "failed:")
printlist(bad)
if environment_changed:
print("{} altered the execution environment:".format(
count(len(environment_changed), "test")))