|
@ -196,10 +196,8 @@ tinygo: |
|
|
test: wasi-libc |
|
|
test: wasi-libc |
|
|
CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GO) test $(GOTESTFLAGS) -timeout=20m -buildmode exe -tags byollvm ./builder ./cgo ./compileopts ./compiler ./interp ./transform . |
|
|
CGO_CPPFLAGS="$(CGO_CPPFLAGS)" CGO_CXXFLAGS="$(CGO_CXXFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" $(GO) test $(GOTESTFLAGS) -timeout=20m -buildmode exe -tags byollvm ./builder ./cgo ./compileopts ./compiler ./interp ./transform . |
|
|
|
|
|
|
|
|
TEST_PACKAGES = \
|
|
|
TEST_PACKAGES_BASE = \
|
|
|
compress/bzip2 \
|
|
|
compress/bzip2 \
|
|
|
compress/flate \
|
|
|
|
|
|
compress/zlib \
|
|
|
|
|
|
container/heap \
|
|
|
container/heap \
|
|
|
container/list \
|
|
|
container/list \
|
|
|
container/ring \
|
|
|
container/ring \
|
|
@ -231,7 +229,6 @@ TEST_PACKAGES = \ |
|
|
math/cmplx \
|
|
|
math/cmplx \
|
|
|
net/http/internal/ascii \
|
|
|
net/http/internal/ascii \
|
|
|
net/mail \
|
|
|
net/mail \
|
|
|
os \
|
|
|
|
|
|
path \
|
|
|
path \
|
|
|
reflect \
|
|
|
reflect \
|
|
|
sync \
|
|
|
sync \
|
|
@ -242,11 +239,24 @@ TEST_PACKAGES = \ |
|
|
unicode/utf16 \
|
|
|
unicode/utf16 \
|
|
|
unicode/utf8 \
|
|
|
unicode/utf8 \
|
|
|
|
|
|
|
|
|
|
|
|
# Standard library packages that pass tests natively
|
|
|
|
|
|
TEST_PACKAGES = \
|
|
|
|
|
|
$(TEST_PACKAGES_BASE) \
|
|
|
|
|
|
compress/flate \
|
|
|
|
|
|
compress/zlib \
|
|
|
|
|
|
os \
|
|
|
|
|
|
|
|
|
|
|
|
# Standard library packages that pass tests on wasi
|
|
|
|
|
|
TEST_PACKAGES_WASI = \
|
|
|
|
|
|
$(TEST_PACKAGES_BASE) |
|
|
|
|
|
|
|
|
# Test known-working standard library packages.
|
|
|
# Test known-working standard library packages.
|
|
|
# TODO: parallelize, and only show failing tests (no implied -v flag).
|
|
|
# TODO: parallelize, and only show failing tests (no implied -v flag).
|
|
|
.PHONY: tinygo-test |
|
|
.PHONY: tinygo-test |
|
|
tinygo-test: |
|
|
tinygo-test: |
|
|
$(TINYGO) test $(TEST_PACKAGES) |
|
|
$(TINYGO) test $(TEST_PACKAGES) |
|
|
|
|
|
tinygo-test-wasi: |
|
|
|
|
|
$(TINYGO) test -target wasi $(TEST_PACKAGES_WASI) |
|
|
|
|
|
|
|
|
.PHONY: smoketest |
|
|
.PHONY: smoketest |
|
|
smoketest: |
|
|
smoketest: |
|
|