projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding more time 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..6cdcccd19c5aafc8d13fd91d946df3679d73ea1f 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
@@
-21,9
+21,9
@@
YDI_FRAMEWORK_DIR = ../../../
CLEAN_OBJS = time_64_tests emfile-2k-0 emfile-nand emfile-nand128MB
TESTFILES = time_64_tests.o
CLEAN_OBJS = time_64_tests emfile-2k-0 emfile-nand emfile-nand128MB
TESTFILES = time_64_tests.o
-all: time_64_tests
+all: time_64_tests
create_64_bit
-YAFFS_TEST_OBJS = $(COMMONTESTOBJS)
$(TESTFILES)
+YAFFS_TEST_OBJS = $(COMMONTESTOBJS)
ALL_UNSORTED_OBJS += $(YAFFS_TEST_OBJS) $(FUZZER_OBJS)
ALL_UNSORTED_OBJS += $(YAFFS_TEST_OBJS) $(FUZZER_OBJS)
@@
-34,5
+34,8
@@
phony. test: time_64_tests
./time_64_tests
time_64_tests: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS)
./time_64_tests
time_64_tests: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS)
- gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS) -lpthread
+ gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS)
time_64_tests.o
-lpthread
+
+create_64_bit: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS)
+ gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS) create_64_bit.o -lpthread