Replace fprintf with malloc_printf in tests.

This commit is contained in:
Mike Hommey
2012-04-16 16:30:26 +02:00
committed by Jason Evans
parent fa08da752b
commit 45f208e112
12 changed files with 108 additions and 108 deletions

View File

@@ -7,12 +7,6 @@
* */
#include <assert.h>
/*
* Directly include the bitmap code, since it isn't exposed outside
* libjemalloc.
*/
#include "../src/bitmap.c"
#if (LG_BITMAP_MAXBITS > 12)
# define MAXBITS 4500
#else
@@ -144,7 +138,7 @@ test_bitmap_sfu(void)
int
main(void)
{
fprintf(stderr, "Test begin\n");
malloc_printf("Test begin\n");
test_bitmap_size();
test_bitmap_init();
@@ -152,6 +146,6 @@ main(void)
test_bitmap_unset();
test_bitmap_sfu();
fprintf(stderr, "Test end\n");
malloc_printf("Test end\n");
return (0);
}