summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-10-31 00:40:41 +0100
committerlouiz’ <louiz@louiz.org>2016-10-31 01:39:35 +0100
commitec555d05dfff976e5584db7b15768fff0fab448c (patch)
tree12bf386f8c449bbd6e90d952b88f64c8f7c12c12
parent1ff71ca79ef701b0623728ce91c27a0b57a9a85d (diff)
downloadbiboumi-ec555d05dfff976e5584db7b15768fff0fab448c.tar.gz
biboumi-ec555d05dfff976e5584db7b15768fff0fab448c.tar.bz2
biboumi-ec555d05dfff976e5584db7b15768fff0fab448c.tar.xz
biboumi-ec555d05dfff976e5584db7b15768fff0fab448c.zip
e2e: add the possibility to launch a specific list of scenarios only
-rw-r--r--tests/end_to_end/__main__.py3
1 files changed, 3 insertions, 0 deletions
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." %