diff options
author | Matthew Rasmus <mattr@zzntd.com> | 2014-12-04 16:12:22 -0800 |
---|---|---|
committer | Matthew Rasmus <mattr@zzntd.com> | 2014-12-04 16:12:22 -0800 |
commit | 3d5fa7b6e2cdcd245053063cff26e1b1132dd5fe (patch) | |
tree | 674b4f32b9ec511d7e3f06c583a36d495e2d6463 /python/servo/testing_commands.py | |
parent | 92a8c7a80ccd5721884da96dbd28c6c40ba32b70 (diff) | |
download | servo-3d5fa7b6e2cdcd245053063cff26e1b1132dd5fe.tar.gz servo-3d5fa7b6e2cdcd245053063cff26e1b1132dd5fe.zip |
PEP8 line length fixes in testing_commands.py
...so that PyLint stops yelling at me
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r-- | python/servo/testing_commands.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index ff4844731d8..2db41a2df9c 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -36,7 +36,9 @@ class MachCommands(CommandBase): for filename in target_contents: if filename.startswith(prefix + "-"): filepath = path.join( - self.context.topdir, "components", "servo", "target", filename) + self.context.topdir, "components", "servo", + "target", filename) + if path.isfile(filepath) and os.access(filepath, os.X_OK): return filepath @@ -106,8 +108,8 @@ class MachCommands(CommandBase): def cargo_test(component): return 0 != subprocess.call( - ["cargo", "test", "-p", component] + test_name, - env=self.build_env(), cwd=self.servo_crate()) + ["gdb", "--args", "cargo", "test", "-p", component] + + test_name, env=self.build_env(), cwd=self.servo_crate()) for component in os.listdir("components"): if component != "servo": |