From 566822213e306533d20b3ca38fcadd0d3d8a633f Mon Sep 17 00:00:00 2001 From: Timothy Manning Date: Thu, 1 Jul 2021 14:28:05 +1200 Subject: [PATCH] Added a makefile to run all the unit tests. Signed-off-by: Timothy Manning --- direct/test-framework/unit_tests/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 direct/test-framework/unit_tests/Makefile 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 -- 2.30.2