From b0c50d82199d7503d23ecd452154ddd7825b7da9 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Tue, 18 Oct 2016 20:46:59 +0530 Subject: Fix style unit tests --- python/servo/testing_commands.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'python/servo/testing_commands.py') 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: -- cgit v1.2.3