From 8684161f8d65f247a5cbb2608692391c5d3ae789 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 13 Jul 2023 19:43:18 +0200 Subject: Makefile: add test target --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0d7ad33..7f30332 100644 --- a/Makefile +++ b/Makefile @@ -30,20 +30,35 @@ python: .PHONY: repl repl: python +.PHONY: test +test: test/unit test/local + .PHONY: test/unit test/unit: + @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + @echo Unit tests + @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ python -m unittest --verbose --buffer .PHONY: test/local test/local: + @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + @echo Integration test: local + @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./test/integration/local/test.sh .PHONY: test/docker test/docker: + @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + @echo Integration test: docker + @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./test/integration/docker/test.sh .PHONY: test/example test/example: + @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + @echo Integration test: example + @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./test/integration/example/test.sh .PHONY: tag -- cgit v1.2.3