Author: njn
Date: 2007-09-24 03:43:46 +0100 (Mon, 24 Sep 2007)
New Revision: 6906

Log:
Don't need basic_malloc test now that we have lots of other tests.

Removed:
   branches/MASSIF2/massif/tests/basic_malloc.c
   branches/MASSIF2/massif/tests/basic_malloc.stderr.exp
   branches/MASSIF2/massif/tests/basic_malloc.vgtest
Modified:
   branches/MASSIF2/massif/tests/Makefile.am


Modified: branches/MASSIF2/massif/tests/Makefile.am
===================================================================
--- branches/MASSIF2/massif/tests/Makefile.am   2007-09-24 02:15:42 UTC (rev 
6905)
+++ branches/MASSIF2/massif/tests/Makefile.am   2007-09-24 02:43:46 UTC (rev 
6906)
@@ -8,7 +8,6 @@
        alloc-fns-A.post.exp alloc-fns-A.stderr.exp alloc-fns-A.vgtest \
        alloc-fns-B.post.exp alloc-fns-B.stderr.exp alloc-fns-B.vgtest \
        basic.post.exp basic.stderr.exp basic.vgtest \
-        basic_malloc.stderr.exp basic_malloc.vgtest \
         culling1.stderr.exp culling1.vgtest \
         culling2.stderr.exp culling2.vgtest \
        long-time.post.exp long-time.stderr.exp long-time.vgtest \
@@ -30,7 +29,6 @@
 check_PROGRAMS = \
        alloc-fns \
        basic \
-       basic_malloc \
        culling1 culling2 \
        long-time \
        null \

Deleted: branches/MASSIF2/massif/tests/basic_malloc.c
===================================================================
--- branches/MASSIF2/massif/tests/basic_malloc.c        2007-09-24 02:15:42 UTC 
(rev 6905)
+++ branches/MASSIF2/massif/tests/basic_malloc.c        2007-09-24 02:43:46 UTC 
(rev 6906)
@@ -1,31 +0,0 @@
-// In 3.0.0, Massif was badly broken on 64-bit platforms because it asked
-// zero-sized redzones, and the allocator was forgetting to round the size
-// up to sizeof(void*), which is the minimum.  This caused bugs #111090 and
-// #111285.  This test is just a gentle allocation exercise which was
-// failing.
-
-#include <stdlib.h>
-#include <stdio.h>
-
-#define NN  100
-
-int main(void)
-{ 
-   int i;
-   char* a[NN];
-
-   for (i = i; i < NN; i++) {
-      a[i] = malloc(i);
-   }
-   
-   for (i = i; i < NN; i++) {
-      a[i] = realloc(a[i], NN - i);
-   }
-   
-   for (i = i; i < NN; i++) {
-      free(a[i]);
-   }
-   
-   return 0;
-}
-

Deleted: branches/MASSIF2/massif/tests/basic_malloc.stderr.exp
===================================================================
--- branches/MASSIF2/massif/tests/basic_malloc.stderr.exp       2007-09-24 
02:15:42 UTC (rev 6905)
+++ branches/MASSIF2/massif/tests/basic_malloc.stderr.exp       2007-09-24 
02:43:46 UTC (rev 6906)
@@ -1,2 +0,0 @@
-
-

Deleted: branches/MASSIF2/massif/tests/basic_malloc.vgtest
===================================================================
--- branches/MASSIF2/massif/tests/basic_malloc.vgtest   2007-09-24 02:15:42 UTC 
(rev 6905)
+++ branches/MASSIF2/massif/tests/basic_malloc.vgtest   2007-09-24 02:43:46 UTC 
(rev 6906)
@@ -1,2 +0,0 @@
-prog: basic_malloc
-cleanup: rm massif.out


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Valgrind-developers mailing list
Valgrind-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to