daily update
[external/binutils.git] / gdb / testsuite / gdb.threads / attach-stopped.exp
index 27da341..dfe190b 100644 (file)
@@ -1,5 +1,4 @@
-# Copyright 2008
-# Free Software Foundation, Inc.
+# Copyright 2008, 2009 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -141,7 +140,8 @@ proc corefunc { threadtype } {
 # build the test case first without threads
 #
 if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
-    gdb_suppress_entire_file "Testcase nonthraded compile failed, so all tests in this file will automatically fail."
+    untested "attach-stopped.exp (unthreaded)"
+    return -1
 }
 
 corefunc nonthreaded
@@ -149,7 +149,8 @@ corefunc nonthreaded
 # build the test case first without threads
 #
 if  { [gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug additional_flags=-DUSE_THREADS}] != "" } {
-    gdb_suppress_entire_file "Testcase threaded compile failed, so all tests in this file will automatically fail."
+    untested "attach-stopped.exp (threaded)"
+    return -1
 }
 
 corefunc threaded