Commit ec555d05 authored by louiz’'s avatar louiz’

e2e: add the possibility to launch a specific list of scenarios only

parent 1ff71ca7
...@@ -1627,6 +1627,7 @@ if __name__ == '__main__': ...@@ -1627,6 +1627,7 @@ if __name__ == '__main__':
failures = 0 failures = 0
scenar_list = sys.argv[1:]
irc_output = open("irc_output.txt", "w") irc_output = open("irc_output.txt", "w")
irc = IrcServerRunner() irc = IrcServerRunner()
print("Starting irc server…") print("Starting irc server…")
...@@ -1643,6 +1644,8 @@ if __name__ == '__main__': ...@@ -1643,6 +1644,8 @@ if __name__ == '__main__':
print("Running %s checks for biboumi." % (len(scenarios))) print("Running %s checks for biboumi." % (len(scenarios)))
for s in scenarios: for s in scenarios:
if s.name not in scenar_list:
continue
test = BiboumiTest(s) test = BiboumiTest(s)
if not test.run(): if not test.run():
print("You can check the files slixmpp_%s_output.txt and biboumi_%s_output.txt to help you debug." % print("You can check the files slixmpp_%s_output.txt and biboumi_%s_output.txt to help you debug." %
......
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