Commit 79002aa5 authored by louiz’'s avatar louiz’
Browse files

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

parent 2fe88781
......@@ -205,6 +205,8 @@ add_custom_target(check COMMAND "test_suite"
DEPENDS test_suite biboumi)
add_custom_target(e2e COMMAND "python3" "${CMAKE_CURRENT_SOURCE_DIR}/tests/end_to_end/"
DEPENDS biboumi)
add_custom_target(e2e_valgrind COMMAND "E2E_BIBOUMI_VALGRIND=1" "python3" "${CMAKE_CURRENT_SOURCE_DIR}/tests/end_to_end/"
DEPENDS biboumi)
......@@ -782,7 +782,7 @@ if __name__ == '__main__':
for scenario in scenarios:
test = BiboumiTest(scenario)
if not
if not"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." %
failures += 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment