mirror of
https://github.com/servo/servo.git
synced 2025-06-08 00:23:30 +00:00
PEP8 line length fixes in testing_commands.py
...so that PyLint stops yelling at me
This commit is contained in:
parent
92a8c7a80c
commit
3d5fa7b6e2
1 changed files with 5 additions and 3 deletions
|
@ -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":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue