projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e3e7a9
)
[test] Exit lldb-dotest in a more Pythonic way.
author
Jonas Devlieghere
<jonas@devlieghere.com>
Mon, 2 Apr 2018 10:44:36 +0000
(10:44 +0000)
committer
Jonas Devlieghere
<jonas@devlieghere.com>
Mon, 2 Apr 2018 10:44:36 +0000
(10:44 +0000)
As suggested by Keith Smiley in:
https://github.com/apple/swift-lldb/pull/486
llvm-svn: 328966
lldb/test/lldb-dotest.in
patch
|
blob
|
history
diff --git
a/lldb/test/lldb-dotest.in
b/lldb/test/lldb-dotest.in
index
69da3cf
..
c6cd8cb
100755
(executable)
--- a/
lldb/test/lldb-dotest.in
+++ b/
lldb/test/lldb-dotest.in
@@
-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))