summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.rust/methods.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.rust/methods.exp')
-rw-r--r--gdb/testsuite/gdb.rust/methods.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.rust/methods.exp b/gdb/testsuite/gdb.rust/methods.exp
index e57ef2fe21b..dfbebd6bc38 100644
--- a/gdb/testsuite/gdb.rust/methods.exp
+++ b/gdb/testsuite/gdb.rust/methods.exp
@@ -16,9 +16,7 @@
# Test method calls.
load_lib rust-support.exp
-if {[skip_rust_tests]} {
- return
-}
+require !skip_rust_tests
standard_testfile .rs
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug rust}]} {