X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2Fstdio%2Fvsnprintf.c;h=9e54dca1bb392076e07c0566fa6449403b24b90b;hp=165ed54ce3a1fb600e317a383c7075edbd955a6f;hb=0f88da0454edf3c1ca1a7f786c2fd9afdef0eb9c;hpb=17d539d4dad385b70e22c3611c7642e0a020d990 diff --git a/functions/stdio/vsnprintf.c b/functions/stdio/vsnprintf.c index 165ed54..9e54dca 100644 --- a/functions/stdio/vsnprintf.c +++ b/functions/stdio/vsnprintf.c @@ -48,6 +48,7 @@ int vsnprintf( char * _PDCLIB_restrict s, size_t n, const char * _PDCLIB_restric #endif #ifdef TEST +#define _PDCLIB_FILEID "stdio/vsnprintf.c" #include <_PDCLIB_test.h> #include @@ -64,9 +65,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];