Modifying makefile to use bootstrapped cyclone for tests

This commit is contained in:
Koz Ross 2017-02-02 08:17:04 +13:00
parent 4bcbb2ad16
commit 3ab57463e8
2 changed files with 4 additions and 3 deletions

View file

@ -4,8 +4,8 @@
include Makefile.config
CYCLONE = cyclone
TESTSCM = unit-tests
CYCLONE = ../cyclone-bootstrap/cyclone -A . -A ../cyclone-bootstrap
TESTSCM = unit-tests srfi-60-tests
TESTFILES = $(addprefix tests/, $(addsuffix .scm, $(TESTSCM)))
BOOTSTRAP_DIR = ../cyclone-bootstrap
@ -175,7 +175,7 @@ examples:
.PHONY: test
test: $(TESTFILES) $(CYCLONE) $(COBJECTS)
$(foreach f,$(TESTSCM), echo tests/$(f) ; ./cyclone -A . tests/$(f).scm && tests/$(f) && rm -rf tests/$(f);)
$(foreach f,$(TESTSCM), echo tests/$(f) ; $(CYCLONE) tests/$(f).scm && tests/$(f) && rm -rf tests/$(f);)
.PHONY: tags
tags:

1
test.txt Normal file
View file

@ -0,0 +1 @@
ok