Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mach test-webidl command #9459

Merged
merged 2 commits into from Jan 30, 2016
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Prev

Fixed nits

  • Loading branch information
shinglyu committed Jan 30, 2016
commit 83a492a533aecdb122052a9cacd735779ab9dfdd
@@ -242,8 +242,10 @@ def test_tidy(self, faster):
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}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.