aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.rust/expr.exp
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-12-13 16:08:13 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:55 -0700
commita9145b105e28caeded3ea8135e35e5984fa10f37 (patch)
tree1e4484a91faf0e25386d10a55a3a07c8c821421e /gdb/testsuite/gdb.rust/expr.exp
parentc89196229b8aa7966b148b7719f795b9b2db8b02 (diff)
downloadbinutils-a9145b105e28caeded3ea8135e35e5984fa10f37.zip
binutils-a9145b105e28caeded3ea8135e35e5984fa10f37.tar.gz
binutils-a9145b105e28caeded3ea8135e35e5984fa10f37.tar.bz2
Use require !skip_rust_tests
This changes some tests to use "require !skip_rust_tests".
Diffstat (limited to 'gdb/testsuite/gdb.rust/expr.exp')
-rw-r--r--gdb/testsuite/gdb.rust/expr.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.rust/expr.exp b/gdb/testsuite/gdb.rust/expr.exp
index d67199e..8fd6b23 100644
--- a/gdb/testsuite/gdb.rust/expr.exp
+++ b/gdb/testsuite/gdb.rust/expr.exp
@@ -17,7 +17,7 @@
# Rust compiler. This serves as a smoke test.
load_lib "rust-support.exp"
-if {[skip_rust_tests]} { return }
+require !skip_rust_tests
gdb_start