From: Timothy Manning Date: Thu, 1 Jul 2021 02:28:05 +0000 (+1200) Subject: Added a makefile to run all the unit tests. X-Git-Url: https://yaffs.net/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=566822213e306533d20b3ca38fcadd0d3d8a633f Added a makefile to run all the unit tests. Signed-off-by: Timothy Manning --- diff --git a/direct/test-framework/unit_tests/Makefile b/direct/test-framework/unit_tests/Makefile new file mode 100644 index 0000000..c2b46e3 --- /dev/null +++ b/direct/test-framework/unit_tests/Makefile @@ -0,0 +1,12 @@ + +TEST_DIR = quick_tests \ + is_yaffs_working_tests + +all: + $(foreach var,$(TEST_DIR), $(MAKE) -j -C $(var);) + +phony. test: + $(foreach var,$(TEST_DIR), $(MAKE) -j -C $(var) test;) + +phony. clean: + $(foreach var,$(TEST_DIR), $(MAKE) -j -C $(var) clean;) \ No newline at end of file