diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-13 19:43:18 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-13 19:45:44 +0200 |
commit | 8684161f8d65f247a5cbb2608692391c5d3ae789 (patch) | |
tree | 22b15f2498fd0f46a7a338f7af8be97067abff7b /Makefile | |
parent | Makefile: remove unused recipes (diff) | |
download | cgitize-8684161f8d65f247a5cbb2608692391c5d3ae789.tar.gz cgitize-8684161f8d65f247a5cbb2608692391c5d3ae789.zip |
Makefile: add test target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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 |