Added a makefile to run all the unit tests.
authorTimothy Manning <codedraftsman@gmail.com>
Thu, 1 Jul 2021 02:28:05 +0000 (14:28 +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/unit_tests/Makefile [new file with mode: 0644]

diff --git a/direct/test-framework/unit_tests/Makefile b/direct/test-framework/unit_tests/Makefile
new file mode 100644 (file)
index 0000000..c2b46e3
--- /dev/null
@@ -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