filename | test/sh4/testsh4.c |
changeset | 225:e5cea6125580 |
next | 226:0eeeb25447d3 |
author | nkeynes |
date | Wed Sep 20 09:52:32 2006 +0000 (14 years ago) |
permissions | -rw-r--r-- |
last change | Commit start of SH4 test cases |
file | annotate | diff | log | raw |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +00001.2 +++ b/test/sh4/testsh4.c Wed Sep 20 09:52:32 2006 +00001.3 @@ -0,0 +1,18 @@1.4 +#include <stdio.h>1.5 +1.6 +int test_print_result( char *testname, int failed, int total )1.7 +{1.8 + fprintf( stderr, "%s: %d/%d tests passed\n", testname, total-failed, total );1.9 + return failed;1.10 +}1.11 +1.12 +void test_print_failure( char *testname, int number )1.13 +{1.14 + fprintf( stderr, "%s: Test %d failed!\n", testname, number );1.15 +}1.16 +1.17 +int main()1.18 +{1.19 +1.20 + test_add();1.21 +}
.