diff options
author | Tom de Vries <tdevries@suse.de> | 2024-02-27 16:21:56 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-02-27 16:21:56 +0100 |
commit | 0dbca2abb94778204b2c972bcca3855cdbf9afba (patch) | |
tree | b1556f3a36ebe932e41ac8ea2a6055142620d73a /gdb | |
parent | cfb9cb1afd93dc71ea94ec7c7d9bfc0e43ace0bc (diff) | |
download | binutils-0dbca2abb94778204b2c972bcca3855cdbf9afba.zip binutils-0dbca2abb94778204b2c972bcca3855cdbf9afba.tar.gz binutils-0dbca2abb94778204b2c972bcca3855cdbf9afba.tar.bz2 |
[gdb/testsuite] Remove KFAIL for PR ada/30908
PR ada/30908 turns out to be a duplicate of PR ada/12607, which was fixed by
commit d56fdf1b976 ("Refine Ada overload matching").
Remove the KFAILs for PR ada/30908.
Tested on x86_64-linux.
Approved-By: Tom Tromey <tom@tromey.com>
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30908
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/gdb.ada/str_binop_equal.exp | 20 | ||||
-rw-r--r-- | gdb/testsuite/gdb.ada/widewide.exp | 28 |
2 files changed, 4 insertions, 44 deletions
diff --git a/gdb/testsuite/gdb.ada/str_binop_equal.exp b/gdb/testsuite/gdb.ada/str_binop_equal.exp index 470fda0..943e0a6 100644 --- a/gdb/testsuite/gdb.ada/str_binop_equal.exp +++ b/gdb/testsuite/gdb.ada/str_binop_equal.exp @@ -31,24 +31,8 @@ runto "foo_p211_061.adb:$bp_location" gdb_test "print my_str = my_str" \ " = true" -set kfail_re \ - [multi_line \ - [string_to_regexp {Symbol: ada.strings.maps."="}] \ - ".*" \ - "\\$$decimal = false"] - -gdb_test_no_output "set debug expr 1" - -gdb_test_multiple {print my_str = "ABCD"} "" { - -re -wrap " = true" { - pass $gdb_test_name - } - -re -wrap $kfail_re { - kfail ada/30908 $gdb_test_name - } -} - -gdb_test "set debug expr 0" +gdb_test "print my_str = \"ABCD\"" \ + " = true" gdb_test "print my_str = \"EFGH\"" \ " = false" diff --git a/gdb/testsuite/gdb.ada/widewide.exp b/gdb/testsuite/gdb.ada/widewide.exp index 241f0a01..f1ce084 100644 --- a/gdb/testsuite/gdb.ada/widewide.exp +++ b/gdb/testsuite/gdb.ada/widewide.exp @@ -42,33 +42,9 @@ gdb_test "print my_wws(1)" "= 32 ' '" gdb_test "print my_wws(2)" "= 104 'h'" -set kfail_re \ - [multi_line \ - [string_to_regexp {Symbol: ada.strings.maps."="}] \ - ".*" \ - "\\$$decimal = false"] - -gdb_test_no_output "set debug expr 1" - -gdb_test_multiple {print my_wws = " helo"} "" { - -re -wrap " = true" { - pass $gdb_test_name - } - -re -wrap $kfail_re { - kfail ada/30908 $gdb_test_name - } -} -gdb_test_multiple {print my_ws = "wide"} "" { - -re -wrap " = true" { - pass $gdb_test_name - } - -re -wrap $kfail_re { - kfail ada/30908 $gdb_test_name - } -} - -gdb_test "set debug expr 0" +gdb_test "print my_wws = \" helo\"" " = true" +gdb_test "print my_ws = \"wide\"" " = true" gdb_test "print my_ws = \"nope\"" " = false" gdb_test "print \"x\" & my_ws & \"y\"" " = \"xwidey\"" |