Added a makefile to run all the unit tests.
[yaffs2.git] / 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 (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