18 int total
= 0, failed
= 0;
22 mkdir( "T:TestOutput", 0777 );
24 for( i
= 0; tests
[i
] != NULL
; i
++ )
27 sprintf( buffer
, "%s >T:TestOutput/test-%d.log", tests
[i
], i
);
29 rc
= system( buffer
);
45 printf( "\n\nA total of %d tests run: %d succeded, %d failed.\n", total
, total
- failed
, failed
);
49 printf( "\nError messages:\n" );
50 system( "join T:TestOutput/test-#? as T:TestOutput/all-tests.log" );
51 system( "type T:TestOutput/all-tests.log" );
54 system( "delete T:TestOutput ALL QUIET" );