Added test target to makefile.
authorTimothy Manning <codedraftsman@gmail.com>
Tue, 29 Jun 2021 03:40:36 +0000 (15:40 +1200)
committerTimothy Manning <codedraftsman@gmail.com>
Thu, 1 Jul 2021 02:36:33 +0000 (14:36 +1200)
Signed-off-by: Timothy Manning <codedraftsman@gmail.com>
direct/test-framework/timothy_tests/is_yaffs_working_tests/Makefile

index 5f2a461368cf9c719ab110bfb4caf3e0ffe52f47..8141370958d73c33aa5cd411fb2ef997000ad2dc 100644 (file)
@@ -30,6 +30,8 @@ ALL_UNSORTED_OBJS += $(YAFFS_TEST_OBJS) $(FUZZER_OBJS)
 
 include $(YDI_FRAMEWORK_DIR)/FrameworkRules.mk
 
+phony. test: test_1_yaffs_mount
+       ./test_1_yaffs_mount
 
 test_1_yaffs_mount: $(FRAMEWORK_SOURCES) $(YAFFS_TEST_OBJS)
        gcc $(CFLAGS) -o $@ $(YAFFS_TEST_OBJS) -lpthread