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, ''
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, ''
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits