diff --git a/Makefile b/Makefile index 01e0296..0892b75 100644 --- a/Makefile +++ b/Makefile @@ -18,8 +18,22 @@ verify-gofmt: test: go test -v --race -cpu=1,2,4 ./code/ ./runtime/ -.PHONY: integration-test -integration-test: gofail +# run all integration tests +.PHONY: run-integration-test +run-integration-test: run-integration-test-sleep + +.PHONY: build-integration-test +build-integration-test: gofail + +.PHONY: cleanup-integration-test +cleanup-integration-test: clean + +# run integration test - sleep +.PHONY: run-integration-test-sleep +run-integration-test-sleep: build-integration-test execute-integration-test-sleep cleanup-integration-test + +.PHONY: execute-integration-test-sleep +execute-integration-test-sleep: ./integration/sleep/execute.sh fix: fix-gofmt