X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=functions%2F_PDCLIB%2Fprint.c;h=424228b29e837397cbb092aff6dd2a52d6334c33;hp=8f019796c757342a5610e29e6e92f575d01d3daa;hb=0f88da0454edf3c1ca1a7f786c2fd9afdef0eb9c;hpb=17d539d4dad385b70e22c3611c7642e0a020d990 diff --git a/functions/_PDCLIB/print.c b/functions/_PDCLIB/print.c index 8f01979..424228b 100644 --- a/functions/_PDCLIB/print.c +++ b/functions/_PDCLIB/print.c @@ -507,6 +507,7 @@ const char * _PDCLIB_print( const char * spec, struct _PDCLIB_status_t * status } #ifdef TEST +#define _PDCLIB_FILEID "_PDCLIB/print.c" #include <_PDCLIB_test.h> #include @@ -538,9 +539,6 @@ static int testprintf( char * buffer, const char * format, ... ) #define TEST_CONVERSION_ONLY -#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];