Skip to content

Commit

Permalink
test: add test for running in V8 jitless mode (#23054)
Browse files Browse the repository at this point in the history
Fixes #22453

This is fixed due to upgrade of deno_core, just adding
a test here.
  • Loading branch information
bartlomieju committed Apr 15, 2024
1 parent 9a31698 commit 55c27ca
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/specs/run/v8_jitless/__test__.jsonc
Original file line number Diff line number Diff line change
@@ -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 change: 1 addition & 0 deletions tests/specs/run/v8_jitless/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("Hello");
2 changes: 2 additions & 0 deletions tests/specs/run/v8_jitless/main.out
Original file line number Diff line number Diff line change
@@ -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]

0 comments on commit 55c27ca

Please sign in to comment.