aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <ecoal95@gmail.com>2016-08-03 00:36:45 -0700
committerEmilio Cobos Álvarez <ecoal95@gmail.com>2016-08-03 15:18:32 -0700
commit27b2bad256e7a08cf647ecae37cfd80bf2310f54 (patch)
treec9da4a807f185df0f166838b826c337bca901d68 /python/servo/testing_commands.py
parent6d67525172811f203220f02defa7b4635e6414c8 (diff)
downloadservo-27b2bad256e7a08cf647ecae37cfd80bf2310f54.tar.gz
servo-27b2bad256e7a08cf647ecae37cfd80bf2310f54.zip
stylo: Fix and ensure alignment of restyle hints. Test it on Travis.
Turns out eRestyle_LaterSiblings was not really matching, sigh...
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index 4776a9209d1..5eaad0ba7b9 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -158,6 +158,17 @@ class MachCommands(CommandBase):
return suite
return None
+ @Command('test-geckolib',
+ description='Test geckolib sanity checks',
+ category='testing')
+ def test_geckolib(self):
+ self.ensure_bootstrapped()
+
+ env = self.build_env()
+ env["RUST_BACKTRACE"] = "1"
+
+ return call(["cargo", "test"], env=env, cwd=path.join("ports", "geckolib"))
+
@Command('test-unit',
description='Run unit tests',
category='testing')