# # Makefile to generate Unit, Integration and System tests for LFM-para # .PHONY : all all: unit_tests integration_tests system_tests @ echo "===>>> LFM-para: All tests completed <<<===" help: @ printf ' \ Testing framework for LFM-para \n \ Enter "gmake all" to run the following tests:\n \ * Unit \n \ * Integration \n \ * System \n \ Enter "gmake verify" to verify output of mpi tests:\n \ ' verify: cd system && ${MAKE} verify # # Unit Tests # http://en.wikipedia.org/wiki/Unit_test # # unit_tests: echo "===>>> LFM-para: Running Unit Tests <<<===" cd unit && $(MAKE) # # Integration Tests # http://en.wikipedia.org/wiki/Integration_testing # # integration_tests: echo "===>>> LFM-para: Running Integration Tests <<<===" cd integration && $(MAKE) # # System tests # http://en.wikipedia.org/wiki/System_testing # # system_tests: @ echo "===>>> LFM-para: Running System Tests <<<===" cd system && $(MAKE) # # Cleanup # clean: cd unit && ${MAKE} clean cd integration && ${MAKE} clean cd system && ${MAKE} clean distclean: clean