Fixed nits

This commit is contained in:
Shing Lyu 2016-01-30 09:33:39 +08:00
parent 18b6817755
commit 83a492a533

View file

@ -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}