X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Fquick_tests.c;h=f127be7f2b044b37ed60f2cee1e64c23ea43dee8;hp=a58fc0881dd23f78de4b5154a40c2c8abc85ecdf;hb=7bcd5472362887151e3029f197f7ee012f9c1f14;hpb=8d1e14f0254f27ca2b96089a24628548d176944e diff --git a/direct/timothy_tests/quick_tests/quick_tests.c b/direct/timothy_tests/quick_tests/quick_tests.c index a58fc08..f127be7 100644 --- a/direct/timothy_tests/quick_tests/quick_tests.c +++ b/direct/timothy_tests/quick_tests/quick_tests.c @@ -33,19 +33,19 @@ int main(int argc, char *argv[]){ init_quick_tests(argc, argv); print_message("\n\nrunning quick tests for yaffs\n\n", 0); - //printf("testing yaffs\n"); - //printf("len function %d",(sizeof(test_list)/sizeof(test_template))); for (x=0;x=0){ /*test has passed*/ sprintf(message,"\ttest %s passed\n",test_list[x].name_of_test); - print_message(message,2); + print_message(message,3); num_of_tests_pass++; } else { /*test is assumed to have failed*/ @@ -77,7 +77,7 @@ int main(int argc, char *argv[]){ } else { sprintf(message,"\ttest clean: %s passed\n",test_list[x].name_of_test); - print_message(message,2); + print_message(message,3); } } /*this is where the loop should break to*/ @@ -91,7 +91,7 @@ void quit_quick_tests(int exit_code) if (num_of_tests_pass==total_number_of_tests && num_of_tests_failed==0){ printf("\t OK \n"); } - printf("tests: %d passed %d failed out of %d tests\n\n\n",num_of_tests_pass,num_of_tests_failed,total_number_of_tests); + printf("out of %d tests: %d passed %d failed\n\n\n",total_number_of_tests,num_of_tests_pass,num_of_tests_failed); yaffs_unmount(YAFFS_MOUNT_POINT); exit(exit_code); }