aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.c++/inherit.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.c++/inherit.exp')
-rw-r--r--gdb/testsuite/gdb.c++/inherit.exp5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.c++/inherit.exp b/gdb/testsuite/gdb.c++/inherit.exp
index b1c28ed..e39b12a 100644
--- a/gdb/testsuite/gdb.c++/inherit.exp
+++ b/gdb/testsuite/gdb.c++/inherit.exp
@@ -26,9 +26,8 @@ if $tracelevel then {
strace $tracelevel
}
-# Check to see if we have an executable to test. If not, then either we
-# haven't tried to compile one, or the compilation failed for some reason.
-# In either case, just notify the user and skip the tests in this file.
+if { [skip_cplus_tests] } { continue }
+
# Note - create separate "inherit" executable from misc.cc
set testfile "inherit"