Skip to content
Snippets Groups Projects
Commit aa430c01 authored by Jonas Devlieghere's avatar Jonas Devlieghere
Browse files

[test] Exit lldb-dotest in a more Pythonic way.

As suggested by Keith Smiley in:
https://github.com/apple/swift-lldb/pull/486

llvm-svn: 328966
parent 9e3e7a99
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,5 @@ if __name__ == '__main__':
cmd = [dotest_path, '-q']
cmd.extend(dotest_args)
cmd.extend(wrapper_args)
# Invoke dotest.py
exit_code = subprocess.call(cmd)
if exit_code != 0:
sys.exit(exit_code)
# Invoke dotest.py and return exit code.
sys.exit(subprocess.call(cmd))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment