This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[patch] Run Linux-specific test only on Linux
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb-patches at sourceware dot org
- Date: Fri, 11 Sep 2009 16:08:08 +0200 (CEST)
- Subject: [patch] Run Linux-specific test only on Linux
The clone interface is Linux-specific, so only run this test on Linux.
Committed as obvious.
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* gdb.threads/current-lwp-dead.exp: Only run this on Linux.
Index: gdb.threads/current-lwp-dead.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.threads/current-lwp-dead.exp,v
retrieving revision 1.1
diff -u -p -r1.1 current-lwp-dead.exp
--- gdb.threads/current-lwp-dead.exp 29 Jun 2009 18:53:55 -0000 1.1
+++ gdb.threads/current-lwp-dead.exp 11 Sep 2009 13:54:38 -0000
@@ -18,6 +18,11 @@
# Please email any bugs, comments, and/or additions to this file to:
# bug-gdb@gnu.org
+# This only works with on Linux targets.
+if ![istarget *-*-linux*] then {
+ return
+}
+
if { [prepare_for_testing current-lwp-dead.exp current-lwp-dead] } {
return -1
}