X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=functions%2Fstdio%2Fvsnprintf.c;fp=functions%2Fstdio%2Fvsnprintf.c;h=9e54dca1bb392076e07c0566fa6449403b24b90b;hp=165ed54ce3a1fb600e317a383c7075edbd955a6f;hb=35ae2c90b1e06be0b78a67a11c1f14c71f547a40;hpb=dfd2616dce9f95bc9678e7be4c81493e0c442679 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];