aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-10-15 02:00:06 +0500
committerEgor Tensin <egor@tensin.name>2026-10-15 08:32:35 +0500
commitded8a1956cfe68c84023f9127f796a5ddf1aef1b (patch)
tree3313cb3ce0f99bd58b623b6283d95405c805ffec /Makefile
parentv9.0.0 (diff)
downloadcgitize-ded8a1956cfe68c84023f9127f796a5ddf1aef1b.tar.gz
cgitize-ded8a1956cfe68c84023f9127f796a5ddf1aef1b.zip
t/i: migrate to test-harness
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 12 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 1930ec8..8b08a13 100644
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,7 @@ python:
repl: python
.PHONY: test
-test: test/unit test/local
+test: test/unit test/integration/basic
.PHONY: test/unit
test/unit:
@@ -59,12 +59,19 @@ test/unit:
@echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
python -m unittest --verbose --buffer
-.PHONY: test/local
-test/local:
+.PHONY: test/integration
+test/integration:
@echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- @echo Integration test: local
+ @echo Integration tests
@echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ./test/integration/local/test.sh
+ ./test/integration/runner/harness
+
+.PHONY: test/integration/basic
+test/integration/basic:
+ @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ @echo Basic integration tests
+ @echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ ./test/integration/runner/harness -f '*basic*'
.PHONY: test/docker
test/docker:
@@ -72,10 +79,3 @@ test/docker:
@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