From: Andrew Burgess Date: Mon, 8 Mar 2021 18:31:06 +0000 (+0000) Subject: gdb/testsuite: remove duplicate test from gdb.python/py-value-cc.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=323b848c51d19151e282470c866421b39d575da4;p=binutils-gdb.git 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. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 23135be25d1..9ca0a1288f9 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2021-03-12 Andrew Burgess + + * gdb.python/py-value-cc.exp: Remove a duplicate test. + 2021-03-12 Andrew Burgess * gdb.python/lib-types.exp: Update the test to check the correct diff --git a/gdb/testsuite/gdb.python/py-value-cc.exp b/gdb/testsuite/gdb.python/py-value-cc.exp index ba2617d8cb8..52a71363033 100644 --- a/gdb/testsuite/gdb.python/py-value-cc.exp +++ b/gdb/testsuite/gdb.python/py-value-cc.exp @@ -60,8 +60,6 @@ gdb_test_no_output "python uu_fields = uu.type.fields()" "init uu_fields" 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"