summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "Fix TestPtrRef2Typedef with new const adornment on expected ref type."Ed Maste2014-04-211-2/+2
| | | | | | | | | | The additional "const" breaks the FreeBSD buildbot, and does not appear to be due to a LLVM or Clang change. Revert the change while investigating further. This reverts revision 206619. llvm-svn: 206751
* Marked TestAttachResume.process_attach_continue_interrupt_detach() as XFAIL ↵Todd Fiala2014-04-181-0/+1
| | | | | | on Linux per pr19478. llvm-svn: 206620
* Fix TestPtrRef2Typedef with new const adornment on expected ref type.Todd Fiala2014-04-181-2/+2
| | | | llvm-svn: 206619
* <rdar://problem/12055586>Enrico Granata2014-04-103-0/+94
| | | | | | | | Enable data formatters to see-through pointers/references to typedefs For instance, if Foo is a typedef to Bar, and there is a formatter for any/all of Bar*, Bar&, Bar&&, then Foo*, Foo&, and Foo&& should pick these up if Foo-specific formatters don't exist llvm-svn: 205939
* Do not rely on invalid pthread API use in thread testEd Maste2014-04-092-24/+22
| | | | | | | | | | Calling mutex_lock from one thread and then mutex_unlock from another is not permitted. Replace the awkward mutex usage with a mutex and condition variable. llvm.org/pr18061 llvm-svn: 205900
* Correct typo: waychpoint -> watchpointEd Maste2014-04-071-1/+1
| | | | llvm-svn: 205719
* Add failure decoratorsEd Maste2014-04-041-0/+2
| | | | | | | | | These tests started failing on FreeBSD after r205497 "Make the fail messages" llvm.org/pr19347 llvm-svn: 205652
* Add decorator for pr19311 on FreeBSDEd Maste2014-04-021-0/+1
| | | | | | | A breakpoint at the resume address for "continue" is skipped. This is presumably the root cause for the Linux failure as well. llvm-svn: 205482
* rdar://16424649Enrico Granata2014-04-023-0/+135
| | | | | | | | Clean up the DynamicValueTestCase Namely, I split off the part of the test that validates child counts to a separate test llvm-svn: 205450
* Add annotation for failure from new Attach/Resume test case on FreeBSDEd Maste2014-04-021-0/+1
| | | | llvm-svn: 205427
* Use getpgid() with waitpid() in case the process pgid is not equal to its ↵Andrew MacPherson2014-04-023-0/+135
| | | | | | pid, as is the case with a forked subprocess. Also a couple of fixes for unit test failures from Todd Fiala. llvm-svn: 205405
* Test case for the previous commit.Jim Ingham2014-04-021-0/+88
| | | | llvm-svn: 205381
* lldb arm64 import.Jason Molenda2014-03-291-1/+1
| | | | | | | | | | | | | | | | These changes were written by Greg Clayton, Jim Ingham, Jason Molenda. It builds cleanly against TOT llvm with xcodebuild. I updated the cmake files by visual inspection but did not try a build. I haven't built these sources on any non-Mac platforms - I don't think this patch adds any code that requires darwin, but please let me know if I missed something. In debugserver, MachProcess.cpp and MachTask.cpp were renamed to MachProcess.mm and MachTask.mm as they picked up some new Objective-C code needed to launch processes when running on iOS. llvm-svn: 205113
* Remove annotation for llvm.org/pr19241Ed Maste2014-03-261-1/+0
| | | | | | The issue has been fixed by r204745 and r204750 llvm-svn: 204779
* Add a test case for the previous commitEnrico Granata2014-03-253-0/+83
| | | | llvm-svn: 204763
* Make sure this test has a looser dependency on the exact class generated ↵Enrico Granata2014-03-251-1/+1
| | | | | | here.. it is going to be some sort of NS-provided String, but let's not bet on the details llvm-svn: 204761
* Fixed up intermittently failing tests to skip on Linux.Todd Fiala2014-03-252-1/+6
| | | | | | | | | | | Also added 'import sys' on some tests that are using non-standard unittest2.skipUnless blocks with code that is intended to do things that we have more specializes @* attributes for. These skip conditions were failing to execute due to missing import, causing darwin-only tests to run on Linux regardless. Will file a bug for that separately. llvm-svn: 204747
* Add expected failure annotation for llvm.org/pr19241Ed Maste2014-03-251-0/+1
| | | | llvm-svn: 204718
* Adapt test to avoid short string types.Jim Ingham2014-03-201-9/+9
| | | | llvm-svn: 204295
* Remember to run ranlib after ar to make useful archive files.Jim Ingham2014-03-191-0/+2
| | | | llvm-svn: 204282
* Remove unnecessary dependence on vecLib.Jim Ingham2014-03-192-2/+1
| | | | llvm-svn: 204281
* Put a workaround for flaky unwinder behavior on Darwin ↵Jim Ingham2014-03-191-4/+10
| | | | | | (<rdar://problem/16363195>). llvm-svn: 204254
* Test cases for stepping out past frames with no debug info if that is turned on.Jim Ingham2014-03-154-0/+196
| | | | llvm-svn: 203993
* Fix test 'make clean' target for empty $(DSYM) on FreeBSDEd Maste2014-03-071-1/+0
| | | | | | | | | | | | | | | A freebsd issue with rm prevents '[g]make clean' from working if $(DSYM) is empty (fts_open(3) fails if passed an empty argument). To work around this, simplify the clean target by using three separate rm invocations: one for the common files, one for the case of non-empty $(DYLIB_NAME), and one for non-empty $(DSYM). Issue diagnosed (and reported to FreeBSD) by John Wolfe. llvm.org/pr17933 llvm-svn: 203253
* Add decorator for recent FreeBSD failureEd Maste2014-03-071-0/+1
| | | | | | llvm.org/pr19075 llvm-svn: 203245
* This commit provides support for running the dosep.ty test driver with ↵Steve Pucci2014-03-072-3/+7
| | | | | | | | | | | | | | multiple threads. It speeds up running the full test suite on my HP z620 Ubuntu machine with 32 hyperthreaded CPUs from 11 minutes to about 1m13s (about 9x). The default behavior is to run single-threaded as before. If the environment variable LLDB_TEST_THREADS is set, a Python work queue is set up with that many worker threads. To avoid collisions within a test directory where multiple tests make use of the same prebuilt executable, the unit of work for the worker threads is a single directory (that is, all tests within a directory are processed in the normal serial way by a single thread). tfiala & I have run this way a number of times; the only issue I found was that the TestProcessAttach.py test failed once, when attempting to attach to the process "a.out" by name. I assume this is because some other thread was running an executable of that name at the same time, and we were attempting to attach to the wrong one, so I changed that test to use a different executable name (that change is also included in this commit). llvm-svn: 203180
* Modified some test annotations so that tests on Linux that should be skipped ↵Todd Fiala2014-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | don't show up as XFAIL. The following two tests showed up as XFAIL even though they should always be skipped on Linux, due to the @unittest2.expectedFailure annotation appearing above the @dsym_test annotation: TestObjCNewSyntax.ObjCNewSyntaxTestCase.test_expr_with_dsym TestBlocks.BlocksTestCase.test_expr_with_dsym. For those two, I simply moved the @dsym_test annotation to the top so that it would be marked for skip ahead of being marked for XFAIL. TestObjCNewSyntax.ObjCNewSyntaxTestCase.test_expr_with_dwarf I marked as @skipIfLinux since my understanding is that isn't a valid test to run on Linux. So rather than categorize as a fail (i.e. something wrong to be fixed), just skip it. (My recent changes to Linux tests have been following that model: if it could never work, skip; if it's broken, mark XFAIL so we can easily track, fix, notice the fix and adjust accordingly). TestDeadStrip.DeadStripTestCase.test_with_dwarf I had previously marked as XFAIL but this would never work on Linux with the current linker AFAICT. Marked it as skip. llvm-svn: 202788
* Converted TestDeadStrip.py to be expected failure on Linux.Todd Fiala2014-02-281-1/+1
| | | | llvm-svn: 202522
* Adjust TestExprDoesntBlock.py to be expected failure on Linux.Todd Fiala2014-02-281-1/+1
| | | | | | | | I suspect I may have misrun the test previously for check-in r202456 re: pr15258. This test fails consistently on my end. I changed the test to expected failure on Linux. llvm-svn: 202517
* Enable TestExitDuringBreak.test_with_dwarf on Linux.Todd Fiala2014-02-281-1/+0
| | | | | | | | | | This test passed 50 out of 50 times for me on Unbuntu 12.04 LTS x86_64 with lldb built using gcc 4.8.2 and July 2013 libedit. This is related to: http://llvm.org/bugs/show_bug.cgi?id=16170 llvm-svn: 202512
* Adjust TestConcurrentEvents.py test running for Linux.Todd Fiala2014-02-281-21/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Related to this bug: http://llvm.org/bugs/show_bug.cgi?id=16714 On TOT lldb svn r202507, I found several of the tests disabled within TestConcurrentEvents.py to run fine, and several of them to fail 100% of the time on my system (25 out of 25 times). This changes the following tests for Linux: Enables (these all work consistently): * test_many_watchpoints_dwarf * test_signal_watch_break_dwarf (line 250) * test_signal_watch_break_dwarf (line 260 - same named test?) * test_crash_with_watchpoint_dwarf * test_crash_with_watchpoint_breakpoint_signal_dwarf * test_delayed_crash_with_breakpoint_watchpoint_dwarf Marks as expected failure (these all fail consistently): * test_many_watchpoints_dwarf * test_watch_break_dwarf * test_delay_watch_break_dwarf * test_watch_break_dwarf_delay * test_signal_watch_dwarf * test_delay_signal_watch_dwarf * test_signal_delay_watch_dwarf * test_two_breakpoints_one_watchpoint_dwarf * test_breakpoints_delayed_breakpoint_one_watchpoint_dwarf * test_two_watchpoint_threads_dwarf * test_watchpoint_with_delay_watchpoint_threads_dwarf * test_two_watchpoints_one_breakpoint_dwarf * test_two_watchpoints_one_delay_breakpoint_dwarf * test_watchpoint_delay_watchpoint_one_breakpoint_dwarf * test_two_watchpoints_one_signal_dwarf * test_signal_watch_break_dwarf llvm-svn: 202511
* Enabled TestBreakAfterJoin.py on Linux.Todd Fiala2014-02-281-1/+0
| | | | | | | | | | This is related to: http://llvm.org/bugs/show_bug.cgi?id=16170 This test ran successfully 40 out of 40 times on Ubuntu 12.04 LTS x86_64. llvm-svn: 202508
* Change TestStopHookMechanism to @expectedFailureLinux.Todd Fiala2014-02-281-1/+1
| | | | | | | | | Similar to my previous check-in related to: http://llvm.org/bugs/show_bug.cgi?id=15037 10 out of 10 runs of this failed. Mark it XFAIL. llvm-svn: 202507
* Marked linux TestStopHookMultipleThreads as expected failure.Todd Fiala2014-02-281-1/+1
| | | | | | | | | | Related to this bug: http://llvm.org/bugs/show_bug.cgi?id=15037 Previously this was marked as skipped. I tried running it 10 times in a row and it failed every time. Switched it to XFAIL. llvm-svn: 202506
* Re-enable TestExprDoesntBlock.py on Linux.Todd Fiala2014-02-281-1/+1
| | | | | | | | | | This is related to: http://llvm.org/bugs/show_bug.cgi?id=15258 I ran this test 10 times successfully against Ubuntu 12.04 LTS x86_64 with lldb built with gcc 4.8.2 and July 2013 libedit. llvm-svn: 202456
* Remove TestConnectRemote decorator for FreeBSDEd Maste2014-02-241-1/+0
| | | | | | | | Failure is not reproducible on ToT LLDB locally or on the buildbot. llvm.org/pr18313 llvm-svn: 202043
* Stop skipping test on FreeBSD that no longer failsEd Maste2014-02-221-1/+0
| | | | | | llvm.org/pr17232 llvm-svn: 201928
* Treat 'amd64' as 'x86_64' as done for other testsEd Maste2014-02-191-2/+3
| | | | | | | | And add a decorator for llvm.org/pr18200 Patch by John Wolfe. llvm-svn: 201708
* FreeBSD hardware watchpoint implementationEd Maste2014-02-198-31/+0
| | | | | | | | | | | | | | | Implement x86_64 debug register read/write in support of hardware watchpoints. Hoist LinuxThread::TraceNotify code back into POSIXThread::TraceNotify() Patch by John Wolfe. We still need to rework this later to avoid the #ifdef FreeBSD. llvm-reviews.chandlerc.com/D2572 llvm.org/pr16706 llvm-svn: 201706
* Update decorator for test that still fails with FreeBSD Watchpoint supportEd Maste2014-02-191-1/+1
| | | | | | llvm.org/pr18832 llvm-svn: 201705
* <rdar://problem/16006373>Enrico Granata2014-02-151-7/+7
| | | | | | | Revert the spirit of r199857 - a convincing case can be made that overriding a summary's format markers behind its back is not the right thing to do This commit reverts the behavior of the code to the previous model, and changes the test case to validate the opposite of what it was validating before llvm-svn: 201455
* Update decorators for tests that still fail with FreeBSD Watchpoint supportEd Maste2014-02-142-2/+2
| | | | | | | | llvm.org/pr18832 Reported by John Wolfe llvm-svn: 201418
* Re-enable TestAbbreviations.py on Linux after test fix.Todd Fiala2014-02-131-1/+0
| | | | | | See http://llvm.org/bugs/show_bug.cgi?id=18816. llvm-svn: 201357
* Remove decorator for fixed testEd Maste2014-02-131-1/+0
| | | | | | llvm.org/pr18805 fixed by r201270 llvm-svn: 201284
* Fixed the functionalities/abbreviation/TestAbbreviations.py test case.Greg Clayton2014-02-121-2/+1
| | | | llvm-svn: 201270
* Change TestAbbreviations test to expected failure on Linux.Todd Fiala2014-02-121-0/+1
| | | | | | | See http://llvm.org/bugs/show_bug.cgi?id=18816. Likely the same issue as http://llvm.org/bugs/show_bug.cgi?id=18805. llvm-svn: 201244
* Remove FreeBSD decorator for llvm.org/pr17499 (no longer fails)Ed Maste2014-02-112-2/+0
| | | | llvm-svn: 201168
* Remove decorators for llvm.org/pr17920 fixed by r200646Ed Maste2014-02-112-8/+0
| | | | llvm-svn: 201167
* Update decorator for FreeBSD failure pr18066Ed Maste2014-02-111-1/+1
| | | | | | | | The test expects the inferior to have exited, but it is still stopped. llvm.org/pr18066 llvm-svn: 201166
* Add decorator for llvm.org/pr18805 until root cause is identifiedEd Maste2014-02-111-0/+1
| | | | llvm-svn: 201153
OpenPOWER on IntegriCloud