Merge remote-tracking branch 'origin/64_and_32_bit_time_tests'
[yaffs2.git] / direct / test-framework / unit_tests / 64_and_32_bit_time / 64_bit / Makefile
similarity index 62%
rename from direct/test-framework/timothy_tests/linux_tests/Makefile
rename to direct/test-framework/unit_tests/64_and_32_bit_time/64_bit/Makefile
index 4034b1d5a13e30856578da1eb0a284261e2e64fe..a682ed6329b04ba2d4a7063efa08958fecba9fb3 100644 (file)
@@ -1,4 +1,4 @@
-# Makefile for linux_test
+# Makefile for 64 bit time test.
 #
 #
 # YAFFS: Yet another Flash File System. A NAND-flash specific file system.
 # NB Warning this Makefile does not include header dependencies.
 #
 
-YDI_DIR = ../../../
-YDI_FRAMEWORK_DIR = ../../
-CLEAN_OBJS = linux_test emfile-2k-0
+YDI_DIR = ../../../../
+YDI_FRAMEWORK_DIR = ../../../
 
-TESTFILES =    linux_test.o lib.o 
+CLEAN_OBJS = time_64_tests emfile-2k-0 emfile-nand  emfile-nand128MB 
+TESTFILES =    time_64_tests.o
 
-all: linux_test
+all: time_64_tests
 
 YAFFS_TEST_OBJS = $(COMMONTESTOBJS) $(TESTFILES)
 
@@ -30,12 +30,9 @@ ALL_UNSORTED_OBJS += $(YAFFS_TEST_OBJS) $(FUZZER_OBJS)
 
 include $(YDI_FRAMEWORK_DIR)/FrameworkRules.mk
 
+phony. test: time_64_tests
+       ./time_64_tests
 
-yaffs_test: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS)
-       gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS)
-
-
-
-linux_test: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS)
-       gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS)
+time_64_tests: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS)
+       gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS) -lpthread