Skip to content

Commit

Permalink
Merge pull request #7434 from takluyver/restore-test-all-js
Browse files Browse the repository at this point in the history
Restore the ability to run all js tests with iptest js
  • Loading branch information
minrk committed Jan 13, 2015
2 parents 77ebedc + 1b66a38 commit 098340c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions IPython/testing/iptestcontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 098340c

Please sign in to comment.