Copyright updates for 2007.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / interrupt.exp
index fc3a30cc12df3685a71f7e5740b6d8c71d73642d..2b1b3840b6b569789dd06e4560db67c131f5a58b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2007
 # Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # Please email any bugs, comments, and/or additions to this file to:
 # bug-gdb@prep.ai.mit.edu
 
-if [host_info exists name] {
-    if [board_info host exists gdb,nointerrupts] {
-       verbose "Skipping interrupt.exp because of nointerrupts."
-       continue
-    }
+if [target_info exists gdb,nointerrupts] {
+    verbose "Skipping interrupt.exp because of nointerrupts."
+    continue
 }
 
 if [target_info exists gdb,noinferiorio] {
@@ -41,7 +39,8 @@ set testfile interrupt
 set srcfile ${testfile}.c
 set binfile ${objdir}/${subdir}/${testfile}
 if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
-     gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
+     untested interrupt.exp
+     return -1
 }
 
 gdb_start
@@ -122,11 +121,11 @@ if ![file exists $binfile] then {
 
                setup_xfail "sparc*-*-solaris2*"
                setup_xfail "mips-*-ultrix*"
-               setup_xfail "i*86-*-*bsd*"
                setup_xfail "i*86-*-solaris2*"
                setup_xfail "*-*-sysv4*"
                setup_xfail "vax-*-*"
                setup_xfail "alpha-*-*"
+               setup_xfail "*-*-*bsd*"
                setup_xfail "*-*-irix*"
                setup_xfail "*-*-hpux*"
                setup_xfail "*-*-*lynx*"
This page took 0.028023 seconds and 4 git commands to generate.