2008-12-31 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Wed, 31 Dec 2008 15:44:21 +0000 (15:44 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 31 Dec 2008 15:44:21 +0000 (15:44 +0000)
* gdb.threads/attach-into-signal.exp: Don't use
gdb_suppress_entire_file.
* gdb.threads/attach-stopped.exp: Ditto.
* gdb.threads/attachstop-mt.exp: Ditto.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/attach-into-signal.exp
gdb/testsuite/gdb.threads/attach-stopped.exp
gdb/testsuite/gdb.threads/attachstop-mt.exp

index 5dab6d7dfc0fb8c0ce7cb370ae5b94b2641d9e0a..7244a1da7714ef5c77a00ab26d1b9c3bd8874b8b 100644 (file)
@@ -1,3 +1,10 @@
+2008-12-31  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.threads/attach-into-signal.exp: Don't use
+       gdb_suppress_entire_file.
+       * gdb.threads/attach-stopped.exp: Ditto.
+       * gdb.threads/attachstop-mt.exp: Ditto.
+
 2008-12-31  Pedro Alves  <pedro@codesourcery.com>
 
        PR gdb/8812:
index ec59e45516f83e55e6922bc6a814bbc11903e3c9..2c8acac7202c6b6747112bd1a10f2be0059e8ed1 100644 (file)
@@ -144,7 +144,8 @@ gdb_exit
 # 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-into-signal.exp (unthreaded)"
+    return -1
 }
 
 gdb_start
@@ -157,7 +158,8 @@ corefunc nonthreaded
 # build the test case also with 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-into-signal.exp (threaded)"
+    return -1
 }
 
 gdb_start
index 27da3416955a37b3771014d01f66d354c826c744..65a5f2b9da3550bca738eafdf025c78fdc4fa080 100644 (file)
@@ -141,7 +141,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 +150,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
index aa2fe647901ccdbf327949efd33ff02ceb83cf47..088ee5a7afccae95da5735c090391e73037bfc0b 100644 (file)
@@ -36,7 +36,8 @@ remote_exec build "rm -f ${binfile}"
 # build the test case
 #
 if  { [gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
-    gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
+    untested attachstop-mt.exp
+    return -1
 }
 
 if [get_compiler_info ${binfile}] {