This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]