Skip to content

Commit 6055e6e

Browse files
dkegel-fastlydeadprogram
authored andcommitted
Makefile: compress/lzw fails on windows wasi, see #2800, not plain windows.
1 parent 9239c61 commit 6055e6e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ TEST_PACKAGES_SLOW = \
221221

222222
# Standard library packages that pass tests quickly on darwin, linux, wasi, and windows
223223
TEST_PACKAGES_FAST = \
224-
compress/lzw \
225224
compress/zlib \
226225
container/heap \
227226
container/list \
@@ -269,18 +268,23 @@ TEST_PACKAGES_FAST = \
269268
# io/fs requires os.ReadDir, which is not yet supported on windows or wasi
270269
# testing/fstest requires os.ReadDir, which is not yet supported on windows or wasi
271270
# compress/flate fails windows go 1.18, https://github.com/tinygo-org/tinygo/issues/2762
271+
# compress/lzw fails windows go 1.18 wasi, https://github.com/tinygo-org/tinygo/issues/2762
272272

273273
# Additional standard library packages that pass tests on individual platforms
274274
TEST_PACKAGES_LINUX := \
275275
archive/zip \
276276
compress/flate \
277+
compress/lzw \
277278
debug/dwarf \
278279
debug/plan9obj \
279280
io/fs \
280281
testing/fstest
281282

282283
TEST_PACKAGES_DARWIN := $(TEST_PACKAGES_LINUX)
283284

285+
TEST_PACKAGES_WINDOWS := \
286+
compress/lzw
287+
284288
# Report platforms on which each standard library package is known to pass tests
285289
jointmp := $(shell echo /tmp/join.$$$$)
286290
report-stdlib-tests-pass:
@@ -299,7 +303,7 @@ ifeq ($(shell uname),Linux)
299303
TEST_PACKAGES_HOST := $(TEST_PACKAGES_FAST) $(TEST_PACKAGES_LINUX)
300304
endif
301305
ifeq ($(OS),Windows_NT)
302-
TEST_PACKAGES_HOST := $(TEST_PACKAGES_FAST)
306+
TEST_PACKAGES_HOST := $(TEST_PACKAGES_FAST) $(TEST_PACKAGES_WINDOWS)
303307
endif
304308

305309
# Test known-working standard library packages.

0 commit comments

Comments
 (0)