yaffs All of the quick_tests programs are now working.
[yaffs2.git] / direct / timothy_tests / quick_tests / quick_tests.c
index bdef486e65c010b2a0cd582976c5574fd6e5cd0a..3753583823f22542c58a0a5e7adcd02abbca9307 100644 (file)
@@ -37,6 +37,7 @@ int main(){
        //printf("len function %d",(sizeof(test_list)/sizeof(test_template)));
        for (x=0;x<total_number_of_tests;x++){
                //printf("x %d\n",x);
+               yaffs_set_error(0);     /*reset the last error to 0 */
                output=test_list[x].p_function();       /*run test*/
                if (output>=0){
                        /*test has passed*/