|
From: <sv...@va...> - 2007-11-26 00:11:02
|
Author: sewardj
Date: 2007-11-26 00:11:04 +0000 (Mon, 26 Nov 2007)
New Revision: 7222
Log:
Make drd regtests work again following core changes. (Bart Van Assche)
Modified:
trunk/exp-drd/tests/abort.cpp
trunk/exp-drd/tests/filter_stderr
trunk/glibc-2.X-drd.supp
Modified: trunk/exp-drd/tests/abort.cpp
===================================================================
--- trunk/exp-drd/tests/abort.cpp 2007-11-26 00:00:32 UTC (rev 7221)
+++ trunk/exp-drd/tests/abort.cpp 2007-11-26 00:11:04 UTC (rev 7222)
@@ -8,7 +8,7 @@
#include <fstream>
#include <cassert>
#include <pthread.h>
-#include <stdio.h>.
+#include <stdio.h>
static pthread_mutex_t s_mutex;
void* thread_func(void*)
Modified: trunk/exp-drd/tests/filter_stderr
===================================================================
--- trunk/exp-drd/tests/filter_stderr 2007-11-26 00:00:32 UTC (rev 7221)
+++ trunk/exp-drd/tests/filter_stderr 2007-11-26 00:11:04 UTC (rev 7222)
@@ -9,7 +9,7 @@
# Remove libpthread's version number.
# Remove line numbers from stack traces.
sed \
--e "/^drd, a data race detector\.$/d" \
+-e "/^exp-drd, a data race detector\.$/d" \
-e "/^NOTE: This is an Experimental-Class Valgrind Tool.$/d" \
-e "/^Copyright (C) 2006-200., and GNU GPL'd, by Bart Van Assche.$/d" \
-e "s/in [^ ]*libpthread-[0-9]*\.[0-9]*\.so/in libpthread-?.?.so/" \
Modified: trunk/glibc-2.X-drd.supp
===================================================================
--- trunk/glibc-2.X-drd.supp 2007-11-26 00:00:32 UTC (rev 7221)
+++ trunk/glibc-2.X-drd.supp 2007-11-26 00:11:04 UTC (rev 7222)
@@ -78,6 +78,30 @@
{
pthread
exp-drd:ConflictingAccess
+ obj:/lib64/libpthread-2.6.1.so
+ fun:start_thread
+ fun:clone
+}
+{
+ pthread
+ exp-drd:ConflictingAccess
+ obj:/lib64/libc-2.6.1.so
+ fun:__libc_thread_freeres
+ fun:start_thread
+ fun:clone
+}
+{
+ pthread
+ exp-drd:ConflictingAccess
+ obj:/lib64/libc-2.6.1.so
+ obj:/lib64/libc-2.6.1.so
+ fun:__libc_thread_freeres
+ fun:start_thread
+ fun:clone
+}
+{
+ pthread
+ exp-drd:ConflictingAccess
fun:__nptl_deallocate_tsd
fun:start_thread
fun:clone
|