mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
gdb/testsuite: Remove duplicates from gdb.base/exprs.exp
When running the testsuite, I have: Running .../gdb/testsuite/gdb.base/exprs.exp ... DUPLICATE: gdb.base/exprs.exp: \$[0-9]* = red (setup) Fix by using with_test_prefix where appropriate. Tested on x86_64-linux.
This commit is contained in:
@ -237,10 +237,12 @@ test_expr "print \"x\" \"y\" \"z\"" "\\$\[0-9\]* = \"xyz\""
|
|||||||
|
|
||||||
# Enum formatting tests.
|
# Enum formatting tests.
|
||||||
test_expr "print red" "\\$\[0-9\]* = red"
|
test_expr "print red" "\\$\[0-9\]* = red"
|
||||||
gdb_test "set output-radix 8" ".*"
|
with_test_prefix "output-radix 8" {
|
||||||
test_expr "print red" "\\$\[0-9\]* = red"
|
gdb_test "set output-radix 8" ".*"
|
||||||
test_expr "print/d red" "\\$\[0-9\]* = 0"
|
test_expr "print red" "\\$\[0-9\]* = red"
|
||||||
gdb_test "set output-radix 10" ".*"
|
test_expr "print/d red" "\\$\[0-9\]* = 0"
|
||||||
|
gdb_test "set output-radix 10" ".*"
|
||||||
|
}
|
||||||
|
|
||||||
# Pre-/post in-/decrement tests.
|
# Pre-/post in-/decrement tests.
|
||||||
gdb_test "set variable v_int = 1" ""
|
gdb_test "set variable v_int = 1" ""
|
||||||
|
Reference in New Issue
Block a user