X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Fvsprintf.c;h=bdb8a796df47b081ab6774532879e0dc3da85f4a;hp=803485e48032528cb390dcf899469d202de17185;hb=0f88da0454edf3c1ca1a7f786c2fd9afdef0eb9c;hpb=17d539d4dad385b70e22c3611c7642e0a020d990 diff --git a/functions/stdio/vsprintf.c b/functions/stdio/vsprintf.c index 803485e..bdb8a79 100644 --- a/functions/stdio/vsprintf.c +++ b/functions/stdio/vsprintf.c @@ -20,6 +20,7 @@ int vsprintf( char * _PDCLIB_restrict s, const char * _PDCLIB_restrict format, v #endif #ifdef TEST +#define _PDCLIB_FILEID "stdio/vsprintf.c" #include <_PDCLIB_test.h> #include @@ -36,9 +37,6 @@ static int testprintf( char * s, const char * format, ... ) return i; } -#define TESTCASE_SPRINTF( x ) if ( strcmp( target, x ) == 0 ) {} \ - else { TEST_RESULTS += 1; printf( "FAILED: " __FILE__ ", line %d - \"%s\" != %s\n", __LINE__, target, #x ); } - int main( void ) { char target[100];