diff options
author | Michael Howell <michael@notriddle.com> | 2015-07-31 21:22:58 -0700 |
---|---|---|
committer | Michael Howell <michael@notriddle.com> | 2015-07-31 21:24:23 -0700 |
commit | f82f46680eae635bb45eb4ba5526d1d5adb9c2d3 (patch) | |
tree | 4a4295ff0f495b7957c98b4a90566d594d6879de /python | |
parent | 6749bed1f56880e09aec574df49a8ae31fc8917c (diff) | |
download | servo-f82f46680eae635bb45eb4ba5526d1d5adb9c2d3.tar.gz servo-f82f46680eae635bb45eb4ba5526d1d5adb9c2d3.zip |
UI cheeze.
Diffstat (limited to 'python')
-rw-r--r-- | python/servo/testing_commands.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index 0f17274bac0..2b53f8f46e9 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -274,12 +274,14 @@ class MachCommands(CommandBase): @Command('test-dromaeo', description='Run the Dromaeo test suite', category='testing') + @CommandArgument('tests', default=["recommended"], nargs="...", + help="Specific tests to run") @CommandArgument('--release', '-r', action='store_true', help='Run the release build') @CommandArgument('--dev', '-d', action='store_true', help='Run the dev build') - def test_dromaeo(self, release, dev): - return self.dromaeo_test_runner("test", release, dev) + def test_dromaeo(self, tests, release, dev): + return self.dromaeo_test_runner(tests, release, dev) @Command('update-jquery', description='Update the jQuery test suite expected results', @@ -378,7 +380,7 @@ class MachCommands(CommandBase): return subprocess.check_call( [run_file, cmd, bin_path, base_dir]) - def dromaeo_test_runner(self, cmd, release, dev): + def dromaeo_test_runner(self, tests, release, dev): self.ensure_bootstrapped() base_dir = path.abspath(path.join("tests", "dromaeo")) dromaeo_dir = path.join(base_dir, "dromaeo") @@ -401,5 +403,5 @@ class MachCommands(CommandBase): bin_path = path.abspath(self.get_binary_path(release, dev)) return subprocess.check_call( - [run_file, cmd, bin_path, base_dir]) + [run_file, "|".join(tests), bin_path, base_dir]) |