aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.hp/xdb2.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.hp/xdb2.exp')
-rw-r--r--gdb/testsuite/gdb.hp/xdb2.exp5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.hp/xdb2.exp b/gdb/testsuite/gdb.hp/xdb2.exp
index 4cc7b34..9bcdf58 100644
--- a/gdb/testsuite/gdb.hp/xdb2.exp
+++ b/gdb/testsuite/gdb.hp/xdb2.exp
@@ -23,6 +23,8 @@ if $tracelevel then {
strace $tracelevel
}
+if { [skip_hp_tests] } then { continue }
+
global message
#
@@ -49,12 +51,11 @@ if { [gdb_compile "${binfile}0.o ${binfile}1.o" ${binfile} executable {debug}]
return -1
}
-
if [get_compiler_info ${binfile}] {
return -1;
}
-if {[skip_hp_tests $gcc_compiled]} then { continue }
+if { $gcc_compiled } then { continue }
global GDBFLAGS
set saved_gdbflags $GDBFLAGS