[Lldb-commits] [PATCH] D66975: [lit] Print exit code in for unresolved (lldb)tests.

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 29 15:05:00 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL370413: [lit] Print exit code in for unresolved (lldb)tests. (authored by JDevlieghere, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D66975?vs=217974&id=217983#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66975/new/

https://reviews.llvm.org/D66975

Files:
  lldb/trunk/lit/Suite/lldbtest.py


Index: lldb/trunk/lit/Suite/lldbtest.py
===================================================================
--- lldb/trunk/lit/Suite/lldbtest.py
+++ lldb/trunk/lit/Suite/lldbtest.py
@@ -104,8 +104,8 @@
 
         passing_test_line = 'RESULT: PASSED'
         if passing_test_line not in out and passing_test_line not in err:
-            msg = ('Unable to find %r in dotest output:\n\n%s%s' %
-                   (passing_test_line, out, err))
+            msg = ('Unable to find %r in dotest output (exit code %d):\n\n%s%s'
+                   % (passing_test_line, exitCode, out, err))
             return lit.Test.UNRESOLVED, msg
 
         return lit.Test.PASS, ''


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66975.217983.patch
Type: text/x-patch
Size: 669 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190829/0480c574/attachment.bin>


More information about the lldb-commits mailing list