21 int total
= 0, failed
= 0;
25 mkdir( "T:TestOutput", 0777 );
27 for( i
= 0; tests
[i
] != NULL
; i
++ )
30 sprintf( buffer
, "%s >T:TestOutput/test-%d.log", tests
[i
], i
);
32 rc
= system( buffer
);
48 printf( "\n\nA total of %d tests run: %d succeded, %d failed.\n", total
, total
- failed
, failed
);
52 printf( "\nError messages:\n" );
53 system( "join T:TestOutput/test-#? as T:TestOutput/all-tests.log" );
54 system( "type T:TestOutput/all-tests.log" );
57 system( "delete T:TestOutput ALL QUIET" );