Merge branch 'master' of ssh://www.aleph1.co.uk/home/aleph1/git/yaffs2
authorCharles Manning <cdhmanning@gmail.com>
Sun, 28 Nov 2010 21:57:40 +0000 (10:57 +1300)
committerCharles Manning <cdhmanning@gmail.com>
Sun, 28 Nov 2010 21:57:40 +0000 (10:57 +1300)
1  2 
direct/timothy_tests/quick_tests/Makefile

index 8aa843adf60f0b564377dac3a9fb6ccbade8eb37,12462b6e8291314563eb00aa3c5218a26a245d66..a6148379c812f49158a9b0194610a3f1a4e5402a
@@@ -30,8 -30,7 +30,8 @@@ CFLAGS +=    -Wextra -Wpointer-arit
  #CFLAGS+=   -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline
  
  
 -COMMONTESTOBJS = yaffscfg2k.o yaffs_ecc.o yaffs_fileem.o yaffs_fileem2k.o yaffsfs.o yaffs_guts.o \
 +COMMONTESTOBJS = yaffscfg2k.o yaffs_osglue.o \
 +               yaffs_ecc.o yaffs_fileem.o yaffs_fileem2k.o yaffsfs.o yaffs_guts.o \
                 yaffs_packedtags1.o yaffs_ramdisk.o yaffs_ramem2k.o \
                 yaffs_tagscompat.o yaffs_packedtags2.o yaffs_tagsvalidity.o yaffs_nand.o \
                 yaffs_checkptrw.o  yaffs_qsort.o\
@@@ -54,6 -53,7 +54,7 @@@ TESTFILES =   quick_tests.o lib.o 
                test_yaffs_unlink.o  test_yaffs_unlink_EISDIR.o test_yaffs_unlink_ENOENT.o test_yaffs_unlink_ENAMETOOLONG.o \
                test_yaffs_unlink_ENOTDIR.o test_yaffs_unlink_ENOENT2.o test_yaffs_unlink_ELOOP_dir.o \
                test_yaffs_ftruncate.o test_yaffs_ftruncate_EBADF.o test_yaffs_ftruncate_EINVAL.o test_yaffs_ftruncate_big_file.o \
+               test_yaffs_ftruncate_EROFS.o \
                test_yaffs_truncate.o test_yaffs_truncate_ENOTDIR.o test_yaffs_truncate_EISDIR.o test_yaffs_truncate_ENOENT.o \
                test_yaffs_truncate_EINVAL.o test_yaffs_truncate_big_file.o test_yaffs_truncate_ENOENT2.o test_yaffs_truncate_ELOOP.o \
                test_yaffs_truncate_ELOOP_dir.o \
                test_yaffs_access_ENOENT2.o test_yaffs_access_ELOOP_dir.o test_yaffs_access_ELOOP.o test_yaffs_access_EROFS.o \
                test_yaffs_stat.o test_yaffs_stat_ENOENT.o test_yaffs_stat_ENOTDIR.o test_yaffs_stat_ENOENT2.o test_yaffs_stat_ELOOP.o \
                test_yaffs_stat_ELOOP_dir.o\
-               test_yaffs_fstat.o test_yaffs_fstat_EBADF.o \
+               test_yaffs_fstat.o test_yaffs_fstat_EBADF.o test_yaffs_fstat_EROFS.o \
                test_yaffs_close_EBADF.o\
                test_yaffs_chmod.o test_yaffs_chmod_ENOENT.o test_yaffs_chmod_ENOTDIR.o test_yaffs_chmod_EINVAL.o \
                test_yaffs_chmod_ENOENT2.o test_yaffs_chmod_ELOOP_dir.o test_yaffs_chmod_ELOOP.o test_yaffs_chmod_EROFS.o \
                test_yaffs_fchmod.o test_yaffs_fchmod_EBADF.o test_yaffs_fchmod_EROFS.o test_yaffs_fchmod_EINVAL.o\
                test_yaffs_fsync.o test_yaffs_fsync_EBADF.o \
-               test_yaffs_fdatasync.o test_yaffs_fdatasync_EBADF.o \
+               test_yaffs_fdatasync.o test_yaffs_fdatasync_EBADF.o test_yaffs_fdatasync_EROFS.o\
                test_yaffs_mkdir.o test_yaffs_mkdir_EEXIST.o test_yaffs_mkdir_ENOTDIR.o test_yaffs_mkdir_ENOENT.o \
                test_yaffs_mkdir_ELOOP_dir.o \
                test_yaffs_fchmod.o test_yaffs_fchmod_EBADF.o test_yaffs_fchmod_EINVAL.o \
@@@ -94,7 -94,7 +95,7 @@@
                test_yaffs_rename_dir.o test_yaffs_rename_dir_ENOENT.o test_yaffs_rename_dir_ENOENT2.o test_yaffs_rename_dir_to_file.o \
                test_yaffs_rename_file_to_dir.o test_yaffs_rename_EEXISTS.o  test_yaffs_rename_ELOOP_dir.o \
                test_yaffs_lstat.o test_yaffs_lstat_ENOENT.o test_yaffs_lstat_ENOTDIR.o \
-               test_yaffs_flush.o test_yaffs_flush_EBADF.o
+               test_yaffs_flush.o test_yaffs_flush_EBADF.o test_yaffs_flush_EROFS.o
  
  
                  
@@@ -107,7 -107,7 +108,7 @@@ PYTHONOBJS = yaffs_error_converter.
  ALLOBJS = $(sort $(YAFFSTESTOBJS)) $(PYTHONOBJS)
  
  YAFFSSYMLINKS = yaffs_ecc.c yaffs_ecc.h yaffs_guts.c yaffs_guts.h yaffs_tagscompat.c yaffs_tagscompat.h \
 -          yaffs_packedtags1.c yaffs_packedtags1.h yaffs_packedtags2.c yaffs_packedtags2.h  yaffs_nandemul2k.h \
 +          yaffs_packedtags1.c yaffs_packedtags1.h yaffs_packedtags2.c yaffs_packedtags2.h \
            yaffs_nand.c yaffs_nand.h yaffs_getblockinfo.h \
            yaffs_tagsvalidity.c yaffs_tagsvalidity.h yaffs_checkptrw.h yaffs_checkptrw.c \
            yaffs_nameval.c yaffs_nameval.h \
            yaffs_verify.c yaffs_verify.h
  
  YAFFSDIRECTSYMLINKS =  yaffsfs.c yaffs_flashif.h yaffs_flashif2.h\
 -                     yaffsfs.h yaffs_malloc.h ydirectenv.h \
 +                     yaffsfs.h ydirectenv.h \
                       yaffs_flashif.c yaffscfg.h yaffs_qsort.c \
                       yaffs_nandemul2k.h yaffs_list.h \
 -                     yaffs_attribs.c \
 +                     yaffs_attribs.c yaffs_osglue.h \
                       yaffs_nandif.c yaffs_nandif.h yportenv.h
  
  
  DIRECTEXTRASYMLINKS =         yaffscfg2k.c yaffs_fileem2k.c yaffs_fileem2k.h\
                        yaffs_fileem.c yaffs_norif1.c yaffs_norif1.h \
                        yaffs_ramdisk.c yaffs_ramdisk.h yaffs_ramem2k.c \
 -                      ynorsim.h ynorsim.c
 +                      ynorsim.h ynorsim.c yaffs_osglue.c
  
  SYMLINKS = $(YAFFSSYMLINKS) $(YAFFSDIRECTSYMLINKS) $(DIRECTEXTRASYMLINKS) $(PYTONOSYMLINKS)
  #all: directtest2k boottest