aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2021-03-08 18:08:36 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2021-03-12 12:18:33 +0000
commit66bb1dd9cda54130515be30ff01061bf5226544e (patch)
treea292cb782e6e7faea2beebc2f2fda6a920ebd851 /gdb/testsuite
parent0125fabc7a63a50c3e1212c63ee2c339b2f098d5 (diff)
downloadgdb-66bb1dd9cda54130515be30ff01061bf5226544e.zip
gdb-66bb1dd9cda54130515be30ff01061bf5226544e.tar.gz
gdb-66bb1dd9cda54130515be30ff01061bf5226544e.tar.bz2
gdb/testsuite: make test names unique in gdb.python/py-explore-cc.exp
Add additional text to some test names to make them unique. In one case, correct the test name (copy & paste error) to make it correctly reflect what the test is doing. gdb/testsuite/ChangeLog: * gdb.python/py-explore-cc.exp: Extend test names to make them unique.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.python/py-explore-cc.exp8
2 files changed, 9 insertions, 4 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index ba9a5e0..1a3d580 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
+ * gdb.python/py-explore-cc.exp: Extend test names to make them
+ unique.
+
+2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
+
* gdb.python/py-lookup-type.exp: Remove duplicate test.
2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
diff --git a/gdb/testsuite/gdb.python/py-explore-cc.exp b/gdb/testsuite/gdb.python/py-explore-cc.exp
index 076df66..49e7036 100644
--- a/gdb/testsuite/gdb.python/py-explore-cc.exp
+++ b/gdb/testsuite/gdb.python/py-explore-cc.exp
@@ -66,7 +66,7 @@ gdb_test_multiple "explore b" "" {
pass "explore b"
gdb_test_multiple "0" "explore_base_class_A" {
-re "The value of 'b\.A' is a struct/class of type 'A' with no fields\." {
- pass "explore_base_class_A"
+ pass "explore_base_class_A, exploring b"
gdb_test_multiple "\0" "return_to_b_from_A" {
-re ".*$b_desc.*Enter the field number of choice:.*" {
pass "return_to_b_from_A"
@@ -85,7 +85,7 @@ gdb_test_multiple "explore b" "" {
pass "explore_field_c_of_b"
gdb_test_multiple "\0" "return_to_b_from_c" {
-re "$b_desc.*Enter the field number of choice:.*" {
- pass "return_to_b_from_i"
+ pass "return_to_b_from_c"
}
}
}
@@ -107,7 +107,7 @@ gdb_test_multiple "explore B" "" {
pass "explore B"
gdb_test_multiple "0" "explore_base_class_A" {
-re "base class 'A' of 'B' is a struct/class of type 'A' with no fields\." {
- pass "explore_base_class_A"
+ pass "explore_base_class_A, exploring B"
gdb_test_multiple "\0" "return_to_B" {
-re "$B_desc.*Enter the field number of choice:.*" {
pass "return_to_B"
@@ -116,7 +116,7 @@ gdb_test_multiple "explore B" "" {
pass "explore_field_i_of_B"
gdb_test_multiple "\0" "return_to_B_from_i" {
-re "$B_desc.*Enter the field number of choice:.*" {
- pass "return_to_B_from_i"
+ pass "return_to_B_from_i, exploring B"
}
}
}