1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 00:45:28 +02:00
Commit graph

178 commits

Author SHA1 Message Date
John Cortell
da1f29806f Don't use the junit timeout feature. It's too rigid and is a pain when troubleshooting issues. 2010-05-25 22:47:12 +00:00
John Cortell
85162ebd30 Don't use the junit timeout feature. It's too rigid and is a pain when troubleshooting issues. 2010-05-25 22:45:29 +00:00
Marc Khouzam
30849ec0ce Better use of container context 2010-05-12 13:23:44 +00:00
Marc Khouzam
9b222a1f27 Better error printout 2010-04-29 18:35:34 +00:00
Marc Khouzam
39668b20a5 Small enhancement to get the containerDmc in the unit tests 2010-04-29 14:21:47 +00:00
Marc Khouzam
0bd05a8dbc Bug 310565: Support for new format for Apple GDB. 2010-04-27 19:08:40 +00:00
John Cortell
e776528588 [306427] Remove obsolete catchpoint types from CDT 2010-04-12 19:01:24 +00:00
John Cortell
92f88c096c Centralize new method to get heavyweight process context 2010-04-12 15:57:59 +00:00
John Cortell
da04759802 Neglected to spin off the service call in getProcessContext() on the dsf executor 2010-04-09 22:55:26 +00:00
John Cortell
cbdc8d81d3 For the stop on main breakpoint (a temporaro breakpoint) gdb 7.0 reports the stopped event with a reason=breakpoint. It provides no reason in gdb < 7.0. 2010-04-09 22:44:45 +00:00
John Cortell
ed5b124ce7 Use run control service to get the actual process context. Fixes tests with MinGW 7.0. Also, had to adjust two tests to not assume threads are reported in a particular order 2010-04-09 18:05:08 +00:00
John Cortell
119d848c62 [305752] Moved gdb event breakpoint constants into new common gdb plugin as well as the registering of the event types (via an extension) 2010-04-08 20:02:35 +00:00
John Cortell
7c92312b57 minor. wrong cathcpoint type specified, but catchpoint creation is supposed to fail in this case anyway. 2010-04-08 14:53:17 +00:00
John Cortell
080bcc692d Corrected argument order; error message is misleading, otherwise. 2010-04-07 19:49:00 +00:00
Marc Khouzam
8a2cae3b45 [248587] Added new catchpoint JUnit tests to test suites. 2010-04-07 18:39:56 +00:00
John Cortell
367979ea80 [248587] Support "Event' Breakpoints 2010-04-06 20:01:42 +00:00
John Cortell
57c6ba5fec [248587] Support "Event' Breakpoints 2010-04-06 19:32:14 +00:00
John Cortell
4ec5b596be Specify dwarf2 debug info. Default for 3.x is STABS, and that is an inferior format. At a minimum, C++ exception catchpoints don't work, and there is a class that tests them. 2010-04-05 17:38:41 +00:00
John Cortell
983dc28f18 Fixed inappropriate reference comparison. Should be a deep comparison (using equals method). 2010-03-31 20:00:58 +00:00
John Cortell
8b280845e4 Test case had coding goof. Incremented and checked wrong iterator variable, leading to early termination of the test. 2010-03-31 19:45:52 +00:00
John Cortell
56a2799dc0 javadoc enhancement 2010-03-29 16:00:01 +00:00
John Cortell
dc68630fb6 Fixed remaining edge case floating point math failure 2010-03-11 13:04:42 +00:00
John Cortell
c29c05bc25 Someone reported failures in the expressions tests because of small variations on floating point arithmetic results. E.g., expected '33.333333333333336" but got '33.333333333333329'". Floating point math is not exact, and we need to not be too precise in our expectations for those cases. 2010-03-10 21:38:34 +00:00
John Cortell
8087689bea Fixed common programming goof 2010-03-10 20:15:26 +00:00
uid8941
d4367d5bba Add -m32 flag to make the tests programs build properly on 64-bit machines. 2010-03-09 14:35:32 +00:00
John Cortell
0eb1964dd6 Don't wait forever 2010-03-05 23:24:17 +00:00
John Cortell
81a56f94b8 Fixed processes test. Shouldn't create a process context based on PID=UNIQUE_GROUP_ID. Also, relax the test for the process name. With 7.0 we get the path information in the name; in 6.8 we don't. Just check that the executable simple file name is in there. 2010-03-05 23:10:15 +00:00
John Cortell
0a695a3e81 Reworked awkward junit assertion flow (have seen this in various places) 2010-03-05 20:40:25 +00:00
John Cortell
428ad8d1f9 Additional cygwin-only check 2010-03-05 17:48:22 +00:00
John Cortell
4d3602121f Fix tests for cygwin 2010-03-04 22:57:04 +00:00
John Cortell
ebdc876c9b Fixed race condition test failure. The secondary thread, because it does nothing but a quick printf, was terminating before the test was able to check for its existence via IRunControl.getExecutionContexts(). Consequently, it would get one less thread than expected. 2010-03-04 22:14:37 +00:00
John Cortell
d84ca549b2 Write L-value test works with gdb >= 6.8, so refactor to make it available for those classes. 2010-03-04 17:17:44 +00:00
John Cortell
e6794e5a2e fixed warnings 2010-03-04 16:48:01 +00:00
John Cortell
7eb06f6213 Fix runcontrol test on Windows. If the program is built with cygwin, there is an additional thread. 2010-03-04 16:43:00 +00:00
Marc Khouzam
20baa38a22 [304588] Return the problem number of children even if GDB counts private/public/protected as a level of children. 2010-03-04 15:48:37 +00:00
John Cortell
f642b20a88 fix indentation; no functional change 2010-03-04 15:30:35 +00:00
John Cortell
6a8a4ece8f Fix tests on Windows. orig_eax is apparently not a reported register on Windows 2010-03-04 00:40:27 +00:00
John Cortell
fa79d364cc [304561] While-target-running breakpoint tests are failing because of Windows gdb bug 2010-03-03 18:54:09 +00:00
Marc Khouzam
47804a071a [304146] Added a CommandFactory for MI/CLI commands, and change every service to use it. 2010-03-03 14:35:50 +00:00
Marc Khouzam
bca9edfc90 [303828] Fix for expressions tests 2010-03-03 14:15:05 +00:00
John Cortell
e815923c47 Forgot to add a default timeout for runToLocation 2010-03-02 21:25:27 +00:00
Ken Ryall
e9e73680c2 Bug 285907, create a new shared abstract launch delegate. 2010-03-02 13:50:21 +00:00
Ken Ryall
de52271f86 Bug 303968, move support for Run To Line, Move To Line, Resume At Line, to DSF. 2010-03-02 13:29:06 +00:00
John Cortell
d5d9a9ca34 Improve waitForBreakpointEvent() 2010-03-01 23:47:08 +00:00
John Cortell
afc2af0e0e Added reasonable timeout values for resume operations. In practice, these operations are taking between 15ms to 170ms, and I've given them timeouts between 1 and 2 seconds. So, still plenty of breathing room, but no longer wait for the default of 10 seconds to determine a failure. 2010-03-01 21:05:27 +00:00
John Cortell
c694d74782 Add timestamp to event trace. Really helps troubleshoot timing issues in the tests. 2010-03-01 17:14:40 +00:00
John Cortell
ebaad16039 Adjust timeout. Avoid excessive wait on failed test. 2010-02-26 21:21:04 +00:00
John Cortell
0ca9d1d016 [303828] SyncUtil calls no longer wait indefinitely 2010-02-26 20:27:29 +00:00
John Cortell
1400363b31 Added method to massage test timeout values based on a property. 2010-02-25 23:33:08 +00:00
John Cortell
9cd64eb9fa [303828] Instrument ServiceEventWaitor 2010-02-25 23:00:21 +00:00