summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.c++/misc.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.c++/misc.exp')
-rw-r--r--gdb/testsuite/gdb.c++/misc.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.c++/misc.exp b/gdb/testsuite/gdb.c++/misc.exp
index 7d64e4a7fea..07465ac532c 100644
--- a/gdb/testsuite/gdb.c++/misc.exp
+++ b/gdb/testsuite/gdb.c++/misc.exp
@@ -23,9 +23,7 @@ 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 }
set testfile "misc"
set srcfile ${testfile}.cc