We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 216a9ab commit ceb461eCopy full SHA for ceb461e
.gitignore
@@ -13,3 +13,5 @@ node_modules/
13
/rusturl/
14
# compiler_flags
15
/js-compute-runtime.wasm
16
+tests/wpt-harness/wpt-test-runner.js
17
+wpt-runtime.wasm
tests/wpt-harness/build-wpt-runtime.sh
@@ -1,7 +1,6 @@
1
#!/usr/bin/env bash
2
3
set -euo pipefail
4
-
5
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
6
7
inputs=(
@@ -10,5 +9,5 @@ inputs=(
10
9
"${script_dir}/post-harness.js"
11
)
12
-cat "${inputs[@]}" | \
- wizer --allow-wasi --dir=. -r _start=wizer.resume -o wpt-runtime.wasm js-compute-runtime.wasm
+cat "${inputs[@]}" > "${script_dir}/wpt-test-runner.js"
+node "${script_dir}/../../js-compute-runtime-cli.js" "${script_dir}/wpt-test-runner.js" wpt-runtime.wasm
0 commit comments