Added a test target to makefile
[yaffs2.git] / direct / test-framework / timothy_tests / quick_tests / Makefile
index b25f9c4620deeba5c46abbd9220156c300329208..3c9ce34655da96ccf5f10c68b70d1ff54b0536d1 100644 (file)
@@ -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)