[Lldb-commits] [lldb] r328894 - [lldb-dotest] Don't swallow error exit codes.

Davide Italiano via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 30 12:24:08 PDT 2018


Author: davide
Date: Fri Mar 30 12:24:08 2018
New Revision: 328894

URL: http://llvm.org/viewvc/llvm-project?rev=328894&view=rev
Log:
[lldb-dotest] Don't swallow error exit codes.

Modified:
    lldb/trunk/test/lldb-dotest.in

Modified: lldb/trunk/test/lldb-dotest.in
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldb-dotest.in?rev=328894&r1=328893&r2=328894&view=diff
==============================================================================
--- lldb/trunk/test/lldb-dotest.in (original)
+++ lldb/trunk/test/lldb-dotest.in Fri Mar 30 12:24:08 2018
@@ -13,4 +13,6 @@ if __name__ == '__main__':
     cmd.extend(dotest_args)
     cmd.extend(wrapper_args)
     # Invoke dotest.py
-    subprocess.call(cmd)
+    exit_code = subprocess.call(cmd)
+    if exit_code != 0:
+      sys.exit(exit_code)




More information about the lldb-commits mailing list