From: Julian Seward Date: Sun, 2 Apr 2006 02:27:52 +0000 (+0000) Subject: Don't print an address on stdout as it doesn't get automagically X-Git-Tag: svn/VALGRIND_3_2_0~147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7a953128b0f00a7aa7fb346d1bb8d2a81af74d3;p=thirdparty%2Fvalgrind.git Don't print an address on stdout as it doesn't get automagically changed into 0x......... git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5812 --- diff --git a/memcheck/tests/sh-mem-random.c b/memcheck/tests/sh-mem-random.c index 2c3326662e..9befa390c2 100644 --- a/memcheck/tests/sh-mem-random.c +++ b/memcheck/tests/sh-mem-random.c @@ -111,7 +111,7 @@ void do_test_at ( U1* arr ) U4 mv1 = 0, mv2 = 0, mv4 = 0, mv8 = 0, mv4f = 0, mv8f = 0; /* Fill arr with random bytes whose shadows match them. */ - printf("-------- arr = %p\n", arr); + if (0) printf("-------- arr = %p\n", arr); printf("initialising\n"); for (i = 0; i < N_BYTES; i++) diff --git a/memcheck/tests/sh-mem-random.stdout.exp b/memcheck/tests/sh-mem-random.stdout.exp index fb71082b6a..47a0a81518 100644 --- a/memcheck/tests/sh-mem-random.stdout.exp +++ b/memcheck/tests/sh-mem-random.stdout.exp @@ -1,5 +1,4 @@ -------- testing non-auxmap range -------- --------- arr = 0x415b028 initialising post-initialisation check test passed, sum = 38338686 (127.79562 per byte)