From: solar Date: Thu, 1 Jun 2006 06:29:06 +0000 (+0000) Subject: Disabled regtests for functionality internal to PDCLib. X-Git-Tag: v0.5~177 X-Git-Url: https://pd.if.org/git/?p=pdclib;a=commitdiff_plain;h=8130f23f1b48ba7fc0d22365bb38dcd396144911 Disabled regtests for functionality internal to PDCLib. --- diff --git a/functions/stdio/remove.c b/functions/stdio/remove.c index 0318c21..510a4e2 100644 --- a/functions/stdio/remove.c +++ b/functions/stdio/remove.c @@ -24,7 +24,11 @@ int remove( const char * filename ) int main( void ) { +#ifndef REGTEST TESTCASE( NO_TESTDRIVER ); +#else + puts( "No testing of remove() - test driver does not know internals of system function." ); +#endif return TEST_RESULTS; } diff --git a/functions/stdio/rename.c b/functions/stdio/rename.c index d21e2a2..8e2d3e0 100644 --- a/functions/stdio/rename.c +++ b/functions/stdio/rename.c @@ -24,7 +24,11 @@ int rename( const char * old, const char * new ) int main( void ) { +#ifndef REGTEST TESTCASE( NO_TESTDRIVER ); +#else + puts( "No testing of rename() - test driver does not know internals of system function." ); +#endif return TEST_RESULTS; } diff --git a/functions/stdlib/malloc.c b/functions/stdlib/malloc.c index 3dd0ac8..2286d0d 100644 --- a/functions/stdlib/malloc.c +++ b/functions/stdlib/malloc.c @@ -242,7 +242,7 @@ int main( void ) printf( "End of malloc() testing.\n" ); } #else - printf( "No testing of malloc() - test driver does not know internals of system malloc().\n" ); + puts( "No testing of malloc() - test driver does not know internals of system function." ); #endif return TEST_RESULTS; }