aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2021-03-08 18:31:06 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2021-03-12 12:18:34 +0000
commit323b848c51d19151e282470c866421b39d575da4 (patch)
tree57b5e11bb5658b6999f80aee2201664463c4cca2 /gdb/testsuite
parent8a4efb366fadfc8c7eff2994af863a169fe38401 (diff)
downloadgdb-323b848c51d19151e282470c866421b39d575da4.zip
gdb-323b848c51d19151e282470c866421b39d575da4.tar.gz
gdb-323b848c51d19151e282470c866421b39d575da4.tar.bz2
gdb/testsuite: remove duplicate test from gdb.python/py-value-cc.exp
While squashing duplicate test names I spotted an actual duplicate test, I suspect a copy & paste error in an earlier patch. I can see no reason why we should need to duplicate this test, so I'm removing one copy of it. gdb/testsuite/ChangeLog: * gdb.python/py-value-cc.exp: Remove a duplicate test.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.python/py-value-cc.exp2
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 23135be..9ca0a12 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
+ * gdb.python/py-value-cc.exp: Remove a duplicate test.
+
+2021-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
+
* gdb.python/lib-types.exp: Update the test to check the correct
python variable.
diff --git a/gdb/testsuite/gdb.python/py-value-cc.exp b/gdb/testsuite/gdb.python/py-value-cc.exp
index ba2617d..52a7136 100644
--- a/gdb/testsuite/gdb.python/py-value-cc.exp
+++ b/gdb/testsuite/gdb.python/py-value-cc.exp
@@ -61,8 +61,6 @@ gdb_test_no_output "python x_ptr = gdb.parse_and_eval('x_ptr')" "init x_ptr"
gdb_test_no_output "python xtd = gdb.parse_and_eval('xtd')" "init xtd"
gdb_test "python print(b\[b_fields\[1\]\])" "97 'a'" "b.a via field"
-
-gdb_test "python print(b\[b_fields\[1\]\])" "97 'a'" "b.a via field"
gdb_test "python print(b\[b_fields\[0\]\].type)" "A" \
"type of b's base class via field"
gdb_test "python print(b\[b_fields\[0\]\]\['a'\])" "10" "b.A::a via field"