Add a test for problem reported by Stephane
[yaffs2.git] / direct / basic-test / Makefile
index 47b380908114ea03bf6a9017916c830ca5833ed3..3d883b6be613c95d9624bd887cae53af3708c954 100644 (file)
@@ -67,7 +67,7 @@ YAFFSDIRECTSYMLINKS = \
           yaffs_summary.c yaffs_summary.h \
          yaffsfs.c yaffs_flashif.h yaffs_flashif2.h\
           yaffsfs.h yaffs_osglue.h ydirectenv.h \
-          yaffs_flashif.c yaffscfg.h yaffs_list.h \
+          yaffscfg.h yaffs_list.h \
           yaffs_qsort.c yportenv.h yaffs_attribs.c \
           yaffs_nandif.c yaffs_nandif.h yaffs_nandemul2k.h \
           yaffs_hweight.h yaffs_hweight.c \
@@ -75,12 +75,13 @@ YAFFSDIRECTSYMLINKS = \
 
 
 DIRECTTESTOBJS = $(COMMONTESTOBJS) dtest.o
+STEPHANETESTOBJS = $(COMMONTESTOBJS) stephanetest.o
 
 BOOTTESTOBJS = bootldtst.o yboot.o yaffs_fileem.o nand_ecc.o
 
-ALLOBJS = $(sort $(DIRECTTESTOBJS) $(YAFFSTESTOBJS))
+ALLOBJS = $(sort $(DIRECTTESTOBJS) $(YAFFSTESTOBJS)$(STEPHANETESTOBJS))
 
-TARGETS = directtest2k
+TARGETS = directtest2k stephanetest
 
 all: $(TARGETS)
 
@@ -92,6 +93,9 @@ $(YAFFSDIRECTSYMLINKS):
        ln -s ../$@ $@
 
 
+stephanetest: $(YAFFSDIRECTSYMLINKS) $(STEPHANETESTOBJS)
+       gcc -o $@ $(STEPHANETESTOBJS)
+
 directtest2k: $(YAFFSDIRECTSYMLINKS) $(DIRECTTESTOBJS)
        gcc -o $@ $(DIRECTTESTOBJS)