smoketest: run with go script

This commit is contained in:
sago35
2021-12-07 08:43:28 +09:00
parent 0285171484
commit 954acdbdf5
3 changed files with 293 additions and 1 deletions
+4 -1
View File
@@ -247,8 +247,11 @@ TEST_PACKAGES = \
tinygo-test:
$(TINYGO) test $(TEST_PACKAGES)
.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