summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-10-17 14:46:13 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-10-23 10:21:28 +0200
commit66c1ef92560cef02d98fd9adf1e539f5e88bea1f (patch)
tree1df7bb2e4857a858322c7e2358c7119d58323b92
parentdosfs: Support ctime and mtime (diff)
downloadrtems-66c1ef92560cef02d98fd9adf1e539f5e88bea1f.tar.bz2
Revert "fstests/mdosfs_fstime: Remove test"
This reverts commit bdcf4102f71d1bc2a50f23d2d425d85c24ec0900.
-rw-r--r--testsuites/fstests/Makefile.am1
-rw-r--r--testsuites/fstests/configure.ac1
-rw-r--r--testsuites/fstests/mdosfs_fstime/Makefile.am33
3 files changed, 35 insertions, 0 deletions
diff --git a/testsuites/fstests/Makefile.am b/testsuites/fstests/Makefile.am
index 9540256ca1..404966cb24 100644
--- a/testsuites/fstests/Makefile.am
+++ b/testsuites/fstests/Makefile.am
@@ -24,6 +24,7 @@ _SUBDIRS += mdosfs_fserror
_SUBDIRS += mdosfs_fspatheval
_SUBDIRS += mdosfs_fsrdwr
_SUBDIRS += mdosfs_fsstatvfs
+_SUBDIRS += mdosfs_fstime
_SUBDIRS += mimfs_fserror
_SUBDIRS += mimfs_fslink
_SUBDIRS += mimfs_fspatheval
diff --git a/testsuites/fstests/configure.ac b/testsuites/fstests/configure.ac
index e1337cb6a8..4ad8b78d67 100644
--- a/testsuites/fstests/configure.ac
+++ b/testsuites/fstests/configure.ac
@@ -100,6 +100,7 @@ mdosfs_fserror/Makefile
mdosfs_fspatheval/Makefile
mdosfs_fsrdwr/Makefile
mdosfs_fsstatvfs/Makefile
+mdosfs_fstime/Makefile
mimfs_fserror/Makefile
mimfs_fslink/Makefile
mimfs_fspatheval/Makefile
diff --git a/testsuites/fstests/mdosfs_fstime/Makefile.am b/testsuites/fstests/mdosfs_fstime/Makefile.am
new file mode 100644
index 0000000000..14f58c5271
--- /dev/null
+++ b/testsuites/fstests/mdosfs_fstime/Makefile.am
@@ -0,0 +1,33 @@
+
+rtems_tests_PROGRAMS = mdosfs_fstime
+mdosfs_fstime_SOURCES = ../fstime/test.c
+mdosfs_fstime_SOURCES += ../support/ramdisk_support.c
+mdosfs_fstime_SOURCES += ../support/fstest_support.c
+mdosfs_fstime_SOURCES += ../support/fstest_support.h
+mdosfs_fstime_SOURCES += ../support/ramdisk_support.h
+mdosfs_fstime_SOURCES += ../support/fstest.h
+mdosfs_fstime_SOURCES += ../../psxtests/include/pmacros.h
+mdosfs_fstime_SOURCES += ../mdosfs_support/fs_support.c
+mdosfs_fstime_SOURCES += ../mdosfs_support/fs_config.h
+
+#dist_rtems_tests_DATA = mdosfs_fstime.scn
+#dist_rtems_tests_DATA += mdosfs_fstime.doc
+
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+include $(top_srcdir)/../automake/compile.am
+include $(top_srcdir)/../automake/leaf.am
+
+
+AM_CPPFLAGS += -I$(top_srcdir)/support
+AM_CPPFLAGS += -I$(top_srcdir)/mdosfs_support
+AM_CPPFLAGS += -I$(top_srcdir)/../support/include
+AM_CPPFLAGS += -I$(top_srcdir)/../psxtests/include
+
+LINK_OBJS = $(mdosfs_fstime_OBJECTS)
+LINK_LIBS = $(mdosfs_fstime_LDLIBS)
+
+mdosfs_fstime$(EXEEXT): $(mdosfs_fstime_OBJECTS) $(mdosfs_fstime_DEPENDENCIES)
+ @rm -f mdosfs_fstime$(EXEEXT)
+ $(make-exe)
+
+include $(top_srcdir)/../automake/local.am