mirror of
https://github.com/servo/servo.git
synced 2025-06-08 00:23:30 +00:00
Fixed nits
This commit is contained in:
parent
18b6817755
commit
83a492a533
1 changed files with 4 additions and 2 deletions
|
@ -242,8 +242,10 @@ class MachCommands(CommandBase):
|
|||
def test_webidl(self, quiet, tests):
|
||||
self.ensure_bootstrapped()
|
||||
|
||||
test_file_dir = path.abspath(path.join(PROJECT_TOPLEVEL_PATH, "components", "script", "dom", "bindings", "codegen", "parser"))
|
||||
sys.path.insert(0, test_file_dir) # For the `import WebIDL` in runtests.py
|
||||
test_file_dir = path.abspath(path.join(PROJECT_TOPLEVEL_PATH, "components", "script",
|
||||
"dom", "bindings", "codegen", "parser"))
|
||||
# For the `import WebIDL` in runtests.py
|
||||
sys.path.insert(0, test_file_dir)
|
||||
|
||||
run_file = path.abspath(path.join(test_file_dir, "runtests.py"))
|
||||
run_globals = {"__file__": run_file}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue