From: Bart Van Assche Date: Fri, 29 Jul 2011 06:58:16 +0000 (+0000) Subject: Yet another thread test scheduler sensitivity fix X-Git-Tag: svn/VALGRIND_3_7_0~298 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea04ec55b69e5faafe95e5e8cc20f2e110faa714;p=thirdparty%2Fvalgrind.git Yet another thread test scheduler sensitivity fix git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11939 --- diff --git a/drd/tests/rwlock_race.stderr.exp b/drd/tests/rwlock_race.stderr.exp index 124b2c4cd1..8350b50e76 100644 --- a/drd/tests/rwlock_race.stderr.exp +++ b/drd/tests/rwlock_race.stderr.exp @@ -1,16 +1,15 @@ -Thread 3: -Conflicting load by thread 3 at 0x........ size 4 +Conflicting load by thread x at 0x........ size 4 at 0x........: thread_func (rwlock_race.c:?) by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) Location 0x........ is 0 bytes inside local var "s_racy" -declared at rwlock_race.c:18, in frame #? of thread 3 +declared at rwlock_race.c:18, in frame #? of thread x -Conflicting store by thread 3 at 0x........ size 4 +Conflicting store by thread x at 0x........ size 4 at 0x........: thread_func (rwlock_race.c:?) by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) Location 0x........ is 0 bytes inside local var "s_racy" -declared at rwlock_race.c:18, in frame #? of thread 3 +declared at rwlock_race.c:18, in frame #? of thread x Result: 2 diff --git a/drd/tests/rwlock_race.vgtest b/drd/tests/rwlock_race.vgtest index b5834ebaec..c6a60ff251 100644 --- a/drd/tests/rwlock_race.vgtest +++ b/drd/tests/rwlock_race.vgtest @@ -1,3 +1,4 @@ prereq: ./supported_libpthread vgopts: --show-confl-seg=no --read-var-info=yes --num-callers=2 prog: rwlock_race +stderr_filter: filter_stderr_and_thread_no