projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added create and validate tests.
[yaffs2.git]
/
direct
/
test-framework
/
unit_tests
/
64_and_32_bit_time
/
64_bit
/
Makefile
diff --git
a/direct/test-framework/unit_tests/64_and_32_bit_time/64_bit/Makefile
b/direct/test-framework/unit_tests/64_and_32_bit_time/64_bit/Makefile
index a682ed6329b04ba2d4a7063efa08958fecba9fb3..179ec07e1d165eec8d6839ac7c9460bd82fa9080 100644
(file)
--- a/
direct/test-framework/unit_tests/64_and_32_bit_time/64_bit/Makefile
+++ b/
direct/test-framework/unit_tests/64_and_32_bit_time/64_bit/Makefile
@@
-18,21
+18,23
@@
YDI_DIR = ../../../../
YDI_FRAMEWORK_DIR = ../../../
YDI_DIR = ../../../../
YDI_FRAMEWORK_DIR = ../../../
-CLEAN_OBJS = time_64_tests emfile-2k-0 emfile-nand emfile-nand128MB
-TESTFILES = time_64_tests.o
+MAINFILES = time_64_tests create_64_bit validate_64_bit
+MAIN_OBJS = $(addsuffix .o,$(MAINFILES))
-all: time_64_tests
+EXTRA_OBJS = shared.o
-YAFFS_TEST_OBJS = $(COMMONTESTOBJS) $(TESTFILES)
+CLEAN_OBJS = $(MAINFILES)
+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_64_tests
./time_64_tests
include $(YDI_FRAMEWORK_DIR)/FrameworkRules.mk
phony. test: time_64_tests
./time_64_tests
-time_64_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