Run e2e through with valgrind if BIBOUMI_E2E_VALGRIND is set in the env

This commit is contained in:
louiz’
2016-06-29 19:53:37 +02:00
parent 2fe8878169
commit 79002aa5c9
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -782,7 +782,7 @@ if __name__ == '__main__':
for scenario in scenarios:
test = BiboumiTest(scenario)
if not test.run(False):
if not test.run(os.getenv("E2E_BIBOUMI_VALGRIND") is not None):
print("You can check the files slixmpp_%s_output.txt and biboumi_%s_output.txt to help you debug." %
(scenario.name, scenario.name))
failures += 1