diff options
author | Ms2ger <ms2ger@gmail.com> | 2014-12-23 10:08:54 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2014-12-23 11:22:10 +0100 |
commit | a2521c7e01508b50159d9e216d769df405575e40 (patch) | |
tree | ed52126a3fc41f37c967eeaebc7a745239ed820b | |
parent | 14df96d7729a3b69b6777a2143ea1d75b390ae05 (diff) | |
download | servo-a2521c7e01508b50159d9e216d769df405575e40.tar.gz servo-a2521c7e01508b50159d9e216d769df405575e40.zip |
Add a test that wptrunner fails when it should.
-rw-r--r-- | python/servo/testing_commands.py | 11 | ||||
-rw-r--r-- | tests/wpt/metadata/MANIFEST.json | 5 | ||||
m--------- | tests/wpt/web-platform-tests | 0 |
3 files changed, 15 insertions, 1 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index 0024a425cd5..ab1337a9f4f 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -200,6 +200,17 @@ class MachCommands(CommandBase): def test_tidy(self): return tidy.scan() + @Command('test-wpt-failure', + description='Run the web platform tests', + category='testing') + def test_wpt_failure(self): + return not subprocess.call([ + "bash", + path.join("tests", "wpt", "run.sh"), + "--include", + "infrastructure/failing-test.html" + ], env=self.build_env()) + @Command('test-wpt', description='Run the web platform tests', category='testing') diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index d8126c17d96..ba67cabe47f 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -14246,6 +14246,9 @@ "url": "/http/content_length.html" }, { + "url": "/infrastructure/failing-test.html" + }, + { "url": "/js/builtins/Array.DefineOwnProperty.html" }, { @@ -17763,6 +17766,6 @@ "deleted": [], "items": {} }, - "rev": "badfd02aa085e25bd79f18902afbafcc8bc884b5", + "rev": "5bff693a497f200800d6d0dd6e3cc3556cc00bbe", "url_base": "/" }
\ No newline at end of file diff --git a/tests/wpt/web-platform-tests b/tests/wpt/web-platform-tests -Subproject badfd02aa085e25bd79f18902afbafcc8bc884b +Subproject 5bff693a497f200800d6d0dd6e3cc3556cc00bb |