Fix the display of the number of checks to be run by the e2e tests

This commit is contained in:
louiz’
2017-04-07 19:01:08 +02:00
parent ccb4ee098f
commit b82a14f20e
+2 -1
View File
@@ -2359,7 +2359,8 @@ if __name__ == '__main__':
if b"now running in foreground mode" in res: if b"now running in foreground mode" in res:
break break
print("irc server started.") print("irc server started.")
print("Running %s checks for biboumi." % (len([s for s in scenarios if s.name in scenar_list]))) checks = len([s for s in scenarios if s.name in scenar_list]) if scenar_list else len(scenarios)
print("Running %s checks for biboumi." % checks)
for s in scenarios: for s in scenarios:
if scenar_list and s.name not in scenar_list: if scenar_list and s.name not in scenar_list: