Removed the expectedFailure decorator from test_with_dwarf_and_run_command() test case
as it now passes. Added some extra tests to breakpoint_creation_by_filespec_python().
More clarification for the "os command" output and error as defined in
lldbtest.system() function.
Cleaned up the option processing of the test driver (dotest.py) and fixed the comment
about enabling gdb-remote logging. Example:
$ GDB_REMOTE_LOG=/tmp/log.txt ./dotest.py -v -t enum_types
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@113868 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/lldbtest.py b/test/lldbtest.py
index ddbedfc..9322f4b 100644
--- a/test/lldbtest.py
+++ b/test/lldbtest.py
@@ -228,7 +228,7 @@
if 'stdout' in kwargs:
raise ValueError('stdout argument not allowed, it will be overridden.')
process = Popen(stdout=PIPE, *popenargs, **kwargs)
- output, unused_err = process.communicate()
+ output, error = process.communicate()
retcode = process.poll()
if traceAlways:
@@ -239,8 +239,9 @@
print >> sys.stderr
print >> sys.stderr, "os command:", args
print >> sys.stderr, "output:", output
- print >> sys.stderr, "error:", unused_err
- print >> sys.stderr, "retcode:", retcode
+ print >> sys.stderr, "error (from os comand):", error
+ print >> sys.stderr, "retcode (from os command):", retcode
+ print >> sys.stderr
if retcode:
cmd = kwargs.get("args")