Commit b68d9a2d by Gabriel Falcão

exiting with proper status code

parent ff22d323
......@@ -45,7 +45,9 @@ def main(args=sys.argv[1:]):
runner = lettuce.Runner(base_path, options.verbosity)
runner.run()
result = runner.run()
if result.steps != result.steps_passed:
raise SystemExit(1)
if __name__ == '__main__':
main()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment