Restore the ability to run all js tests with iptest js

E.g. for slimer
pull/37/head
Thomas Kluyver 11 years ago
parent 84d6863d2e
commit 1c0c5e5b0f

@ -431,8 +431,11 @@ def prepare_controllers(options):
not to run."""
testgroups = options.testgroups
if testgroups:
js_testgroups = [g for g in testgroups if g.startswith(js_prefix)]
py_testgroups = [g for g in testgroups if g not in js_testgroups]
if 'js' in testgroups:
js_testgroups = all_js_groups()
else:
js_testgroups = [g for g in testgroups if g.startswith(js_prefix)]
py_testgroups = [g for g in testgroups if not g.startswith('js')]
else:
py_testgroups = py_test_group_names
if not options.all:

Loading…
Cancel
Save