diff options
author | bors-servo <metajack+bors@gmail.com> | 2014-12-02 18:15:51 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2014-12-02 18:15:51 -0700 |
commit | c91e949ed02dc299900ed2c50812d733e6740afb (patch) | |
tree | fd861c7b5e6acfc8c00d545b0e48456629ea2212 /python/servo/testing_commands.py | |
parent | c68269097e8b6dfd363a74dcf6c5d7de1f675cd9 (diff) | |
parent | 2dc0b8973d10533000663eb122c8e3f00312e3d3 (diff) | |
download | servo-c91e949ed02dc299900ed2c50812d733e6740afb.tar.gz servo-c91e949ed02dc299900ed2c50812d733e6740afb.zip |
auto merge of #4169 : IdeaHat/servo/fix-mach-unit-test-filter, r=jdm
Minor change, added unit test filter to components so that ./mach test-unit [test-filter] works in line with documentation.
I'd personally like to also make filters on the components as well as the tests. This would change the interface (probably to ./mach test-unit [component-filter] [test-filter]), but change is NOT in this pull request.
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r-- | python/servo/testing_commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index 53f2cd288af..8735a234e12 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -104,7 +104,7 @@ class MachCommands(CommandBase): def cargo_test(component): return 0 != subprocess.call( - ["cargo", "test", "-p", component], env=self.build_env()) + ["cargo", "test", "-p", component] + test_name, env=self.build_env()) for component in os.listdir("components"): ret = ret or cargo_test(component) |