diff options
author | Tom de Vries <tdevries@suse.de> | 2020-10-28 21:04:12 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-10-28 21:04:12 +0100 |
commit | 6b68fd45a80196d1462c0fd1e174cead99b3eaeb (patch) | |
tree | f913fdc084caf81478277d895ab4dc0c529567d2 /gdb/testsuite/gdb.rust/traits.exp | |
parent | 32a5f98aa4b566411df304160b6ed69cc80d8f89 (diff) | |
download | gdb-6b68fd45a80196d1462c0fd1e174cead99b3eaeb.zip gdb-6b68fd45a80196d1462c0fd1e174cead99b3eaeb.tar.gz gdb-6b68fd45a80196d1462c0fd1e174cead99b3eaeb.tar.bz2 |
[gdb/testsuite] Fix gdb.rust/traits.exp with -readnow
With test-case gdb.rust/traits.exp and target board readnow we get:
...
FAIL: gdb.rust/traits.exp: print *td
FAIL: gdb.rust/traits.exp: print *tu
...
Mark these FAILs as KFAILs.
Tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2020-10-28 Tom de Vries <tdevries@suse.de>
* lib/gdb.exp (readnow): Handle arg.
* gdb.rust/traits.exp: Add KFAILs for -readnow.
Diffstat (limited to 'gdb/testsuite/gdb.rust/traits.exp')
-rw-r--r-- | gdb/testsuite/gdb.rust/traits.exp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.rust/traits.exp b/gdb/testsuite/gdb.rust/traits.exp index 41e58e1..d237b92 100644 --- a/gdb/testsuite/gdb.rust/traits.exp +++ b/gdb/testsuite/gdb.rust/traits.exp @@ -43,5 +43,13 @@ if {![runto ${srcfile}:$line]} { return -1 } +set readnow_p [readnow $binfile] + +if { $readnow_p } { + setup_kfail "gdb/26799" *-*-* +} gdb_test "print *td" " = 23.5" +if { $readnow_p } { + setup_kfail "gdb/26799" *-*-* +} gdb_test "print *tu" " = 23" |