summaryrefslogtreecommitdiffstats
path: root/lldb/test/api
Commit message (Collapse)AuthorAgeFilesLines
...
* Re-enable TestMultithreaded.py test on Linux.Todd Fiala2014-02-281-1/+0
| | | | | | | | I could not get http://llvm.org/bugs/show_bug.cgi?id=16016) to fail on my end running 10 times in a row. Re-enabling the test. llvm-svn: 202446
* Remove decorators for now-fixed pr18191Ed Maste2014-01-181-4/+0
| | | | llvm-svn: 199557
* Correctly set the working directory when launching processes for both local ↵Greg Clayton2013-12-132-2/+2
| | | | | | and remote targets. llvm-svn: 197266
* Massive test suite cleanup to stop everyone from manually having to compute ↵Greg Clayton2013-12-102-2/+2
| | | | | | | | | | "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
* test: Update decorators for FreeBSD failures with threaded inferior supportEd Maste2013-12-091-4/+4
| | | | | | | llvm.org/pr18190 llvm.org/pr18191 llvm-svn: 196792
* <rdar://problem/15368142>Enrico Granata2013-11-012-2/+1
| | | | | | 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
* Skip this test case pending figuring out why it failsEnrico Granata2013-11-011-0/+1
| | | | llvm-svn: 193844
* test: Update FreeBSD failure decoratorsEd Maste2013-09-131-0/+4
| | | | | | | | | | | | | | | llvm.org/pr15261 missing size for static arrays llvm.org/pr15278 expressions generating signals llvm.org/pr15824 thread states aren't properly maintained llvm.org/pr16696 threaded inferior debugging not yet on FreeBSD llvm.org/pr17214 inline stepping fails on FreeBSD llvm.org/pr17225 Clang assertion failure llvm.org/pr17226 frame info lost after failed expression evaluation llvm.org/pr17228 test timeout The first three are existing Linux issues that also affect FreeBSD. llvm-svn: 190698
* Use getwd(0) on FreeBSD as on OS X.Ed Maste2013-09-051-1/+1
| | | | llvm-svn: 190070
* merge lldb-platform-work branch (and assorted fixes) into trunkDaniel Malea2013-08-262-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This merge brings in the improved 'platform' command that knows how to interface with remote machines; that is, query OS/kernel information, push and pull files, run shell commands, etc... and implementation for the new communication packets that back that interface, at least on Darwin based operating systems via the POSIXPlatform class. Linux support is coming soon. Verified the test suite runs cleanly on Linux (x86_64), build OK on Mac OS X Mountain Lion. Additional improvements (not in the source SVN branch 'lldb-platform-work'): - cmake build scripts for lldb-platform - cleanup test suite - documentation stub for qPlatform_RunCommand - use log class instead of printf() directly - reverted work-in-progress-looking changes from test/types/TestAbstract.py that work towards running the test suite remotely. - add new logging category 'platform' Reviewers: Matt Kopec, Greg Clayton Review: http://llvm-reviews.chandlerc.com/D1493 llvm-svn: 189295
* tests: Build test code on FreeBSD the same way as on LinuxEd Maste2013-07-251-1/+1
| | | | llvm-svn: 187155
* Disable test case that causes assertion failure on LinuxDaniel Malea2013-05-151-1/+2
| | | | | | | - filed llvm.org/pr16016 - fixed URL for llvm.org/pr16000 llvm-svn: 181902
* Didn't mean to check in this change...Jim Ingham2013-05-151-1/+1
| | | | llvm-svn: 181858
* Need to add the LLDB.framework directory to the rpath for the driver ↵Jim Ingham2013-05-151-1/+1
| | | | | | programs or they won't run. llvm-svn: 181857
* Fix GCC buildbot failures in API/Multithreaded testsDaniel Malea2013-05-142-1/+2
| | | | | | | - fix typo initializing unique_ptr - add missing throw specifier to play nice with older libstdc++ exception class llvm-svn: 181831
* Skip C++ API/Multithreaded tests that are unsupported with Clang/libstdc++Daniel Malea2013-05-141-0/+4
| | | | | | | - older versions of clang are unable to include <chrono> from libstdc++ - skipping tests until buildbots are updated llvm-svn: 181829
* Adding C++ tests that drive LLDB from multiple threadsDaniel Malea2013-05-1411-0/+520
| | | | | | | | | - test_breakpoint_callback -- filed llvm.org/pr-16000 - test_listener_resume -- resume a process from a thread waiting on SBListener - test_listener_event_description -- SBEvent description from SBListener thread - test_listener_event_process -- query process/thread/stack info from SBListener thread llvm-svn: 181819
* Fix check_public_api_headers test on mac os x, and refactor some logic into ↵Daniel Malea2013-05-022-28/+4
| | | | | | | | | lldbtest.py - moved build logic from Makefile and TestPublicAPIHeaders.py into lldbtest to allow reuse - added decorator @skipIfi386 llvm-svn: 180955
* Fix CheckPublicAPIHeaders test caseDaniel Malea2013-04-231-0/+5
| | | | | | | - LLDB C++ API requires C++11 - provide required -std=c++11 flag if none is specified llvm-svn: 180126
* Fix TestPublicAPIHeaders test on machines that have [DY]LD_LIBRARY_PATH that ↵Daniel Malea2013-02-211-8/+4
| | | | | | must be preserved. llvm-svn: 175822
* Fix TestPublicAPIHeaders test on Linux.Matt Kopec2013-02-202-5/+5
| | | | | | | | -Change the build_dir variable name to lib_dir -Set lib_dir to the correct location on Linux -Set LD_EXTRAS to the actual lldb library llvm-svn: 175664
* Skip 32-bit testing of check_public_api_headers (on all platforms, not just ↵Daniel Malea2013-01-241-2/+2
| | | | | | | | Mac OS X) - since the test program needs to link with LLDB, the test is invalid in 32-bit mode. llvm-svn: 173372
* Fix all the test case breakages caused by folks writing tests all over the ↵Jim Ingham2012-09-221-4/+2
| | | | | | | | place that depended explicitly on the output of "break set". Please don't do this sort of thing!!!!! llvm-svn: 164433
* Make the test suite work again on Mac OS X without the LLDB_BUILD_TYPE env varFilipe Cabecinhas2012-05-301-2/+2
| | | | llvm-svn: 157678
* Patches for running some of the Linux tests from Dawn, thanks!Johnny Chen2011-12-222-2/+16
| | | | | | With some minor modification from me. llvm-svn: 147160
* Move disassemble-raw-data dir to reside under test/python_api where they belong.Johnny Chen2011-12-151-40/+0
| | | | | | Add debug statements for the raw bytes and the disassembled instruction. llvm-svn: 146676
* I have added a function to SBTarget that allowsSean Callanan2011-12-141-0/+40
| | | | | | | | | | | | | | | clients to disassemble a series of raw bytes as demonstrated by a new testcase. In the future, this API will also allow clients to provide a callback that adds comments for addresses in the disassembly. I also modified the SWIG harness to ensure that Python ByteArrays work as well as strings as sources of raw data. llvm-svn: 146611
* Moved many of the "settings" that used to be in "target.process.*" to justGreg Clayton2011-11-081-2/+2
| | | | | | | | be in the target. All of the environment, args, stdin/out/err files, etc have all been moved. Also re-enabled the ability to launch a process in a separate terminal on MacOSX. llvm-svn: 144061
* Fix the compilation warning while running the test case.Johnny Chen2011-10-211-1/+1
| | | | llvm-svn: 142663
* Remove an extra 'for' in the comment.Johnny Chen2011-08-041-1/+1
| | | | llvm-svn: 136918
* Add a test to check the integrity of the lldb public api directory ↵Johnny Chen2011-08-043-0/+128
containing SB*.h headers. There should be nothing unwanted there and a simpe main.cpp (generated from main.cpp.template) which includes SB*.h should compile and link with the LLDB framework. llvm-svn: 136894
OpenPOWER on IntegriCloud