Search
lxdream.org :: lxdream/test/sh4/testsh4.c
lxdream 0.9.1
released Jun 29
Download Now
filename test/sh4/testsh4.c
changeset 225:e5cea6125580
next226:0eeeb25447d3
author nkeynes
date Wed Sep 20 09:52:32 2006 +0000 (16 years ago)
permissions -rw-r--r--
last change Commit start of SH4 test cases
view annotate diff log raw
     1 #include <stdio.h>
     3 int test_print_result( char *testname, int failed, int total )
     4 {
     5     fprintf( stderr, "%s: %d/%d tests passed\n", testname, total-failed, total );
     6     return failed;
     7 }
     9 void test_print_failure( char *testname, int number )
    10 {
    11     fprintf( stderr, "%s: Test %d failed!\n", testname, number );
    12 }
    14 int main()
    15 {
    17     test_add();
    18 }
.