diff options
-rw-r--r-- | gdb/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.rust/simple.exp | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 9fdbcb8..7c62458 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2020-08-17 Tom de Vries <tdevries@suse.de> + Tom Tromey <tromey@adacore.com> + + PR rust/26197: + * gdb.rust/simple.exp (xfail_pattern): Update for new failure. + 2020-08-17 Tom Tromey <tromey@adacore.com> * gdb.ada/mi_var_access.exp: New file. diff --git a/gdb/testsuite/gdb.rust/simple.exp b/gdb/testsuite/gdb.rust/simple.exp index f0cad4e..b32eaf1 100644 --- a/gdb/testsuite/gdb.rust/simple.exp +++ b/gdb/testsuite/gdb.rust/simple.exp @@ -239,7 +239,8 @@ gdb_test "print .." " = .*::ops::RangeFull" set pass_pattern \ " = core::option::Option<\[a-z\]+::string::String>::Some\\(\[a-z\]+::string::String .*" -set xfail_pattern " = <error reading variable>" +set xfail_pattern \ + "( = <error reading variable>|That operation is not available on .*)" gdb_test_multiple "print str_some" "" { -re "\[\r\n\]*(?:$pass_pattern)\[\r\n\]+$gdb_prompt $" { pass $gdb_test_name |