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 /python/servo/testing_commands.py | |
parent | 14df96d7729a3b69b6777a2143ea1d75b390ae05 (diff) | |
download | servo-a2521c7e01508b50159d9e216d769df405575e40.tar.gz servo-a2521c7e01508b50159d9e216d769df405575e40.zip |
Add a test that wptrunner fails when it should.
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r-- | python/servo/testing_commands.py | 11 |
1 files changed, 11 insertions, 0 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') |