summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.c++/annota2.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.c++/annota2.exp')
-rw-r--r--gdb/testsuite/gdb.c++/annota2.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.c++/annota2.exp b/gdb/testsuite/gdb.c++/annota2.exp
index 0a58cd4193d..1e25c5d382f 100644
--- a/gdb/testsuite/gdb.c++/annota2.exp
+++ b/gdb/testsuite/gdb.c++/annota2.exp
@@ -31,6 +31,8 @@ if $tracelevel then {
set prms_id 0
set bug_id 0
+if { [skip_cplus_tests] } { continue }
+
set testfile "annota2"
set srcfile ${testfile}.cc
set binfile ${objdir}/${subdir}/${testfile}