- Dec 11, 2013
-
-
Greg Clayton authored
Massive test suite cleanup to stop everyone from manually having to compute "mydir" inside each test case. This has led to many test suite failures because of copy and paste where new test cases were based off of other test cases and the "mydir" variable wasn't updated. Now you can call your superclasses "compute_mydir()" function with "__file__" as the sole argument and the relative path will be computed for you. llvm-svn: 196985
-
- Dec 10, 2013
- Dec 09, 2013
- Dec 05, 2013
-
-
Greg Clayton authored
@skipIfRemote is used to decorate test cases that don't make sense to run remotely. @skipIfRemoteDueToDeadlock indicates these tests need to be looked at and currently deadlock the running of the test suite when run on remote systems. These issues should be fixed soon. llvm-svn: 196543
-
- Dec 03, 2013
-
-
Greg Clayton authored
llvm-svn: 196313
-
Greg Clayton authored
llvm-svn: 196308
-
- Dec 02, 2013
-
-
Greg Clayton authored
lldb_private::Debugger was #including some "lldb/API" header files which causes tools (lldb-platform and lldb-gdbserver) that link against the internals only (no API layer) to fail to link depending on which calls were being used. Also fixed the current working directory so that it gets set correctly for remote test suite runs. Now the remote working directory is set to: "ARCH/TESTNUM/..." where ARCH is the current architecture name and "TESTNUM" is the current test number. Fixed the "lldb-platform" and "lldb-gdbserver" to not warn about mismatched visibility settings by having each have their own exports file which contains nothing. This forces all symbols to not be exported, and also quiets the linker warnings. llvm-svn: 196141
-
Ed Maste authored
A number of tests fail to build on FreeBSD because the test build script defaults to libstdc++ for clang. On FreeBSD the libstdc++ is rather old and libc++ should be used instead. (These tests previously had an @expectedFailureFreeBSD decorator for pr16696, the umbrella PR for the lack of threaded inferior support on FreeBSD. The work to add that support will be committed soon.) llvm-svn: 196101
-
- Nov 26, 2013
-
-
Ed Maste authored
The test code locks mutexes from one thread and unlocks them from a different one, which is not valid (it's either undefined behaviour or is required to return an error). See http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_mutex_lock.html llvm-svn: 195707
-
- Nov 25, 2013
- Nov 23, 2013
-
-
Greg Clayton authored
Improved the detection of a valid GDB server where we actually can connect to a socket, but then it doesn't read or write anything (which happens with some USB mux software). Host::MakeDirectory() now can make as many intermediate directories as needed. The testsuite now has very initial support for remote test suite running. When running on a remote platform, the setUp function for the test will make a new directory and select it as the working directory on the remote host. Added a common function that can be used to create the short option string for getopt_long calls. llvm-svn: 195541
-
- Nov 22, 2013
- Nov 21, 2013
-
-
Ed Maste authored
llvm.org/pr17807 llvm-svn: 195361
-
- Nov 15, 2013
-
-
Ed Maste authored
The failure to demangle 'anonymous namespace' on FreeBSD is fixed (twice) - the failure in FreeBSD's in-tree __cxa_demangle has been addressed - FreeBSD now uses the copy of the demangler built into lldb, due to other remaining limitations in the in-tree __cxa_demangle llvm.org/pr15302 llvm-svn: 194855
-
Ed Maste authored
This was a FreeBSD kernel issue, now fixed. llvm-svn: 194842
-
- Nov 14, 2013
-
-
Ed Maste authored
This failure was due to a limitation in the FreeBSD kernel that has now been addressed. (llvm.org/pr17226 has the details.) llvm-svn: 194731
-
Ed Maste authored
After solving the issue in llvm.org/pr17226 these two tests still fail, now for other reasons. llvm-svn: 194729
-
Ed Maste authored
After solving llvm.org/pr17226 these two tests now fail for the same reason they do on Linux. llvm-svn: 194726
-
- Nov 07, 2013
-
-
Jim Ingham authored
It completes the job of using EvaluateExpressionOptions consistently throughout the inferior function calling mechanism in lldb begun in Greg's patch r194009. It removes a handful of alternate calls into the ClangUserExpression/ClangFunction/ThreadPlanCallFunction which were there for convenience. Using the EvaluateExpressionOptions removes the need for them. Using that it gets the --debug option from Greg's patch to work cleanly. It also adds another EvaluateExpressionOption to not trap exceptions when running expressions. You shouldn't use this option unless you KNOW your expression can't throw beyond itself. This is: <rdar://problem/15374885> At present this is only available through the SB API's or python. It fixes a bug where function calls would unset the ObjC & C++ exception breakpoints without checking whether they were set by somebody else already. llvm-svn: 194182
-
- Nov 06, 2013
-
-
rdar://problem/15367122Greg Clayton authored
Fixed the test case for "test/functionalities/exec/TestExec.py" on Darwin. The issue was breakpoints were persisting and causing problems. When we exec, we need to clear out the process and target and start fresh with nothing and let the breakpoints populate themselves again. This patch correctly clears out the breakpoints and also flushes the process so that the objects (process/thread/frame) give out valid information. llvm-svn: 194106
-
- Nov 01, 2013
-
-
rdar://problem/15368142Enrico Granata authored
For this test case, one needs to get the name of the symbol since we don't have debug info to generate an SBFunction llvm-svn: 193879
-
Enrico Granata authored
Use 0x00... as the magic constant to write in st0. That should be reliably 0 regardless of OS/hardware llvm-svn: 193877
-
Enrico Granata authored
llvm-svn: 193844
-
Enrico Granata authored
llvm-svn: 193843
-
Enrico Granata authored
llvm-svn: 193831
-
Enrico Granata authored
Given that, this test will never pass Marking as expected failure pending a fix llvm-svn: 193830
-
Enrico Granata authored
llvm-svn: 193829
-
Enrico Granata authored
Mark it as expected to fail pending a fix llvm-svn: 193828
-
Enrico Granata authored
llvm-svn: 193827
-
Enrico Granata authored
llvm-svn: 193826
-
Enrico Granata authored
llvm-svn: 193825
-
Enrico Granata authored
llvm-svn: 193824
-
- Oct 31, 2013
-
-
Enrico Granata authored
llvm-svn: 193822
-