|
From: <sv...@va...> - 2014-09-27 11:36:15
|
Author: florian
Date: Sat Sep 27 12:36:08 2014
New Revision: 14573
Log:
Remove unneeded header file which does not exist on Darwin.
Disable test for darwin as pthread_setname_np is not implemented.
But setting and observing the threadname is what this test is all about.
Modified:
trunk/NEWS
trunk/memcheck/tests/threadname.c
trunk/memcheck/tests/threadname.vgtest
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Sat Sep 27 12:36:08 2014
@@ -29,7 +29,8 @@
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
Modified: trunk/memcheck/tests/threadname.c
==============================================================================
--- trunk/memcheck/tests/threadname.c (original)
+++ trunk/memcheck/tests/threadname.c Sat Sep 27 12:36:08 2014
@@ -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)
Modified: trunk/memcheck/tests/threadname.vgtest
==============================================================================
--- trunk/memcheck/tests/threadname.vgtest (original)
+++ trunk/memcheck/tests/threadname.vgtest Sat Sep 27 12:36:08 2014
@@ -1,3 +1,3 @@
prog: threadname
-prereq: test -e ./threadname
+prereq: test -e ./threadname && ../../tests/os_test linux
vgopts: -q
|