aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-10-18 20:46:59 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-10-18 20:46:59 +0530
commitb0c50d82199d7503d23ecd452154ddd7825b7da9 (patch)
tree0e1c44e8e840bcd59b7a3ce45a6eaedfd1c28df7 /python/servo
parent6ca2c7ba77a64f42940a59080feb1af84b56934b (diff)
downloadservo-b0c50d82199d7503d23ecd452154ddd7825b7da9.tar.gz
servo-b0c50d82199d7503d23ecd452154ddd7825b7da9.zip
Fix style unit tests
Diffstat (limited to 'python/servo')
-rw-r--r--python/servo/testing_commands.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index d1158304bff..88a6d7b24ca 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -237,7 +237,9 @@ class MachCommands(CommandBase):
if features:
args += ["--features", "%s" % ' '.join(features)]
- return call(args, env=env, cwd=self.servo_crate())
+ err = call(args, env=env, cwd=self.servo_crate())
+ if err is not 0:
+ return err
# Run style tests with the testing feature
if has_style: