From: Bart Van Assche Date: Sun, 21 Dec 2008 16:10:36 +0000 (+0000) Subject: Made config.h include path consistent with the other regression tests. X-Git-Tag: svn/VALGRIND_3_4_0~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7dbb0d915cd5f64d1b125616b457e8e229dc360;p=thirdparty%2Fvalgrind.git Made config.h include path consistent with the other regression tests. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8851 --- diff --git a/drd/tests/atomic_var.c b/drd/tests/atomic_var.c index 3133846ad4..a4e6ab2f37 100644 --- a/drd/tests/atomic_var.c +++ b/drd/tests/atomic_var.c @@ -8,10 +8,10 @@ #define _GNU_SOURCE -#include "config.h" #include #include /* fprintf() */ #include /* atoi() */ +#include "../../config.h" /** Only gcc 4.1.0 and later have atomic builtins. */ diff --git a/drd/tests/atomic_var.stderr.exp-with-atomic-builtins b/drd/tests/atomic_var.stderr.exp-with-atomic-builtins index 464f419ddd..1f881b21ce 100644 --- a/drd/tests/atomic_var.stderr.exp-with-atomic-builtins +++ b/drd/tests/atomic_var.stderr.exp-with-atomic-builtins @@ -7,7 +7,7 @@ Conflicting load by thread 2/3 at 0x........ size 4 by 0x........: (within libpthread-?.?.so) by 0x........: clone (in /...libc...) Location 0x........ is 0 bytes inside local var "s_y" -declared at atomic_var.c:33, in frame #? of thread 2 +declared at atomic_var.c:39, in frame #? of thread 2 y = 1 Test finished.