Added tests.

This commit is contained in:
Brad Nelson
2021-01-03 21:56:22 -08:00
parent 0dc6719cc1
commit c7371911ed
5 changed files with 39 additions and 3 deletions

View File

@ -6,7 +6,14 @@ TARGETS = out/web/terminal.html \
out/posix/ueforth \
out/arduino/ueforth.ino
all: $(TARGETS)
all: $(TARGETS) tests
tests: core_test
core_test: out/posix/ueforth common/core_test.fs \
common/core_test.fs.golden
echo "include common/core_test.fs" | $< | \
diff - common/core_test.fs.golden
out/gen:
mkdir -p out/gen