Skip to content

Instantly share code, notes, and snippets.

@peterjoel
Created March 22, 2016 12:20
Show Gist options
  • Save peterjoel/e7b9c909aff3b10af33f to your computer and use it in GitHub Desktop.
Save peterjoel/e7b9c909aff3b10af33f to your computer and use it in GitHub Desktop.
peter$ ./mach test-css /DOMMatrix-003.htm
Error running mach:
['test-css', '/DOMMatrix-003.htm']
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You should consider filing a bug for this issue.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
AssertionError
File "/Users/peter/dev/rust/servo/python/servo/testing_commands.py", line 413, in test_css
return self.wptrunner(run_file, **kwargs)
File "/Users/peter/dev/rust/servo/python/servo/testing_commands.py", line 358, in wptrunner
return run_globals["run_tests"](**kwargs)
File "/Users/peter/dev/rust/servo/tests/wpt/run_css.py", line 13, in run_tests
return run.run_tests(paths=paths, **kwargs)
File "/Users/peter/dev/rust/servo/tests/wpt/run.py", line 36, in run_tests
success = wptrunner.run_tests(**kwargs)
File "/Users/peter/dev/rust/servo/tests/wpt/harness/wptrunner/wptrunner.py", line 133, in run_tests
**kwargs)
File "/Users/peter/dev/rust/servo/tests/wpt/harness/wptrunner/wptrunner.py", line 50, in get_loader
test_manifests = testloader.ManifestLoader(test_paths, force_manifest_update=kwargs["manifest_update"]).load()
File "/Users/peter/dev/rust/servo/tests/wpt/harness/wptrunner/testloader.py", line 369, in load
**paths)
File "/Users/peter/dev/rust/servo/tests/wpt/harness/wptrunner/testloader.py", line 408, in load_manifest
manifest_file = manifest.load(tests_path, manifest_path)
File "/Users/peter/dev/rust/servo/tests/wpt/css-tests/tools/manifest/manifest.py", line 370, in load
rv = Manifest.from_json(tests_root, json.load(f))
File "/Users/peter/dev/rust/servo/tests/wpt/css-tests/tools/manifest/manifest.py", line 246, in from_json
source_files=source_files)
File "/Users/peter/dev/rust/servo/tests/wpt/css-tests/tools/manifest/item.py", line 121, in from_json
to_os_path(obj["path"]))
File "/Users/peter/dev/rust/servo/tests/wpt/css-tests/tools/manifest/item.py", line 20, in get_source_file
source_files[path] = make_new()
File "/Users/peter/dev/rust/servo/tests/wpt/css-tests/tools/manifest/item.py", line 14, in make_new
return SourceFile(tests_root, path, manifest.url_base)
File "/Users/peter/dev/rust/servo/tests/wpt/css-tests/tools/manifest/sourcefile.py", line 37, in __init__
self.url = rel_path_to_url(rel_path, url_base)
File "/Users/peter/dev/rust/servo/tests/wpt/css-tests/tools/manifest/utils.py", line 8, in rel_path_to_url
assert not os.path.isabs(rel_path)
.....
{
"path": "~/dev/rust/csswg-test/geometry-1/DOMMatrix-001.htm",
"url": "/DOMMatrix-003.htm"
},
....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment