* 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 44d1c0bd9354f0ed150cecce1bc8ad9baa1af8f6..1aa557fd4888dc4818dc5cbbbead44c59eec4d62 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 bb175cd6a3e3b62c63c73230cbb22e86897dfc81..14b335d88d220d011d915c70e9755208c02aabfc 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
 }