Add src/cmd/run-smoketest

This commit is contained in:
sago35
2020-09-05 10:53:07 +09:00
parent 26f3b70304
commit cee97e6d97
4 changed files with 220 additions and 1 deletions
+4 -1
View File
@@ -202,8 +202,11 @@ tinygo-test:
$(TINYGO) test text/scanner
$(TINYGO) test unicode/utf8
.PHONY: smoketest
.PHONY: smoketest smoketest-commands
smoketest:
@go run ./src/cmd/run-smoketest make smoketest-commands
smoketest-commands:
$(TINYGO) version
# test all examples (except pwm)
$(TINYGO) build -size short -o test.hex -target=pca10040 examples/blinky1