Skip to content

Commit 6ae5122

Browse files
committed
Add make test comparison report
1 parent 213d7cc commit 6ae5122

2 files changed

Lines changed: 482 additions & 1 deletion

File tree

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ CLOJURE-DEPS += $(PERL)
1515
include $M/clojure.mk
1616
include $M/gh.mk
1717
include $M/clean.mk
18+
include $M/yamlscript.mk
1819
include $M/shell.mk
1920

2021
CLOJURE-STDLIB-VERSION := clojure-$(CLOJURE-STDLIB-SOURCE-VERSION)
@@ -206,11 +207,15 @@ bin/%/glj.wasm: \
206207
vet: $(GO)
207208
go vet ./...
208209

209-
.PHONY: test test-aot-runtime
210210
# vet is disabled until we fix errors in generated code
211211
test: test-aot-runtime test-glj # vet
212212
($(MAKE) test-suite v=1 || $(MAKE) test-suite v=1) || $(MAKE) test-suite v=1
213213

214+
test-compare: $(YS)
215+
@scripts/make-test-compare \
216+
'$(if $(with),$(with),origin/main)' '$(file)' \
217+
'$(if $(load),$(load),1.0)'
218+
214219
test-aot-runtime: $(GO)
215220
go test -tags glj_aot_runtime ./pkg/glj ./pkg/gljmain ./pkg/runtime
216221

0 commit comments

Comments
 (0)