Fix style unit tests

This commit is contained in:
Manish Goregaokar 2016-10-18 20:46:59 +05:30
parent 6ca2c7ba77
commit b0c50d8219
2 changed files with 5 additions and 2 deletions

View file

@ -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: