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

190 commits

Author SHA1 Message Date
Marc Khouzam
f0b7098f00 Bug 397715 - Update JUnit tests to verify value of change memory and
expression.

Change-Id: I75a9dc166ae3287973d8b32e20cc121ea842cd27
Reviewed-on: https://git.eclipse.org/r/9964
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2013-01-28 14:26:09 -05:00
Marc Khouzam
0248aa4474 Bug 397715 - [memory][expressions] Make use of GDB 7.6 new
=memory-changed MI event

Change-Id: I98c3cd273e185dfb1782527d7abd553351a163d9
Reviewed-on: https://git.eclipse.org/r/9662
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2013-01-25 11:09:44 -05:00
Marc Khouzam
f1ca02367b Temporarily disable CommandTimeoutTests as they may be the ones that
cause a dialog to pop-up and hang the build.

Change-Id: I2e1cabad2024e2b6b1df52f7a3346823f5b2765c
2013-01-24 10:57:33 -05:00
Andrew Gvozdev
46cd8b19fa bug 378834: allow profiles other than "production" use ${gdbPathOption} property 2013-01-21 17:40:11 -05:00
Marc Khouzam
cd70733735 Bug 378834 - Re-order debug tests to avoid hanging on Hudson. I don't
know why this helps, but it does.

Change-Id: Iad4b653169d7b62af5cb2dbcfb93bdded2427f65
2013-01-14 15:50:37 -05:00
Marc Khouzam
9e6ee807a9 Bug 378834 - Update Debug JUnit tests to run on Hudson
Change-Id: Ie93ef3b2401b6823afd96504de1b5b5c577f1da4
Reviewed-on: https://git.eclipse.org/r/9656
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2013-01-14 14:52:06 -05:00
Marc Khouzam
fea192a6bd Bug 397906 - [tests] JUnit tests for upcoming GDB 7.6
Change-Id: I53526637f962618eca56caa27e407074d90190a3
Reviewed-on: https://git.eclipse.org/r/9598
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2013-01-10 15:16:13 -05:00
Marc Khouzam
ce371e5f5c Bug 394408: Support enhanced-expressions for local variables. Proper
sorting of enhanced-expressions representing arrays.

Change-Id: I87e9ca5f3422fa51a32d2b80e6c0c0c62fdf8b2b
Reviewed-on: https://git.eclipse.org/r/9297
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-12-19 06:02:04 -05:00
Marc Khouzam
cd7ffb2dbf Bug 394408: Support enhanced-expressions for local variables. This
includes special handling for array indices.  Furthermore, we now
require the '=' prefix for all glob-pattern expressions, including
registers.

Change-Id: If929d539b80d282df383c44d1487611fda928613
Reviewed-on: https://git.eclipse.org/r/8881
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-12-18 14:29:18 -05:00
Mikhail Khodjaiants
88e488b1ff Bug 392512: Support GDB breakpoint notifications. JUnit tests.
Change-Id: I0c0ab0f2e419a931073f229192e0b70fcc25a7b6
Reviewed-on: https://git.eclipse.org/r/9006
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2012-12-17 16:06:14 -05:00
Marc Khouzam
d722553646 Bug 393474: In Expression view: cannot cast to type that contain commas.
Update tests.
2012-11-08 16:14:37 -05:00
Marc Khouzam
00a88f7394 Bug 387793: Fix JUnit tests for new -data-write-memory-bytes 2012-09-26 06:43:37 -04:00
Marc Khouzam
9dbd7f7213 Bug 381754: Group-expression support for Expressions view.
JUnit tests.

Change-Id: I5666d09a3abe71ef9c811fb94418c80da5b3a09e
Reviewed-on: https://git.eclipse.org/r/6701
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-07-10 15:52:46 -04:00
Sergey Prigogin
de74af3fd9 Bumped up feature versions for Kepler. 2012-06-28 11:39:17 -07:00
Sergey Prigogin
3be412111c Bumped up feature versions for Kepler. 2012-06-28 11:08:11 -07:00
Marc Khouzam
1ef180e2ab Bug 381868: JUnit tests for casting expressions
Change-Id: I9e8c9986db8fac2599eb8f28cc60d42010d17a93
Reviewed-on: https://git.eclipse.org/r/6427
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-06-19 12:51:13 -04:00
Marc Khouzam
f55fb58cad Bug 381804: Add test for arguments using quotes.
Change-Id: I36dbc43fb1f98c05ee905a8152a012ff16476475
Reviewed-on: https://git.eclipse.org/r/6344
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-06-13 15:29:17 -04:00
Marc Khouzam
4f7a8faf45 Bug 378834: Remote suite was not trigerring remote anymore
Change-Id: I24a4e2c4572b59c90b65370a1f1207502ccafe41
Reviewed-on: https://git.eclipse.org/r/6264
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-06-05 16:11:18 -04:00
Marc Khouzam
a686aafa3c Bug 378834: Add Debug JUnit tests to Hudson at eclipse.org
Change-Id: Ifce9db09c43de933bee93af4a6e817d6cca7d1de
Reviewed-on: https://git.eclipse.org/r/6018
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-05-22 12:42:58 -04:00
Marc Khouzam
bee707ec10 Bug 379841: [tests] Add a timeout for each JUnit test
Change-Id: Icb33e03f91404650457a103246d3276e157c64d4
Reviewed-on: https://git.eclipse.org/r/6017
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-05-17 17:41:23 -04:00
Marc Khouzam
6d3706eaf2 Bug 379724: [tests] RTTI test crashes GDB 6.7
Change-Id: I8ac36087ff874dfd294e1187efc2ba01a8cf5b41
Reviewed-on: https://git.eclipse.org/r/6016
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-05-17 17:41:00 -04:00
Marc Khouzam
8bb266decf Bug 379568: Refactoring of DSF-GDB JUnit tests to use inheritance.
Change-Id: I81af3d27f802ab690f79b43bb9e2a3230696418a
Reviewed-on: https://git.eclipse.org/r/5999
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-05-17 17:40:31 -04:00
Marc Khouzam
cfff2b91fb Bug 376901: JUnit tests for RTTI feature
Change-Id: Id72d0d170b8f78201a36d1f95da5ca7a3d07cfa5
Reviewed-on: https://git.eclipse.org/r/5868
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-05-07 16:11:51 -04:00
Marc Khouzam
caf06d61a3 Bug 378547: [junit] Add JUnit tests for GDB 7.5
Change-Id: I280965bbb7742272bad7c9fbe670f1a60fc0455c
Reviewed-on: https://git.eclipse.org/r/5867
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-05-07 15:49:41 -04:00
Marc Khouzam
bde03774f2 Bug 330974: Need to set the version of GDB for the new tests. 2012-04-25 13:18:30 -04:00
Marc Khouzam
efe3dd4be6 Bug 330974: If the user selects multiple nodes in the debug view most debug commands are disabled
Change-Id: I51d15347fd28ee550e9bd2b75c61e904e75b4c8b
Reviewed-on: https://git.eclipse.org/r/5650
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-04-25 09:57:37 -04:00
Marc Khouzam
3964dbeab6 Bug 373707: [tracepoints] Make use of the new 'collect /s' command
Change-Id: I60689b73dd1f081fa3e3b53807e52800c9c03006
Reviewed-on: https://git.eclipse.org/r/5576
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-04-20 16:13:52 -04:00
Mikhail Khodjaiants
74138d21f5 Bug 361934 - Provide timeout for gdb commands
Change-Id: Id51a138411e49f7157858379f8aa09a59a8e4f78
Reviewed-on: https://git.eclipse.org/r/5523
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2012-04-17 10:20:23 -04:00
Marc Khouzam
7bceb81ed5 Cosmetic 2012-04-02 21:38:40 -04:00
Marc Khouzam
5d924afa08 Bug 375256: Use the wording: 'normal' instead of 'slow' for tracepoints 2012-03-24 13:38:42 -04:00
Mikhail Khodjaiants
ce2f595139 Bug 375091 - Invalid name of the generic test application 2012-03-22 13:20:08 -04:00
Marc Khouzam
fdd2d8570d Bug 307311: Add back method to MIConst to avoid breaking API, use a map for the special characters and unicode codepoints, add more JUnit tests, add the JUnit tests to the Sessionless suite. 2012-03-06 09:23:24 -05:00
Mathias Kunter
a974434ec3 Bug 307311: Incorrect string display when using non-ASCII characters 2012-03-06 09:23:21 -05:00
Marc Khouzam
39d3edc175 Bug 371198: Fixes for intermittent test failures. 2012-03-02 14:49:51 -05:00
Marc Khouzam
b971029699 Bug 371198 - Fix a couple of stopAtMain test cases. 2012-03-02 13:49:39 -05:00
Marc Khouzam
35530262d8 Bug 371198: Restart is not supported in a remote debug session. 2012-02-29 12:17:47 -05:00
Marc Khouzam
b00b128972 Bug 362039: New postmortem JUnit tests 2012-02-17 09:45:42 -05:00
Marc Khouzam
7f07eb597c Bug 346789: fix startup sequence for remote JUnits tests 2012-02-09 15:48:48 -05:00
Marc Khouzam
45878bd81a Bug 369814: [junit] Tracepoint unit tests fail with GDB 7.4 2012-01-26 22:01:13 -05:00
Marc Khouzam
bb313cb149 Need to wait for a IBreakpointHit event instead of an ISuspended event. This is for remote tests where we get an ISuspended event when we first connect to gdbserver, but we really need the IBreakpointHit event of when we hit the breakpoint at main() 2012-01-26 22:01:09 -05:00
Marc Khouzam
ad2208cc77 Bug 365541: Extra JUnit tests for partitions. Also, don't look for all the children of array_foo as it requires over 14000 MI commands, and makes the test take over 30 seconds. 2012-01-26 14:22:22 -05:00
Mikhail Khodjaiants
15ab0165f1 Bug 365541 - View an array variable whose length is very long (such as
10000) in the editor or Variable View, will cause the interface to die.
2012-01-26 11:59:27 -05:00
Marc Khouzam
e8a9e67b8c Bug 369583: [junit] Sessionless tests fail with NPE 2012-01-24 21:53:30 -05:00
Marc Khouzam
b9a036ecda Bug 369569: With GDB 7.4, breakpoints on invalid lines succeed as pending breakpoints 2012-01-24 14:43:55 -05:00
Marc Khouzam
6733c8df42 Bug 369569: Need JUnit tests for GDB 7.4 2012-01-24 14:11:48 -05:00
Marc Khouzam
50640df3c0 Bug 369168: threadOSId is not extracted for non-pthread programs 2012-01-19 22:13:36 -05:00
Marc Khouzam
2bafef2e42 Code cleanup, mostly about missing @Override 2012-01-17 09:42:18 -05:00
Marc Khouzam
fb16cb0561 Bug 365966: Change all of DSF-GDB to use the new Immediate*RequestMonitor classes. Not a necessary change, but it makes the code easier to read, and validates the new classes. 2011-12-12 11:28:16 -05:00
Sergey Prigogin
7a3c9ba3a1 Switched to Java 1.6. 2011-10-17 18:04:17 -07:00
Sergey Prigogin
457af57f60 Changed the execution environment to JavaSE-1.6 2011-10-17 16:44:49 -07:00