ci: run tinygo test for known-working packages

These packages are known to pass tests with `tinygo test`. It's still a
very short list, but hopefully this list can be expanded to eventually
cover most or all of the standard library.
This commit is contained in:
Ayke van Laethem
2020-09-04 00:41:35 +02:00
committed by Ron Evans
parent 88fd2823df
commit 475135f546
2 changed files with 8 additions and 1 deletions
+7 -1
View File
@@ -190,8 +190,14 @@ tinygo:
test: wasi-libc
CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GO) test -v -buildmode exe -tags byollvm ./cgo ./compileopts ./interp ./transform .
# Test known-working standard library packages.
# TODO: do this in one command, parallelize, and only show failing tests (no
# implied -v flag).
.PHONY: tinygo-test
tinygo-test:
cd tests/tinygotest && tinygo test
$(TINYGO) test container/list
$(TINYGO) test container/ring
$(TINYGO) test text/scanner
.PHONY: smoketest
smoketest: