From: Timothy Manning Date: Tue, 29 Jun 2021 03:36:40 +0000 (+1200) Subject: Added a test target to makefile X-Git-Url: https://yaffs.net/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=9113cd4f787beb5814a593a2a308dc57bc171533 Added a test target to makefile Signed-off-by: Timothy Manning --- diff --git a/direct/test-framework/timothy_tests/quick_tests/Makefile b/direct/test-framework/timothy_tests/quick_tests/Makefile index b25f9c4..3c9ce34 100644 --- a/direct/test-framework/timothy_tests/quick_tests/Makefile +++ b/direct/test-framework/timothy_tests/quick_tests/Makefile @@ -94,10 +94,8 @@ ALL_UNSORTED_OBJS += $(YAFFS_TEST_OBJS) $(FUZZER_OBJS) include $(YDI_FRAMEWORK_DIR)/FrameworkRules.mk - -yaffs_test: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS) - gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS) -lpthread - +phony. test: quick_tests + ./quick_tests quick_tests: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS)