mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 02:24:17 +08:00
gdb/testsuite: Remove duplicates from gdb.base/ptype.exp
When running the testsuite, I have: Running .../gdb/testsuite/gdb.base/ptype.exp ... DUPLICATE: gdb.base/ptype.exp: ptype the_highest DUPLICATE: gdb.base/ptype.exp: list intfoo DUPLICATE: gdb.base/ptype.exp: list charfoo Fix by adjusting the offending test names. Tested on x86_64-linux.
This commit is contained in:
@ -509,7 +509,7 @@ gdb_test "ptype the_highest" \
|
|||||||
|
|
||||||
gdb_test "ptype the_highest.anonymous_level_1" \
|
gdb_test "ptype the_highest.anonymous_level_1" \
|
||||||
"type = struct \{.*\[\r\n\] *int b;.*\[\r\n\] *struct \{.*\[\r\n\] *int c;.*\[\r\n\] *\} anonymous_level_2;.*\[\r\n\]}.*" \
|
"type = struct \{.*\[\r\n\] *int b;.*\[\r\n\] *struct \{.*\[\r\n\] *int c;.*\[\r\n\] *\} anonymous_level_2;.*\[\r\n\]}.*" \
|
||||||
"ptype the_highest"
|
"ptype the_highest.anonymous_level_1"
|
||||||
|
|
||||||
get_debug_format
|
get_debug_format
|
||||||
|
|
||||||
@ -578,9 +578,9 @@ gdb_test "list intfoo" ".*"
|
|||||||
gdb_test "ptype foo" "type = int" "ptype foo typedef after first list of intfoo"
|
gdb_test "ptype foo" "type = int" "ptype foo typedef after first list of intfoo"
|
||||||
gdb_test "list charfoo" ".*"
|
gdb_test "list charfoo" ".*"
|
||||||
gdb_test "ptype foo" "type = char" "ptype foo typedef after first list of charfoo"
|
gdb_test "ptype foo" "type = char" "ptype foo typedef after first list of charfoo"
|
||||||
gdb_test "list intfoo" ".*"
|
gdb_test "list intfoo" ".*" "second list intfoo"
|
||||||
gdb_test "ptype foo" "type = int" "ptype foo typedef after second list of intfoo"
|
gdb_test "ptype foo" "type = int" "ptype foo typedef after second list of intfoo"
|
||||||
gdb_test "list charfoo" ".*"
|
gdb_test "list charfoo" ".*" "second list charfoo"
|
||||||
gdb_test "ptype foo" "type = char" "ptype foo typedef after second list of charfoo"
|
gdb_test "ptype foo" "type = char" "ptype foo typedef after second list of charfoo"
|
||||||
|
|
||||||
# Test printing type of string constants and array constants, but
|
# Test printing type of string constants and array constants, but
|
||||||
|
Reference in New Issue
Block a user