X-Git-Url: http://aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftest-framework%2Funit_tests%2F64_and_32_bit_time%2F64_bit%2FMakefile;fp=direct%2Ftest-framework%2Ftimothy_tests%2Flinux_tests%2FMakefile;h=a682ed6329b04ba2d4a7063efa08958fecba9fb3;hp=4034b1d5a13e30856578da1eb0a284261e2e64fe;hb=e12e51da5815d80399ec8f5b0da69c7cd7a0f42e;hpb=ebc54da9e29be1de79d77c72c0d8eb91833c641b diff --git a/direct/test-framework/timothy_tests/linux_tests/Makefile b/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 4034b1d..a682ed6 100644 --- a/direct/test-framework/timothy_tests/linux_tests/Makefile +++ b/direct/test-framework/unit_tests/64_and_32_bit_time/64_bit/Makefile @@ -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. @@ -15,13 +15,13 @@ # 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