aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/align.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/align.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/align.exp')
-rw-r--r--gdb/testsuite/gdb.cp/align.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/align.exp b/gdb/testsuite/gdb.cp/align.exp
index f1c8f5f..b75024d 100644
--- a/gdb/testsuite/gdb.cp/align.exp
+++ b/gdb/testsuite/gdb.cp/align.exp
@@ -18,7 +18,7 @@
# This tests that C++ alignof works in gdb, and that it agrees with
# the compiler.
-if {[skip_cplus_tests]} { continue }
+require !skip_cplus_tests
# The types we're going to test.