aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-12-31 15:44:21 +0000
committerPedro Alves <palves@redhat.com>2008-12-31 15:44:21 +0000
commitc7a6ca08d72d061a797587d9ac51e1cd3f33bd42 (patch)
treea479c8e6a559122169f1fbfad10bb89422330501
parent3a031f650c8eea9f5b38fce3dc0b0c4f41cd358e (diff)
downloadgdb-c7a6ca08d72d061a797587d9ac51e1cd3f33bd42.zip
gdb-c7a6ca08d72d061a797587d9ac51e1cd3f33bd42.tar.gz
gdb-c7a6ca08d72d061a797587d9ac51e1cd3f33bd42.tar.bz2
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.
-rw-r--r--gdb/testsuite/ChangeLog7
-rw-r--r--gdb/testsuite/gdb.threads/attach-into-signal.exp6
-rw-r--r--gdb/testsuite/gdb.threads/attach-stopped.exp6
-rw-r--r--gdb/testsuite/gdb.threads/attachstop-mt.exp3
4 files changed, 17 insertions, 5 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5dab6d7..7244a1d 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,12 @@
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:
* gdb.base/signal.exp: Change kfail to fail, and update PR number.
diff --git a/gdb/testsuite/gdb.threads/attach-into-signal.exp b/gdb/testsuite/gdb.threads/attach-into-signal.exp
index ec59e45..2c8acac 100644
--- a/gdb/testsuite/gdb.threads/attach-into-signal.exp
+++ b/gdb/testsuite/gdb.threads/attach-into-signal.exp
@@ -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
diff --git a/gdb/testsuite/gdb.threads/attach-stopped.exp b/gdb/testsuite/gdb.threads/attach-stopped.exp
index 27da341..65a5f2b 100644
--- a/gdb/testsuite/gdb.threads/attach-stopped.exp
+++ b/gdb/testsuite/gdb.threads/attach-stopped.exp
@@ -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
diff --git a/gdb/testsuite/gdb.threads/attachstop-mt.exp b/gdb/testsuite/gdb.threads/attachstop-mt.exp
index aa2fe64..088ee5a 100644
--- a/gdb/testsuite/gdb.threads/attachstop-mt.exp
+++ b/gdb/testsuite/gdb.threads/attachstop-mt.exp
@@ -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}] {