aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/class2.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/class2.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/class2.exp')
-rw-r--r--gdb/testsuite/gdb.cp/class2.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/class2.exp b/gdb/testsuite/gdb.cp/class2.exp
index 6270be4..ea7cdf1 100644
--- a/gdb/testsuite/gdb.cp/class2.exp
+++ b/gdb/testsuite/gdb.cp/class2.exp
@@ -13,7 +13,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if { [skip_cplus_tests] } { return }
+require !skip_cplus_tests
standard_testfile .cc