2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
33 int total
= 0, failed
= 0;
37 mkdir( "T:TestOutput", 0777 );
39 for( i
= 0; tests
[i
] != NULL
; i
++ )
42 sprintf( buffer
, "%s >T:TestOutput/test-%d.log", tests
[i
], i
);
44 rc
= system( buffer
);
60 printf( "\n\nA total of %d tests run: %d succeeded, %d failed.\n",
61 total
, total
- failed
, failed
);
65 printf( "\nError messages:\n" );
66 system( "join T:TestOutput/test-#? as T:TestOutput/all-tests.log" );
67 system( "type T:TestOutput/all-tests.log" );
70 system( "delete T:TestOutput ALL QUIET" );