aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/linux-dp.exp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-01-04 23:05:05 +0000
committerDaniel Jacobowitz <drow@false.org>2003-01-04 23:05:05 +0000
commitb5ab8ff3a405de207d647b0fd0a3346939c8042e (patch)
treeca60b64461ba4decd20316b12ecc94be8528b9d0 /gdb/testsuite/gdb.threads/linux-dp.exp
parentff2d781336965fc130fa7deaa00efb635d95af43 (diff)
downloadgdb-b5ab8ff3a405de207d647b0fd0a3346939c8042e.zip
gdb-b5ab8ff3a405de207d647b0fd0a3346939c8042e.tar.gz
gdb-b5ab8ff3a405de207d647b0fd0a3346939c8042e.tar.bz2
Fix PR gdb/844
* lib/gdb.exp (gdb_compile): Handle "quiet" option. (gdb_compile_pthreads): Pass "quiet" to gdb_compile. * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return instead of calling gdb_suppress_entire_file. * gdb.threads/print-threads.exp: Likewise. * gdb.threads/schedlock.exp: Likewise. * gdb.threads/killed.exp: Return instead of calling gdb_suppress_entire_file. * gdb.threads/linux-dp.exp: Likewise. * gdb.threads/pthreads.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.threads/linux-dp.exp')
-rw-r--r--gdb/testsuite/gdb.threads/linux-dp.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.threads/linux-dp.exp b/gdb/testsuite/gdb.threads/linux-dp.exp
index 67ed122..6d48b0d 100644
--- a/gdb/testsuite/gdb.threads/linux-dp.exp
+++ b/gdb/testsuite/gdb.threads/linux-dp.exp
@@ -1,4 +1,4 @@
-# Copyright 1999, 2001, 2002 Free Software Foundation, Inc.
+# Copyright 1999, 2001, 2002, 2003 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
@@ -50,7 +50,7 @@ set testfile "linux-dp"
set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}
if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug libs=-lpthread}] != ""} {
- gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
+ return -1
}
gdb_start