aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2022-09-02 14:39:25 +0200
committerRon Evans <[email protected]>2022-09-02 20:04:28 +0200
commit02160aa8d82effc31eaa62a816ee15b64d40b5d8 (patch)
treed4c73d82985a0bc6e40249be5484514fb5dcce10 /Makefile
parentc199dd03c7de3937c6b29110ab99a51500eac990 (diff)
downloadtinygo-02160aa8d82effc31eaa62a816ee15b64d40b5d8.tar.gz
tinygo-02160aa8d82effc31eaa62a816ee15b64d40b5d8.zip
windows: run more tests where supported
I found that some packages do in fact run on Windows, so I've added them where possible. I've also updated the description of which packages fail tests and why.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 04c3718cb..c418b310f 100644
--- a/Makefile
+++ b/Makefile
@@ -326,11 +326,15 @@ TEST_PACKAGES_FAST += crypto/elliptic/internal/fiat
endif
# archive/zip requires os.ReadAt, which is not yet supported on windows
+# compress/flate appears to hang on wasi
+# compress/lzw appears to hang on wasi
+# crypto/hmac fails on wasi, it exits with a "slice out of range" panic
# debug/plan9obj requires os.ReadAt, which is not yet supported on windows
# io/fs requires os.ReadDir, which is not yet supported on windows or wasi
+# io/ioutil requires os.ReadDir, which is not yet supported on windows or wasi
+# strconv requires recover() which is not yet supported on wasi
+# text/template/parse requires recover(), which is not yet supported on wasi
# testing/fstest requires os.ReadDir, which is not yet supported on windows or wasi
-# compress/flate fails windows go 1.18, https://github.com/tinygo-org/tinygo/issues/2762
-# compress/lzw fails windows go 1.18 wasi, https://github.com/tinygo-org/tinygo/issues/2762
# Additional standard library packages that pass tests on individual platforms
TEST_PACKAGES_LINUX := \
@@ -349,7 +353,12 @@ TEST_PACKAGES_LINUX := \
TEST_PACKAGES_DARWIN := $(TEST_PACKAGES_LINUX)
TEST_PACKAGES_WINDOWS := \
- compress/lzw
+ compress/flate \
+ compress/lzw \
+ crypto/hmac \
+ strconv \
+ text/template/parse \
+ $(nil)
# Report platforms on which each standard library package is known to pass tests
jointmp := $(shell echo /tmp/join.$$$$)