projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Finished the 32 and 64 bit tests.
[yaffs2.git]
/
direct
/
test-framework
/
unit_tests
/
64_and_32_bit_time
/
32_bit
/
Makefile
diff --git
a/direct/test-framework/unit_tests/64_and_32_bit_time/32_bit/Makefile
b/direct/test-framework/unit_tests/64_and_32_bit_time/32_bit/Makefile
index 8bcaf721985f986d846b5e19cbee89c86142ddd5..8842f4b1d7b472e3644ce16afa7a72d1586eb0ff 100644
(file)
--- a/
direct/test-framework/unit_tests/64_and_32_bit_time/32_bit/Makefile
+++ b/
direct/test-framework/unit_tests/64_and_32_bit_time/32_bit/Makefile
@@
-1,4
+1,4
@@
-# Makefile for
32
bit time test.
+# Makefile for
64
bit time test.
#
#
# YAFFS: Yet another Flash File System. A NAND-flash specific file system.
#
#
# YAFFS: Yet another Flash File System. A NAND-flash specific file system.
@@
-18,22
+18,24
@@
YDI_DIR = ../../../../
YDI_FRAMEWORK_DIR = ../../../
YDI_DIR = ../../../../
YDI_FRAMEWORK_DIR = ../../../
-CLEAN_OBJS = time_32_tests emfile-2k-0 emfile-nand emfile-nand128MB
-TESTFILES = time_32_tests.o
+MAINFILES = time_32_tests create_32_bit validate_32_bit
+MAIN_OBJS = $(addsuffix .o,$(MAINFILES))
-CFLAGS = -DYAFFS_USE_32_BIT_TIME_T
-all: time_32_tests
+EXTRA_OBJS = shared.o
-YAFFS_TEST_OBJS = $(COMMONTESTOBJS) $(TESTFILES)
+CLEAN_OBJS = $(MAINFILES)
+CFLAGS = -DCONFIG_YAFFS_USE_32_BIT_TIME_T
+YAFFS_TEST_OBJS = $(COMMONTESTOBJS) $(EXTRA_OBJS)
+ALL_UNSORTED_OBJS += $(YAFFS_TEST_OBJS) $(MAIN_OBJS)
-ALL_UNSORTED_OBJS += $(YAFFS_TEST_OBJS) $(FUZZER_OBJS)
+all: $(MAINFILES)
include $(YDI_FRAMEWORK_DIR)/FrameworkRules.mk
phony. test: time_32_tests
./time_32_tests
include $(YDI_FRAMEWORK_DIR)/FrameworkRules.mk
phony. test: time_32_tests
./time_32_tests
-time_32_tests: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS)
- gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS)
-lpthread
+$(MAINFILES): $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS) $(MAIN_OBJS)
+ gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS)
$@.o -lpthread -DCONFIG_YAFFS_USE_32_BIT_TIME_T