summaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-10-14 18:20:35 +0500
committerEgor Tensin <egor@tensin.name>2026-10-14 18:23:27 +0500
commite871d2c6805e8e7e1bdb6f83d29fc0307d4395d7 (patch)
treebf639e1ccd6548d5e8953c6f2ef8d559dadf13c4 /Makefile
parenttest: migrate to test-harness (diff)
downloadvk-scripts-e871d2c6805e8e7e1bdb6f83d29fc0307d4395d7.tar.gz
vk-scripts-e871d2c6805e8e7e1bdb6f83d29fc0307d4395d7.zip
allow running Docker tests locally
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..876228e
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+include prelude.mk
+
+.PHONY: all
+all:
+
+.PHONY: test
+test:
+ ./test/runner/main.sh
+
+test/docker/%: DO
+ cd test/docker && \
+ DISTRO='$*' docker compose build --force-rm -q && \
+ docker compose run --rm test && \
+ docker compose down -v
+
+# Keep the list distros synced with the GitHub actions workflow.
+.PHONY: test/docker
+test/docker: test/docker/noble
+test/docker: test/docker/resolute