X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2F_PDCLIB%2Fprint.c;h=1f46a996aa4daa5f117c92e708893acf66fa68ed;hb=1e97a50165e6addbf816932e58117cb31f54e1fb;hp=8f019796c757342a5610e29e6e92f575d01d3daa;hpb=dfd2616dce9f95bc9678e7be4c81493e0c442679;p=pdclib.old diff --git a/functions/_PDCLIB/print.c b/functions/_PDCLIB/print.c index 8f01979..1f46a99 100644 --- a/functions/_PDCLIB/print.c +++ b/functions/_PDCLIB/print.c @@ -507,6 +507,8 @@ const char * _PDCLIB_print( const char * spec, struct _PDCLIB_status_t * status } #ifdef TEST +#define _PDCLIB_FILEID "_PDCLIB/print.c" +#define SPRINTF_FUNCTION #include <_PDCLIB_test.h> #include @@ -538,9 +540,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];