mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-09 17:43:40 +08:00
[gdb/testsuite] Remove KFAIL from gdb.base/info-macros.exp
When running test-case gdb.base/info-macros.exp, we have: ... (gdb) KFAIL: gdb.base/info-macros.exp: info macros info-macros.c:42 \ (PRMS: gdb/NNNN) ... The described failure mode however: ... set test "info macros info-macros.c:42" set r1 ".*define DEF_MACROS" set r2 ".*define ONE" setup_kfail "gdb/NNNN" *-*-* gdb_test "$test" "$r1$r2" ... does not match the actual output, given that both defines are in fact printed. The pattern fails to match because it's missing a trailing ".*". Fix this by removing the KFAIL and adding the missing trailing ".*". Tested on x86_64-linux. gdb/testsuite/ChangeLog: 2020-04-28 Tom de Vries <tdevries@suse.de> * gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
This commit is contained in:
parent
5390c71738
commit
0b2f8a3bbb
@ -1,3 +1,7 @@
|
||||
2020-04-28 Tom de Vries <tdevries@suse.de>
|
||||
|
||||
* gdb.base/info-macros.exp: Remove KFAIL. Add missing trailing ".*".
|
||||
|
||||
2020-04-28 Tom de Vries <tdevries@suse.de>
|
||||
|
||||
* gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
|
||||
|
@ -273,7 +273,4 @@ set test "info macros info-macros.c:42"
|
||||
|
||||
set r1 ".*define DEF_MACROS"
|
||||
set r2 ".*define ONE"
|
||||
# info macros on the line where the #define or #include is
|
||||
# fails to find the macro defined (though it works on the next line.)
|
||||
setup_kfail "gdb/NNNN" *-*-*
|
||||
gdb_test "$test" "$r1$r2"
|
||||
gdb_test "$test" "$r1$r2.*"
|
||||
|
Loading…
Reference in New Issue
Block a user