* gdb.threads/current-lwp-dead.exp: Only run this on Linux.
authorMark Kettenis <kettenis@gnu.org>
Fri, 11 Sep 2009 14:07:37 +0000 (14:07 +0000)
committerMark Kettenis <kettenis@gnu.org>
Fri, 11 Sep 2009 14:07:37 +0000 (14:07 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/current-lwp-dead.exp

index 44d1c0b..1aa557f 100644 (file)
@@ -1,3 +1,7 @@
+2009-09-11  Mark Kettenis  <kettenis@gnu.org>
+
+       * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
+
 2009-09-10  Doug Evans  <dje@google.com>
 
        * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
index bb175cd..14b335d 100644 (file)
 # 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
 }