aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/method2.exp
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-12-13 15:35:59 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:55 -0700
commit7978d474f213ca9fbd37738f0d9350ff4a94d53b (patch)
tree21a2b6af77b1986a1ca03c58b928b962c541c44a /gdb/testsuite/gdb.cp/method2.exp
parent18d2b8767a86e819c911d12077ad9a1ab6f289a3 (diff)
downloadgdb-7978d474f213ca9fbd37738f0d9350ff4a94d53b.zip
gdb-7978d474f213ca9fbd37738f0d9350ff4a94d53b.tar.gz
gdb-7978d474f213ca9fbd37738f0d9350ff4a94d53b.tar.bz2
Use require !skip_cplus_tests
This changes some tests to use "require !skip_cplus_tests".
Diffstat (limited to 'gdb/testsuite/gdb.cp/method2.exp')
-rw-r--r--gdb/testsuite/gdb.cp/method2.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/method2.exp b/gdb/testsuite/gdb.cp/method2.exp
index 36a5662..04a064b 100644
--- a/gdb/testsuite/gdb.cp/method2.exp
+++ b/gdb/testsuite/gdb.cp/method2.exp
@@ -18,7 +18,7 @@
# This tests setting a break in an ambiguous c++ method with
# current_language set to c.
-if { [skip_cplus_tests] } { return }
+require !skip_cplus_tests
standard_testfile .cc