diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-04-16 00:47:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-15 23:47:01 +0000 |
commit | 55c27cadc8a4436892bdeea7e7798480474b2ad8 (patch) | |
tree | 486f04c1c9e24f447ade5c3ad4b87e376df43a61 | |
parent | 9a31698207b8d4aeed0eb7ddd33eaac1da38b72a (diff) |
test: add test for running in V8 jitless mode (#23054)
Fixes https://github.com/denoland/deno/issues/22453
This is fixed due to upgrade of deno_core, just adding
a test here.
-rw-r--r-- | tests/specs/run/v8_jitless/__test__.jsonc | 5 | ||||
-rw-r--r-- | tests/specs/run/v8_jitless/main.js | 1 | ||||
-rw-r--r-- | tests/specs/run/v8_jitless/main.out | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/tests/specs/run/v8_jitless/__test__.jsonc b/tests/specs/run/v8_jitless/__test__.jsonc new file mode 100644 index 000000000..3d4cbcc81 --- /dev/null +++ b/tests/specs/run/v8_jitless/__test__.jsonc @@ -0,0 +1,5 @@ +// Regression test for https://github.com/denoland/deno/issues/22453 +{ + "args": "run --v8-flags=--jitless main.js", + "output": "main.out" +} diff --git a/tests/specs/run/v8_jitless/main.js b/tests/specs/run/v8_jitless/main.js new file mode 100644 index 000000000..bf6b81796 --- /dev/null +++ b/tests/specs/run/v8_jitless/main.js @@ -0,0 +1 @@ +console.log("Hello"); diff --git a/tests/specs/run/v8_jitless/main.out b/tests/specs/run/v8_jitless/main.out new file mode 100644 index 000000000..7140fcbdf --- /dev/null +++ b/tests/specs/run/v8_jitless/main.out @@ -0,0 +1,2 @@ +[# Using wildcard here because v8 outputs the message with \r\n on Windows, but \r on Unix] +Warning: disabling flag --expose_wasm due to conflicting flags[WILDCARD]Hello[WILDCARD]
\ No newline at end of file |