|
From: <sv...@va...> - 2016-02-28 10:38:04
|
Author: mjw
Date: Sun Feb 28 10:37:55 2016
New Revision: 15818
Log:
Fix memcheck/tests/memalign_test expected output.
r15815 "Allow 8k and 32k page sizes" added an extra line in memalign_test.c.
This changed the line numbers in the output compared to the .exp file.
Just put everything on one (long) line to match expectations again.
Modified:
trunk/memcheck/tests/memalign_test.c
Modified: trunk/memcheck/tests/memalign_test.c
==============================================================================
--- trunk/memcheck/tests/memalign_test.c (original)
+++ trunk/memcheck/tests/memalign_test.c Sun Feb 28 10:37:55 2016
@@ -10,8 +10,7 @@
int i;
unsigned long pszB = sysconf(_SC_PAGE_SIZE);
assert(sizeof(long) == sizeof(void*));
- assert(pszB == 4096 || pszB == 8192 || pszB == 16384 || pszB == 32768
- || pszB == 65536);
+ assert(pszB == 4096 || pszB == 8192 || pszB == 16384 || pszB == 32768 || pszB == 65536); /* All on one line to match linenumbers in the .exp file. */
for (i = 0; i < 10; i++) {
a[i] = valloc(11111 * (i+1));
|
|
From: Petar J. <mip...@gm...> - 2016-02-29 13:10:43
|
On Sun, Feb 28, 2016 at 11:37 AM, <sv...@va...> wrote: > Author: mjw > Date: Sun Feb 28 10:37:55 2016 > New Revision: 15818 > > Log: > Fix memcheck/tests/memalign_test expected output. > > r15815 "Allow 8k and 32k page sizes" added an extra line in > memalign_test.c. > This changed the line numbers in the output compared to the .exp file. > Just put everything on one (long) line to match expectations again. > > My fault, I modified one line into two line just seconds before I committed it, without thinking it would mess up the .exp file. Thanks Mark for fixing it over the weekend. Regards, Petar |