|
From: <sv...@va...> - 2013-04-05 12:53:27
|
philippe 2013-04-05 13:53:16 +0100 (Fri, 05 Apr 2013)
New Revision: 13362
Log:
temporarily disable memalign part of the undef_malloc_args.c test
as this is breaking Darwin.
A better fix should follow
Modified files:
trunk/memcheck/tests/undef_malloc_args.c
trunk/memcheck/tests/undef_malloc_args.stderr.exp
Modified: trunk/memcheck/tests/undef_malloc_args.c (+3 -3)
===================================================================
--- trunk/memcheck/tests/undef_malloc_args.c 2013-04-04 22:10:22 +01:00 (rev 13361)
+++ trunk/memcheck/tests/undef_malloc_args.c 2013-04-05 13:53:16 +01:00 (rev 13362)
@@ -1,5 +1,5 @@
#include <stdlib.h>
-#include <malloc.h>
+//#include <malloc.h>
#include "../memcheck.h"
int main (int argc, char*argv[])
{
@@ -30,7 +30,7 @@
new_p = calloc(nmemb, def_size);
free (new_p);
}
-
+#if 0
{
size_t alignment = 1;
VALGRIND_MAKE_MEM_UNDEFINED(&alignment, 1);
@@ -52,6 +52,6 @@
new_p = valloc(size);
free (new_p);
}
-
+#endif
return 0;
}
Modified: trunk/memcheck/tests/undef_malloc_args.stderr.exp (+0 -13)
===================================================================
--- trunk/memcheck/tests/undef_malloc_args.stderr.exp 2013-04-04 22:10:22 +01:00 (rev 13361)
+++ trunk/memcheck/tests/undef_malloc_args.stderr.exp 2013-04-05 13:53:16 +01:00 (rev 13362)
@@ -18,16 +18,3 @@
at 0x........: calloc (vg_replace_malloc.c:...)
by 0x........: main (undef_malloc_args.c:30)
-Conditional jump or move depends on uninitialised value(s)
- at 0x........: memalign (vg_replace_malloc.c:...)
- by 0x........: main (undef_malloc_args.c:37)
-
-Conditional jump or move depends on uninitialised value(s)
- at 0x........: memalign (vg_replace_malloc.c:...)
- by 0x........: main (undef_malloc_args.c:45)
-
-Conditional jump or move depends on uninitialised value(s)
- at 0x........: memalign (vg_replace_malloc.c:...)
- by 0x........: valloc (vg_replace_malloc.c:...)
- by 0x........: main (undef_malloc_args.c:52)
-
|