Update of /cvsroot/libsysio/libsysio/tests
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv3372
Modified Files:
Makefile.am module.mk
Log Message:
Modified to include the new fhi tests.
Index: Makefile.am
===================================================================
RCS file: /cvsroot/libsysio/libsysio/tests/Makefile.am,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -w -b -B -p -r1.35 -r1.36
--- Makefile.am 4 Feb 2009 20:07:23 -0000 1.35
+++ Makefile.am 17 Aug 2009 23:37:08 -0000 1.36
@@ -5,7 +5,9 @@ STATVFS_PROG=
endif
if WITH_FILE_HANDLE_INTERFACE
-FHI_PROG=test_fhipath
+FHI_PROG=test_fhichmod test_fhicreate test_fhilink test_fhilist test_fhimkdir \
+ test_fhipath test_fhirename test_fhirmdir \
+ test_fhisymlink test_fhitrunc test_fhiunlink
else
FHI_PROG=
endif
@@ -109,10 +111,52 @@ test_statvfs_SOURCES=test_statvfs.c $(CM
test_statvfs_CFLAGS=$(CFL)
test_statvfs_DEPENDENCIES=$(LIBS)
-test_fhipath_SOURCES=test_fhipath.c $(CMNSRC)
+CMNFHISRC=fhi_support.c
+
+test_fhichmod_SOURCES=test_fhichmod.c $(CMNFHISRC) $(CMNSRC)
+test_fhichmod_CFLAGS=$(CFL)
+test_fhichmod_DEPENDENCIES=$(LIBS)
+
+test_fhicreate_SOURCES=test_fhicreate.c $(CMNFHISRC) $(CMNSRC)
+test_fhicreate_CFLAGS=$(CFL)
+test_fhicreate_DEPENDENCIES=$(LIBS)
+
+test_fhilink_SOURCES=test_fhilink.c $(CMNFHISRC) $(CMNSRC)
+test_fhilink_CFLAGS=$(CFL)
+test_fhilink_DEPENDENCIES=$(LIBS)
+
+test_fhilist_SOURCES=test_fhilist.c $(CMNFHISRC) $(CMNSRC)
+test_fhilist_CFLAGS=$(CFL)
+test_fhilist_DEPENDENCIES=$(LIBS)
+
+test_fhimkdir_SOURCES=test_fhimkdir.c $(CMNFHISRC) $(CMNSRC)
+test_fhimkdir_CFLAGS=$(CFL)
+test_fhimkdir_DEPENDENCIES=$(LIBS)
+
+test_fhipath_SOURCES=test_fhipath.c $(CMNFHISRC) $(CMNSRC)
test_fhipath_CFLAGS=$(CFL)
test_fhipath_DEPENDENCIES=$(LIBS)
+test_fhirename_SOURCES=test_fhirename.c $(CMNFHISRC) $(CMNSRC)
+test_fhirename_CFLAGS=$(CFL)
+test_fhirename_DEPENDENCIES=$(LIBS)
+
+test_fhirmdir_SOURCES=test_fhirmdir.c $(CMNFHISRC) $(CMNSRC)
+test_fhirmdir_CFLAGS=$(CFL)
+test_fhirmdir_DEPENDENCIES=$(LIBS)
+
+test_fhisymlink_SOURCES=test_fhisymlink.c $(CMNFHISRC) $(CMNSRC)
+test_fhisymlink_CFLAGS=$(CFL)
+test_fhisymlink_DEPENDENCIES=$(LIBS)
+
+test_fhitrunc_SOURCES=test_fhitrunc.c $(CMNFHISRC) $(CMNSRC)
+test_fhitrunc_CFLAGS=$(CFL)
+test_fhitrunc_DEPENDENCIES=$(LIBS)
+
+test_fhiunlink_SOURCES=test_fhiunlink.c $(CMNFHISRC) $(CMNSRC)
+test_fhiunlink_CFLAGS=$(CFL)
+test_fhiunlink_DEPENDENCIES=$(LIBS)
+
drv_data.c: $(CONFIG_DEPENDENCIES) $(top_srcdir)/tests/gendrvdata.sh
test -z "drv_data.c" && rm -f drv_data.c; \
$(SHELL) $(top_srcdir)/tests/gendrvdata.sh $(DRIVERS) > drv_data.c
Index: module.mk
===================================================================
RCS file: /cvsroot/libsysio/libsysio/tests/module.mk,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -w -b -B -p -r1.5 -r1.6
--- module.mk 4 Feb 2009 20:07:23 -0000 1.5
+++ module.mk 17 Aug 2009 23:37:08 -0000 1.6
@@ -20,5 +20,15 @@ TESTS_EXTRA = \
tests/test_stddir.c \
tests/test_symlink.c \
tests/test_unlink.c \
+ tests/test_fhichmod.c \
+ tests/test_fhicreate.c \
+ tests/test_fhilink.c \
+ tests/test_fhilist.c \
+ tests/test_fhimkdir.c \
tests/test_fhipath.c \
+ tests/test_fhirename.c \
+ tests/test_fhirmdir.c \
+ tests/test_fhisymlink.c \
+ tests/test_fhitrunc.c \
+ tests/test_fhiunlink.c \
tests/Makefile.am tests/Makefile.in tests/module.mk
|