aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/os
diff options
context:
space:
mode:
authorDan Kegel <[email protected]>2022-05-01 21:36:38 -0700
committerRon Evans <[email protected]>2022-05-03 05:36:55 +0200
commit1d2c39c3b9e46866161fe18f099d8ac5ab2a6425 (patch)
tree3455c711dd98d4141d7bc7c8ad7fb8674e30b252 /src/os
parent270a2f51fdc907bee0c9ae11f7be1675b6b69f04 (diff)
downloadtinygo-1d2c39c3b9e46866161fe18f099d8ac5ab2a6425.tar.gz
tinygo-1d2c39c3b9e46866161fe18f099d8ac5ab2a6425.zip
os: skip TestDirFSPathsValid on WASI to work around #2828 on windows
Diffstat (limited to 'src/os')
-rw-r--r--src/os/os_anyos_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/os/os_anyos_test.go b/src/os/os_anyos_test.go
index 51e986fcc..d8ac01c2c 100644
--- a/src/os/os_anyos_test.go
+++ b/src/os/os_anyos_test.go
@@ -298,6 +298,10 @@ func TestDirFSPathsValid(t *testing.T) {
t.Log("skipping on Windows")
return
}
+ if isWASI {
+ t.Log("skipping on wasi because it fails on wasi on windows")
+ return
+ }
// TODO: switch back to t.TempDir once it's implemented
d, err := MkdirTemp("", "TestDirFSPathsValid")