Adding unit tests.

This commit is contained in:
Brad Nelson
2021-01-31 21:58:43 -08:00
parent 778bc96c3a
commit 43364e3699
4 changed files with 47 additions and 1 deletions

View File

@ -103,13 +103,16 @@ clean:
# ---- TESTS ----
tests: core_test
tests: core_test unit_tests
core_test: $(POSIX)/ueforth common/core_test.fs \
common/core_test.fs.golden
echo "include common/core_test.fs" | $< | \
diff - common/core_test.fs.golden
unit_tests: $(POSIX)/ueforth common/all_tests.fs
echo "include common/all_tests.fs" | $<
# ---- GENERATED ----
$(GEN):