From 8130f23f1b48ba7fc0d22365bb38dcd396144911 Mon Sep 17 00:00:00 2001 From: solar Date: Thu, 1 Jun 2006 06:29:06 +0000 Subject: [PATCH] Disabled regtests for functionality internal to PDCLib. --- functions/stdio/remove.c | 4 ++++ functions/stdio/rename.c | 4 ++++ functions/stdlib/malloc.c | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) 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; } -- 2.40.0