Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Fri, 15 Jan 1999 19:10:52 +0000 (19:10 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Fri, 15 Jan 1999 19:10:52 +0000 (19:10 +0000)
* gdb.hp/watch-cmd.exp: do not execute unless on hppa-hpux platform
and compiled w/o GCC.

* gdb.hp/watch-hp.exp: ditto.

* gdb.hp/xdb1.exp: ditto.

* gdb.hp/xdb2.exp: ditto.

* gdb.hp/dbx.exp: ditto.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.hp/dbx.exp
gdb/testsuite/gdb.hp/watch-cmd.exp
gdb/testsuite/gdb.hp/watch-hp.exp
gdb/testsuite/gdb.hp/xdb1.exp
gdb/testsuite/gdb.hp/xdb2.exp

index 00f78b5..8c5e0f3 100644 (file)
@@ -1,3 +1,16 @@
+Fri Jan 15 14:04:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * gdb.hp/watch-cmd.exp: do not execute unless on hppa-hpux platform 
+       and compiled w/o GCC. 
+
+       * gdb.hp/watch-hp.exp: ditto.
+
+       * gdb.hp/xdb1.exp: ditto.
+
+       * gdb.hp/xdb2.exp: ditto.
+
+       * gdb.hp/dbx.exp: ditto.
+
 Thu Jan 14 18:36:48 1999  Stan Shebs  <shebs@andros.cygnus.com>
 
        * constvars.c: Remove C++-isms.
index ea953f3..66f24e9 100644 (file)
@@ -22,6 +22,7 @@ if $tracelevel then {
         strace $tracelevel
 }
 
+
 set testfile1 "average"
 set testfile2 "sum"
 set testfile "dbx-test"
@@ -43,6 +44,10 @@ if  { [gdb_compile "${binfile1}.o ${binfile2}.o" ${binfile} executable {debug}]
      gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
 }
 
+if [get_compiler_info ${binfile}] {
+    return -1;
+}
+if {[skip_hp_tests $gcc_compiled]} then { continue }
 
 proc dbx_reinitialize_dir { subdir } {
     global gdb_prompt
index 968a524..a7e3b5c 100644 (file)
@@ -35,6 +35,22 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
 
 }
 
+# are we on a target board
+if ![isnative] then {
+    return
+}
+
+if {![istarget "hppa*-*-hpux10.30"] && ![istarget "hppa*-*-hpux11.*"]} {
+    #setup_xfail "*-*.*"
+    return 0
+}
+
+if [get_compiler_info ${binfile}] {
+    return -1;
+}
+if {[skip_hp_tests $gcc_compiled]} then { continue }
+
+
 gdb_exit
 gdb_start
 delete_breakpoints
@@ -144,3 +160,6 @@ watchpoint_command_test
 
 
 
+
+
+
index e25441b..a1c3fc8 100644 (file)
@@ -33,6 +33,11 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
      gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
 }
 
+if [get_compiler_info ${binfile}] {
+    return -1;
+}
+if {[skip_hp_tests $gcc_compiled]} then { continue }
+
 # Prepare for watchpoint tests by setting up two breakpoints and one
 # watchpoint.
 #
index 57e20da..88ab2fc 100644 (file)
@@ -23,6 +23,7 @@ if $tracelevel then {
         strace $tracelevel
         }
 
+
 global usestubs
 
 #
@@ -38,6 +39,11 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
      gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
 }
 
+if [get_compiler_info ${binfile}] {
+    return -1;
+}
+if {[skip_hp_tests $gcc_compiled]} then { continue }
+
 global GDBFLAGS
 set saved_gdbflags $GDBFLAGS
 
index b138ee3..4cc7b34 100644 (file)
@@ -49,6 +49,13 @@ 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 }
+
+
 global GDBFLAGS
 set saved_gdbflags $GDBFLAGS
 set GDBFLAGS "$GDBFLAGS --xdb"