hanchenye-llvm-project/lldb/test/types
Johnny Chen ac77f3b2ac Turns out that the test failure wrt:
rdar://problem/9173060 lldb hangs while running unique-types

disappears if running with clang version >= 3.  Modify the TestUniqueTypes.py
to detect if we are running with clang version < 3 and, if true, skip the test.

Update the lldbtest.system() function to return a tuple of (stdoutdata, stderrdata)
since we need the stderr data from "clang -v" command.  Modify existing clients of
lldbtest.system() to now use, for example:

         # First, capture the golden output emitted by the oracle, i.e., the
         # series of printf statements.
-        go = system("./a.out", sender=self)
+        go = system("./a.out", sender=self)[0]
         # This golden list contains a list of (variable, value) pairs extracted
         # from the golden output.
         gl = []

And add two utility functions to lldbutil.py.

llvm-svn: 128162
2011-03-23 20:28:59 +00:00
..
AbstractBase.py Turns out that the test failure wrt: 2011-03-23 20:28:59 +00:00
Makefile Mark these test methods to be eligible for running only under the 'darwin' platform. 2010-10-21 21:58:02 +00:00
TestFloatTypes.py Mark these test methods to be eligible for running only under the 'darwin' platform. 2010-10-21 21:58:02 +00:00
TestFloatTypesExpr.py Remove @skip decorators for fixed crashes. 2010-11-30 22:34:19 +00:00
TestIntegerTypes.py Remove 8 @expectedFailure decorators, the following bug has been fixed: 2010-11-02 16:04:18 +00:00
TestIntegerTypesExpr.py Remove @skip decorators for fixed crashes. 2010-11-30 22:34:19 +00:00
basic_type.cpp
char.cpp
double.cpp Added "float" and "double" to types/TestBasicTypes.py. Abstracted the generic 2010-09-27 23:29:54 +00:00
float.cpp Added "float" and "double" to types/TestBasicTypes.py. Abstracted the generic 2010-09-27 23:29:54 +00:00
int.cpp
long.cpp
long_long.cpp
short.cpp
unsigned_char.cpp
unsigned_int.cpp
unsigned_long.cpp
unsigned_long_long.cpp
unsigned_short.cpp