#endif
#ifdef TEST
+#define _PDCLIB_FILEID "stdio/vprintf.c"
+#define FPRINTF_FUNCTION
#include <limits.h>
#include <string.h>
#include <_PDCLIB_test.h>
return i;
}
-#define TESTCASE_SPRINTF( x )
-
int main( void )
{
FILE * target;
- TESTCASE( ( target = freopen( testfile, "wb", stdout ) ) != NULL );
+ TESTCASE( ( target = freopen( testfile, "wb+", stdout ) ) != NULL );
#include "printf_testcases.incl"
TESTCASE( fclose( target ) == 0 );
#include "fprintf_reftest.incl"