diff options
author | Dan Kegel <[email protected]> | 2022-05-01 21:36:38 -0700 |
---|---|---|
committer | Ron Evans <[email protected]> | 2022-05-03 05:36:55 +0200 |
commit | 1d2c39c3b9e46866161fe18f099d8ac5ab2a6425 (patch) | |
tree | 3455c711dd98d4141d7bc7c8ad7fb8674e30b252 /src/os | |
parent | 270a2f51fdc907bee0c9ae11f7be1675b6b69f04 (diff) | |
download | tinygo-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.go | 4 |
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") |