[Lldb-commits] [lldb] r214922 - Force trace on system() failure on FreeBSD while tracking down buildbot issues
Ed Maste
emaste at freebsd.org
Tue Aug 5 13:33:17 PDT 2014
Author: emaste
Date: Tue Aug 5 15:33:17 2014
New Revision: 214922
URL: http://llvm.org/viewvc/llvm-project?rev=214922&view=rev
Log:
Force trace on system() failure on FreeBSD while tracking down buildbot issues
Modified:
lldb/trunk/test/lldbtest.py
Modified: lldb/trunk/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lldbtest.py?rev=214922&r1=214921&r2=214922&view=diff
==============================================================================
--- lldb/trunk/test/lldbtest.py (original)
+++ lldb/trunk/test/lldbtest.py Tue Aug 5 15:33:17 2014
@@ -273,7 +273,12 @@ def system(commands, **kwargs):
output, error = process.communicate()
retcode = process.poll()
- with recording(test, traceAlways) as sbuf:
+ # Enable trace on failure return while tracking down FreeBSD buildbot issues
+ trace = traceAlways
+ if not trace and retcode and sys.platform.startswith("freebsd"):
+ trace = True
+
+ with recording(test, trace) as sbuf:
print >> sbuf
print >> sbuf, "os command:", shellCommand
print >> sbuf, "with pid:", pid
More information about the lldb-commits
mailing list