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:
Bartek Iwańczuk 2024-04-16 00:47:01 +01:00 committed by GitHub
parent 9a31698207
commit 55c27cadc8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 0 deletions

View 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"
}

View file

@ -0,0 +1 @@
console.log("Hello");

View 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]