From ec555d05dfff976e5584db7b15768fff0fab448c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Mon, 31 Oct 2016 00:40:41 +0100 Subject: e2e: add the possibility to launch a specific list of scenarios only --- tests/end_to_end/__main__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/end_to_end/__main__.py b/tests/end_to_end/__main__.py index 95aa1b6..d235c02 100644 --- a/tests/end_to_end/__main__.py +++ b/tests/end_to_end/__main__.py @@ -1627,6 +1627,7 @@ if __name__ == '__main__': failures = 0 + scenar_list = sys.argv[1:] irc_output = open("irc_output.txt", "w") irc = IrcServerRunner() print("Starting irc server…") @@ -1643,6 +1644,8 @@ if __name__ == '__main__': print("Running %s checks for biboumi." % (len(scenarios))) for s in scenarios: + if s.name not in scenar_list: + continue test = BiboumiTest(s) if not test.run(): print("You can check the files slixmpp_%s_output.txt and biboumi_%s_output.txt to help you debug." % -- cgit v1.2.3