aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.compile/compile-cplus-namespace.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.compile/compile-cplus-namespace.exp')
-rw-r--r--gdb/testsuite/gdb.compile/compile-cplus-namespace.exp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.compile/compile-cplus-namespace.exp b/gdb/testsuite/gdb.compile/compile-cplus-namespace.exp
index c99b2e4..ffc1333 100644
--- a/gdb/testsuite/gdb.compile/compile-cplus-namespace.exp
+++ b/gdb/testsuite/gdb.compile/compile-cplus-namespace.exp
@@ -19,10 +19,7 @@ load_lib compile-support.exp
standard_testfile .cc
-if {[skip_cplus_tests]} {
- untested "skipping C++ tests"
- return
-}
+require !skip_cplus_tests
if {[prepare_for_testing $testfile $testfile $srcfile \
{debug nowarnings c++}]} {