mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
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.
This commit is contained in:
parent
9a31698207
commit
55c27cadc8
3 changed files with 8 additions and 0 deletions
5
tests/specs/run/v8_jitless/__test__.jsonc
Normal file
5
tests/specs/run/v8_jitless/__test__.jsonc
Normal file
|
@ -0,0 +1,5 @@
|
|||
// Regression test for https://github.com/denoland/deno/issues/22453
|
||||
{
|
||||
"args": "run --v8-flags=--jitless main.js",
|
||||
"output": "main.out"
|
||||
}
|
1
tests/specs/run/v8_jitless/main.js
Normal file
1
tests/specs/run/v8_jitless/main.js
Normal file
|
@ -0,0 +1 @@
|
|||
console.log("Hello");
|
2
tests/specs/run/v8_jitless/main.out
Normal file
2
tests/specs/run/v8_jitless/main.out
Normal file
|
@ -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]
|
Loading…
Reference in a new issue