]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove unneeded header file which does not exist on Darwin.
authorFlorian Krohm <florian@eich-krohm.de>
Sat, 27 Sep 2014 11:36:08 +0000 (11:36 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sat, 27 Sep 2014 11:36:08 +0000 (11:36 +0000)
Disable test for darwin as pthread_setname_np is not implemented.
But setting and observing the threadname is what this test is all about.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14573

NEWS
memcheck/tests/threadname.c
memcheck/tests/threadname.vgtest

diff --git a/NEWS b/NEWS
index 8ee9be3027a500442af99ba966f28dcb045a861f..f98d5496d82e7d6826e4e20a6641a92630bfa91c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -29,7 +29,8 @@ where XXXXXX is the bug number as listed below.
 
 338731 ppc: Fix testuite build for toolchains not supporting -maltivec
 339020 ppc64: memcheck/tests/ppc64/power_ISA2_05 failing in nightly build
-339156 - gdbsrv not called for fatal signal
+339156 gdbsrv not called for fatal signal
+339442 Fix testsuite build failure on OS X 10.9
 n-i-bz Old STABS code is still being compiled, but never used. Remove it.
 n-i-bz Fix compilation on distros with glibc < 2.5
 
index 69d8b22238f3e69549eeaf8255b9e15529dd7667..c08f8d825e024ab6cb76a1b3724f0966f06e1c5e 100644 (file)
@@ -3,11 +3,11 @@
 #include <pthread.h>
 #include <string.h>
 #include <stdlib.h>
-#include <sys/prctl.h>
 #include <sys/types.h>
 #include <unistd.h>
 #include <assert.h>
 
+
 static pthread_t children[3];
 
 void bad_things(int offset)
index 2692bd078491fc0e87fec67b0b1ecde27b78c2f1..22d04f8b3cb42b2e38a41b6b600ed27b092f7a9f 100644 (file)
@@ -1,3 +1,3 @@
 prog: threadname
-prereq: test -e ./threadname
+prereq: test -e ./threadname && ../../tests/os_test linux
 vgopts: -q