diff options
Diffstat (limited to 'gdb/testsuite/gdb.rust/simple.exp')
-rw-r--r-- | gdb/testsuite/gdb.rust/simple.exp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.rust/simple.exp b/gdb/testsuite/gdb.rust/simple.exp index f0cad4e7634..b32eaf1e4dc 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 |