summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-03-24 21:15:36 +0200
committerPaul Buetow <paul@buetow.org>2025-03-24 21:15:36 +0200
commiteefcf3c73695d23897335590c74ee83b4ef4e75f (patch)
tree19544325a252e981fd87fb9f2c82b07dc8733b93 /Makefile
parentd4738888bc71e7aaa45d911b3fc3e3f6905ce9fd (diff)
test target works
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3935361..b8f7c1c 100644
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,7 @@ clean:
make -C ./internal/c clean
.PHONY: world
-world: clean generate all
+world: clean generate test all
.PHONY: flames
flames:
@@ -71,4 +71,8 @@ inferno:
prof:
$(GO) tool pprof -pdf ./ior ior.cpuprofile > cpuprofile.pdf && evince cpuprofile.pdf &
$(GO) tool pprof -pdf ./ior ior.memprofile > memprofile.pdf && evince memprofile.pdf &
-
+
+.PHONY: test
+test:
+ $(GO) clean -testcache
+ $(GO) test ./... -v