From 45de89eb99acb2631f81dda72080245c5a17e729 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Fri, 4 Mar 2022 00:48:52 +0100 Subject: Tests now use our local compiled files. Previously there was a bunch of errors with the tests, where they tried to compile everything automatically, which usually went rather poorly due to it being in --debug mode. --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 182cdc8d..5144c888 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ GUILE_C_FLAGS = -Lmodule \ -Wmacro-use-before-definition -Warity-mismatch \ -Wduplicate-case-datum -Wbad-case-datum -all: $(GO_FILES) README static +all: go_files README static static: $(MAKE) -C static @@ -23,8 +23,10 @@ obj/%.go: module/%.scm @echo guild compile $< @guild compile $(GUILE_C_FLAGS) -o $@ $< +go_files: $(GO_FILES) + clean: - $(MAKE) -C static clean + -$(MAKE) -C static clean -rm -r obj install: all @@ -40,7 +42,7 @@ install: all README: README.in ./main text < README.in | sed "s/<>/`date -I`/" > README -test: +test: go_files tests/run-tests.scm $(MAKE) coverage -- cgit v1.2.3