X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fmirror_tests%2Fmirror_tests.c;h=a022e4db30e79429a809709fcfb88f464396b0de;hp=79c4daddd4a89ce11dd01cc65c41c0b105234fad;hb=2870702e0b0f4342857222a36ffcb21886c7f4bf;hpb=df369209e1ee1d05eba9527b1e6447e8e78d0988 diff --git a/direct/timothy_tests/mirror_tests/mirror_tests.c b/direct/timothy_tests/mirror_tests/mirror_tests.c index 79c4dad..a022e4d 100644 --- a/direct/timothy_tests/mirror_tests/mirror_tests.c +++ b/direct/timothy_tests/mirror_tests/mirror_tests.c @@ -31,14 +31,16 @@ typedef struct test_temp2 { }test_temp; test_temp yaffs_tests={ - 0, - {{"yaffs_test_open",yaffs_test_open} + 2, + {{"yaffs_test_open",yaffs_test_open}, + {"yaffs_test_truncate",yaffs_test_truncate} } }; test_temp linux_tests={ - 0, - {{"linux_test_open",linux_test_open} + 2, + {{"linux_test_open",linux_test_open}, + {"linux_test_truncate",linux_test_truncate} } }; @@ -47,8 +49,8 @@ int main(int argc, char *argv[]) { char message[100]; int x; - yaffs_tests.num_of_tests=(sizeof(yaffs_tests)/sizeof(test_temp)); - linux_tests.num_of_tests=(sizeof(linux_tests)/sizeof(test_temp)); +// yaffs_tests.num_of_tests=(sizeof(yaffs_tests)/sizeof(test_temp)); +// linux_tests.num_of_tests=(sizeof(linux_tests)/sizeof(test_temp)); init(argc,argv); print_message(1,"running mirror_tests\n"); @@ -63,6 +65,7 @@ int main(int argc, char *argv[]) for (x=0;x