smoketest: add test to run tinygo targets

This commit is contained in:
sago35
2022-09-01 20:08:47 +09:00
committed by Ron Evans
parent 49b0086f8f
commit d463528a72
+1
View File
@@ -419,6 +419,7 @@ tinygo-baremetal:
.PHONY: smoketest
smoketest:
$(TINYGO) version
$(TINYGO) targets > /dev/null
# regression test for #2892
cd tests/testing/recurse && ($(TINYGO) test ./... > recurse.log && cat recurse.log && test $$(wc -l < recurse.log) = 2 && rm recurse.log)
# compile-only platform-independent examples