removing local test paths from WASM WASI run scripts

This commit is contained in:
Richard Geldreich
2026-01-22 18:28:40 -05:00
parent bd65e255ed
commit 54bc84c3e4
4 changed files with 7 additions and 4 deletions

View File

@@ -2,4 +2,5 @@
REM Example: "runw.bat test_images/xmen.png"
REM Example: "runw.bat /bik/bik1.png"
wasmtime --dir=. --dir=.. --dir=..\test_files --dir=d:/dev/test_images::/test_images --dir=d:/dev/test_images/bik::/bik basisu_st.wasm %*
REM wasmtime --dir=. --dir=.. --dir=..\test_files --dir=d:/dev/test_images::/test_images --dir=d:/dev/test_images/bik::/bik basisu_st.wasm %*
wasmtime --dir=. --dir=.. --dir=..\test_files basisu_st.wasm %*

View File

@@ -1,2 +1,2 @@
#!/usr/bin/env bash
wasmtime run --dir=. --dir=../test_files --dir=/mnt/d/dev/test_images::/test_images --dir=/mnt/d/dev/test_images/bik::/test_images/bik ./basisu_st.wasm "$@"
wasmtime run --dir=. --dir=../test_files ./basisu_st.wasm "$@"

View File

@@ -2,4 +2,6 @@
REM Example: "runw.bat test_images/xmen.png"
REM Example: "runw.bat /bik/bik1.png"
wasmtime --wasm threads=yes --wasi threads=yes --dir=. --dir=.. --dir=..\test_files --dir=d:/dev/test_images::/test_images --dir=d:/dev/test_images/bik::/bik basisu_mt.wasm %*
REM wasmtime --wasm threads=yes --wasi threads=yes --dir=. --dir=.. --dir=..\test_files::/test_files --dir=d:/dev/test_images::/test_images --dir=d:/dev/test_images/bik::/bik basisu_mt.wasm %*
wasmtime --wasm threads=yes --wasi threads=yes --dir=. --dir=.. --dir=..\test_files::/test_files basisu_mt.wasm %*

View File

@@ -1,2 +1,2 @@
#!/usr/bin/env bash
wasmtime run --dir=. --dir=../test_files --dir=/mnt/d/dev/test_images::/test_images --dir=/mnt/d/dev/test_images/bik::/test_images/bik --wasm threads=yes --wasi threads=yes ./basisu_mt.wasm "$@"
wasmtime run --dir=. --dir=../test_files --wasm threads=yes --wasi threads=yes ./basisu_mt.wasm "$@"