aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-xmethods.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.python/py-xmethods.exp
parent18d2b8767a86e819c911d12077ad9a1ab6f289a3 (diff)
downloadbinutils-7978d474f213ca9fbd37738f0d9350ff4a94d53b.zip
binutils-7978d474f213ca9fbd37738f0d9350ff4a94d53b.tar.gz
binutils-7978d474f213ca9fbd37738f0d9350ff4a94d53b.tar.bz2
Use require !skip_cplus_tests
This changes some tests to use "require !skip_cplus_tests".
Diffstat (limited to 'gdb/testsuite/gdb.python/py-xmethods.exp')
-rw-r--r--gdb/testsuite/gdb.python/py-xmethods.exp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.python/py-xmethods.exp b/gdb/testsuite/gdb.python/py-xmethods.exp
index 50d7bbe..8db5c39 100644
--- a/gdb/testsuite/gdb.python/py-xmethods.exp
+++ b/gdb/testsuite/gdb.python/py-xmethods.exp
@@ -18,10 +18,7 @@
load_lib gdb-python.exp
-if { [skip_cplus_tests] } {
- untested "skipping C++ tests"
- return
-}
+require !skip_cplus_tests
standard_testfile py-xmethods.cc