summaryrefslogtreecommitdiffstats
path: root/lldb/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Bug 24457 - X87 FPU Special Purpose RegistersAbhishek Aggarwal2015-09-074-1/+115
| | | | | | | | | | | | | | | | | | | | Summary: - For 'register read --all' command on x86_64-Linux Platform: -- Provide correct values of X87 FPU Special Purpose Registers -- Both 32-bit & 64-bit inferiors give correct values on this Platform - Added a Test Vector: -- To verify the expected behaviour of the command Signed-off-by: Abhishek Aggarwal <abhishek.a.aggarwal@intel.com> Reviewers: ashok.thirumurthi, granata.enrico, tfiala, clayborg Differential Revision: http://reviews.llvm.org/D12592 llvm-svn: 246955
* [TestMiBreak] Replace expectedFlakeyLinux with an appropriate expectedFailureAllSiva Chandra2015-09-041-1/+1
| | | | | | | | | | Reviewers: chaoren Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12653 llvm-svn: 246894
* Add a --language (-l) option to type category {enable|disable} to allow ↵Enrico Granata2015-09-041-8/+3
| | | | | | people to turn on and off formatters for a given language llvm-svn: 246884
* Move the C++ data formatters to the C++ language pluginEnrico Granata2015-09-042-5/+7
| | | | llvm-svn: 246873
* Sleep-and-retry after a failure to delete a log file, which may be because ↵Adrian McCarthy2015-09-041-1/+11
| | | | | | | | antimalware is holding the handle to the just-created file. Differential Revision: http://reviews.llvm.org/D12641 llvm-svn: 246870
* Add a repro case for bug llvm.org/pr24702Pavel Labath2015-09-043-0/+99
| | | | llvm-svn: 246845
* Set the default language to use when evaluating to that of the frame's CU.Dawn Perchik2015-09-046-53/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | * Use the frame's context (instead of just the target's) when evaluating, so that the language of the frame's CU can be used to select the compiler and/or compiler options to use when parsing the expression. This allows for modules built with mixed languages to be parsed in the context of their frame. * Add all C and C++ language variants when determining the language options to set. * Enable C++ language options when language is C or ObjC as a workaround since the expression parser uses features of C++ to capture values. * Enable ObjC language options when language is C++ as a workaround for ObjC requirements. * Disable C++11 language options when language is C++03. * Add test TestMixedLanguages.py to check that the language being used for evaluation is that of the frame. * Fix test TestExprOptions.py to check for C++11 instead of C++ since C++ has to be enabled for C, and remove redundant expr --language test for ObjC. * Fix TestPersistentPtrUpdate.py to not require C++11 in C. Reviewed by: clayborg, spyffe, jingham Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11102 llvm-svn: 246829
* Lookup function using full name if one with mangled name is not found.Siva Chandra2015-09-032-2/+0
| | | | | | | | | | | | | | Summary: Remove expected failure decorators from tests which now should start passing. Reviewers: clayborg, spyffe Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12613 llvm-svn: 246820
* Protect dotest.py with an if __name__ == "__main__"Zachary Turner2015-09-031-544/+545
| | | | llvm-svn: 246816
* Roll dosep.py parallel test runner into dotest.py command lineTodd Fiala2015-09-035-53/+110
| | | | | | | See the following for details: http://reviews.llvm.org/D12587 llvm-svn: 246794
* Fix TestCompletion.py failure on Darwin after r246639Ying Chen2015-09-031-0/+2
| | | | | | | | | | | | Summary: - send empty line for multiple commands to complete Reviewers: tberghammer Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12584 llvm-svn: 246791
* i386 and i686 are equivalent, update the test accordingly.Zachary Turner2015-09-031-1/+1
| | | | llvm-svn: 246783
* Mark TestAttachResume as flaky on linuxPavel Labath2015-09-031-0/+1
| | | | | | | There is a more race condition regarding process detach, which this test exposes, marking as flaky until it is fixed. llvm-svn: 246777
* XFAIL TestFormatters on android (llvm.org/pr24691)Pavel Labath2015-09-031-0/+2
| | | | | | the test is hitting an assertion in clang. llvm-svn: 246766
* Enable TestFdLeak on linuxPavel Labath2015-09-031-1/+0
| | | | | | it has been consistently passing at least the last 100 builds on the bot. llvm-svn: 246761
* Fix deadlock while attaching to inferiorsPavel Labath2015-09-031-1/+0
| | | | | | | | | | | | | | | | | | | | Summary: There was a race condition in the AsyncThread, where we would end up sending a vAttach notification to the thread before it got a chance set up its listener (this can be reproduced by adding a sleep() at the very beginning of ProcessGDBRemote::AsyncThread()). This event would then get lost and we LLDB would deadlock. I fix this by setting up the listener early on, in the ProcessGDBRemote constructor. This should improve the stability of all attach tests. For now, I am removing XTIMEOUT from TestAttachResume, and will watch the buildbots for signs of trouble. Reviewers: clayborg, ovyalov Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12552 llvm-svn: 246756
* Skip the rest of the Objective C tests on Windows.Zachary Turner2015-09-023-0/+3
| | | | llvm-svn: 246726
* XFAIL more watchpoint tests on Windows.Zachary Turner2015-09-023-0/+3
| | | | | | llvm.org/pr24446 llvm-svn: 246725
* XFAIL more bugs that depend on dynamic value resolution.Zachary Turner2015-09-022-1/+2
| | | | | | llvm.org/pr24663 llvm-svn: 246724
* XFAIL tests that rely on exact thread counts.Zachary Turner2015-09-023-0/+6
| | | | | | | | | On Windows we have to deal with OS created threads, so we can never know the exact number of threads. llvm.org/pr24681 llvm-svn: 246723
* Change Windows XFAIL comment for TestCompletion.pyZachary Turner2015-09-021-33/+32
| | | | | | | | | | Instead of fixing these tests by finding a pexpect replacement, this set of tests can be fixed by re-writing the test to not use pexpect. llvm.org/pr24679 llvm-svn: 246671
* XFAIL tests on Windows that are failing to resolve breakpoints.Zachary Turner2015-09-024-0/+8
| | | | | | llvm.org/pr24668 llvm-svn: 246670
* [Windows] XFAIL test that depend on dynamic value types.Zachary Turner2015-09-022-1/+4
| | | | llvm-svn: 246669
* XFAIL test_thread_state_after_continue on Windows.Zachary Turner2015-09-021-1/+3
| | | | | | https://llvm.org/pr24660 llvm-svn: 246668
* Enable a couple of tests in TestExitDuringStep on linuxPavel Labath2015-09-021-2/+0
| | | | | | tests have been reliably passing at least the last 100 runs of the build bot. llvm-svn: 246647
* XFAIL new tests in TestCompletion on windows due to missing pexpectPavel Labath2015-09-021-0/+2
| | | | llvm-svn: 246644
* Fix tab completion for command arguments containing spacesTamas Berghammer2015-09-023-0/+36
| | | | | | | | | | | If a command argument contains a space then it have to be escaped with backslash signs so the argument parsing logic can parse it properly. This CL fixes the tab completion code for the arguments to create complitions with correctly escaped strings. Differential revision: http://reviews.llvm.org/D12531 llvm-svn: 246639
* Address flakyness in TestAttachResumePavel Labath2015-09-023-45/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: The test (among other things) attempts to verify that detaching works while the inferior is running. However, this was racy since the inferior could end up stopping again before we got a chance to detach from it (the test could be made to fail reliably by inserting a sleep just after the last "continue" command). The reason for the stop was that we had a breakpoint set in a place that can be hit by multiple threads, and we stop because another thread hit a breakpoint. I fix this by moving the breakpoint to a place that is reachable from only one thread. I also make sure that the same thread cannot hit the breakpoint if we are exceptionaly slow by flipping a flag which makes the breakpoint unreachable (I cannot just disable or delete the breakpoint as the test makes it a point to try detaching while breakpoints are still set). Another source or racyness was that the test verified that the process resumes and stops after a "continue". However, if these two events happened too fast, the initial start event would be lost, and the test would end up confused. I have implemented this in a safer manner and made a utility function out of it, as I know of a couple of other tests which need the same functionality. Reviewers: zturner, clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12527 llvm-svn: 246623
* Un-XFAIL a couple tests that are now passing.Zachary Turner2015-09-011-2/+0
| | | | llvm-svn: 246570
* XFAIL TestHelloWorld on Windows.Zachary Turner2015-09-011-0/+2
| | | | | | https://llvm.org/pr24600 llvm-svn: 246569
* Remove expectedFailureFreeBSD for passing pexpect testsEd Maste2015-08-314-4/+0
| | | | | | | | | | These tests work when run locally. They had been occasionally failing on the FreeBSD buildbot due to pexpect issues. That buildbot is currently down, and I expect the replacement will not have this issue. llvm.org/pr22784 llvm-svn: 246490
* Don't throw an exception when module cleanup fails.Zachary Turner2015-08-264-6/+35
| | | | | | | Just because one test fails to clean up correctly, it should not prevent other tests from attempting to run. llvm-svn: 246063
* On Windows, use 'del' instead of 'rm' to delete the test executable.Zachary Turner2015-08-261-3/+7
| | | | | | | This is a nasty hack to work around the issue described in https://llvm.org/pr24589 llvm-svn: 246062
* XFAIL environment variable setting test on Windows.Zachary Turner2015-08-261-0/+1
| | | | | | Fixing this is tracked by https://llvm.org/pr24579 llvm-svn: 246061
* Disable Objective C test on non-Darwin platforms.Zachary Turner2015-08-261-2/+1
| | | | llvm-svn: 246060
* Skip test which is causing ERRORs in dotest.py after r237053Dawn Perchik2015-08-261-0/+1
| | | | | | | | | | | | This test runs fine on its own, but leaves python in a bad state to where all tests that run after it error out. See llvm.org/pr24575. This resolves the concerns raised in http://reviews.llvm.org/rL237053. Reviewed by: clayborg, ted Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12329 llvm-svn: 246043
* Rename all functionalities/data-formatter test case with radar bug numbers ↵Enrico Granata2015-08-2543-128/+11
| | | | | | in them to more meaningful names llvm-svn: 245993
* XFAIL TestQuoting on Windows.Zachary Turner2015-08-251-9/+8
| | | | | | | | A couple of edge cases are broken with regards to quote handling. Fixing this is tracked by http://llvm.org/pr24557 llvm-svn: 245984
* Fix a bunch of portability issues in test executables.Zachary Turner2015-08-2515-35/+46
| | | | llvm-svn: 245983
* Add the correct decorator to TestCreateDuringInstructionStepPavel Labath2015-08-241-5/+1
| | | | | | apparently, just placing the file under linux/ does not make the test linux specific. :) llvm-svn: 245848
* Fix TestCreateDuringInstructionStep on i386Pavel Labath2015-08-241-1/+1
| | | | llvm-svn: 245842
* Make TestCreateDuringInstructionStep linux-specificPavel Labath2015-08-244-60/+64
| | | | | | | | | | | | | | | | | | Summary: There were a number of issues about the way I have designed this test originally: - it relied on single-stepping through large parts of code, which was slow and unreliable - the threading libraries interfered with the exact thing we wanted to test For this reason, I have rewritted the test using low-level linux api, which allows the test to be much more focused. The functionality for other platforms will need to be tested separately. Reviewers: tberghammer Subscribers: tberghammer, danalbert, srhines, lldb-commits Differential Revision: http://reviews.llvm.org/D12280 llvm-svn: 245838
* Fix teardown cleanup in TestRecursiveTypesTamas Berghammer2015-08-241-0/+4
| | | | llvm-svn: 245836
* XFAIL pthreads test on Windows.Zachary Turner2015-08-211-0/+1
| | | | | | This test needs to be ported to c++ threads. llvm-svn: 245751
* Fix TestPaths on Windows.Zachary Turner2015-08-211-2/+2
| | | | llvm-svn: 245750
* XFAIL the last Windows test that calls a function in the target.Zachary Turner2015-08-211-0/+1
| | | | llvm-svn: 245749
* Skip TestCreateAfterAttach on Windows.Zachary Turner2015-08-211-1/+1
| | | | | | | As with every other platform, this test occasionally hangs on Windows. llvm-svn: 245748
* XFAIL Tests that require C++ exceptions on Windows.Zachary Turner2015-08-213-0/+6
| | | | | | | | | clang-cl does not yet support C++ exceptions, so these tests will not even compile. Re-enabling these tests is tracked by llvm.org/pr24538 llvm-svn: 245747
* Increase timeout in TestExpressionInSyscallPavel Labath2015-08-211-1/+1
| | | | | | test times out on the windows->android buildbot (probably due to android emulator being slow) llvm-svn: 245691
* Add repro test case for bug #24530Pavel Labath2015-08-211-3/+84
| | | | llvm-svn: 245687
OpenPOWER on IntegriCloud