X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdlib%2Fmalloc.c;h=769c447fbf19c044d3fba2eaeb8cdb3728b7d557;hb=f9f9ce7e59f5e144c6506e516454f2acc26cdbeb;hp=3dd0ac889ddbb12caa1f9ba7d4b74d45e9f6d06f;hpb=b08f4b52b1cd1f7a9553c0f357a7c90859fa3e73;p=pdclib diff --git a/functions/stdlib/malloc.c b/functions/stdlib/malloc.c index 3dd0ac8..769c447 100644 --- a/functions/stdlib/malloc.c +++ b/functions/stdlib/malloc.c @@ -165,8 +165,6 @@ void * sbrk( intptr_t ); int main( void ) { #ifndef REGTEST - printf( "Start of malloc() testing...\n" ); - { void * ptr1, * ptr2, * ptr3, * ptr4, * ptr5, * ptr6, * ptr7, * ptr8, * ptr9; char * pages_start = _PDCLIB_allocpages( 0 ); /* allocating 10 byte; expected: 1 page allocation, node split */ @@ -239,10 +237,8 @@ int main( void ) TESTCASE( memset( ptr9, 0, 4072 ) == ptr9 ); TESTCASE( PAGETEST( 9 ) ); NODETRACE( 17 ); - printf( "End of malloc() testing.\n" ); - } #else - printf( "No testing of malloc() - test driver does not know internals of system malloc().\n" ); + puts( " NOTEST malloc() test driver is PDCLib-specific." ); #endif return TEST_RESULTS; }