diff options
Diffstat (limited to 'gdb/testsuite/gdb.hp/classes-hp.exp')
-rw-r--r-- | gdb/testsuite/gdb.hp/classes-hp.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.hp/classes-hp.exp b/gdb/testsuite/gdb.hp/classes-hp.exp index cb22c96e8fc..f67a2af8053 100644 --- a/gdb/testsuite/gdb.hp/classes-hp.exp +++ b/gdb/testsuite/gdb.hp/classes-hp.exp @@ -25,6 +25,7 @@ if $tracelevel then { strace $tracelevel } +if { [skip_hp_tests] } then { continue } # 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. @@ -37,9 +38,8 @@ set binfile ${objdir}/${subdir}/${testfile} if [get_compiler_info ${binfile} "c++"] { return -1; } - - -if {[skip_hp_tests $gcc_compiled]} then { continue } + +if { $gcc_compiled } then { continue } if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug c++}] != "" } { gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." |