standalone: Improve test

This commit is contained in:
Remko Tronçon 2022-10-08 08:36:47 +02:00
parent e7a45f5b0c
commit 344e926531

View file

@ -76,8 +76,11 @@ package: waforth
.PHONY: check
check:
echo "" | ./waforth
-rm -f test.out
echo ": MAIN 1 2 3 + .S ; MAIN" | ./waforth | tee test.out
grep "1 5 ok" test.out
rm test.out
.PHONY: clean
clean:
-rm -f waforth_core.wasm waforth_core.h $(OBJECTS) waforth *.tgz
-rm -f waforth_core.wasm waforth_core.h $(OBJECTS) waforth *.tgz *.zip test.out