diff --git a/Makefile b/Makefile index 92f6d383..9e13531d 100644 --- a/Makefile +++ b/Makefile @@ -68,6 +68,20 @@ check_headers: ## Check that source files have appropriate boilerplate @echo "Checking file headers" @python test/verify_boilerplate.py +.PHONY: test_migrate +test_migrate: + @echo "Testing migrate script" + @python test/helpers/test_migrate.py + +.PHONY: test_preconditions +test_preconditions: + @echo "Testing preconditions script" + @python test/scripts/preconditions/test_preconditions.py + +# Unit tests +.PHONY: test_unit +test_unit: test_migrate test_preconditions + # Integration tests .PHONY: test_integration test_integration: ## Run integration tests diff --git a/test/scripts/preconditions/test_preconditions.py b/test/scripts/preconditions/test_preconditions.py index 37ebf25f..c4288eba 100755 --- a/test/scripts/preconditions/test_preconditions.py +++ b/test/scripts/preconditions/test_preconditions.py @@ -21,7 +21,7 @@ os.path.abspath( os.path.join( os.path.dirname(__file__), - '../../../scripts/preconditions'))) + '../../../modules/core_project_factory/scripts/preconditions'))) import preconditions # noqa: E402