# HG changeset patch # User nkeynes # Date 1195262166 0 # Node ID 791d2f0fb7e7da92f49b00c9bf568c82ad99809f # Parent 33d2d92784c7832c6abd77251feec08476ec4ea2 Return the number of failed tests (ie 0 = success) --- a/test/sh4/testsh4.c Sat Nov 17 01:13:41 2007 +0000 +++ b/test/sh4/testsh4.c Sat Nov 17 01:16:06 2007 +0000 @@ -80,4 +80,5 @@ fprintf( stdout, "Total: %d/%d tests passed (%d%%)\n", total_tests-total_fails, total_tests, ((total_tests-total_fails)*100)/total_tests ); + return total_fails; }