Commit 7da816ee authored by Michael Achenbach's avatar Michael Achenbach Committed by Commit Bot

[test] Add bytecode-expectation test

This adds a simple test calling:
generate-bytecode-expectations --check-baseline

It's added on one CQ and one CI builder. The infra side specifying the
command line landed here:
https://crrev.com/c/1709454

For the command to succeed on swarming we instruct the isolate server
to archive the executable alongside with all the *.golden files needed
for the --check-baseline command.

Bug: v8:9520
Change-Id: I358ca7a7142c0fdaa7f6960515e524729a481394
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1709424Reviewed-by: 's avatarDan Elphick <delphick@chromium.org>
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#62844}
parent 948ba172
......@@ -31,6 +31,10 @@
"label": "//test:v8_d8_default",
"type": "script",
},
"generate-bytecode-expectations": {
"label": "//test/cctest:generate-bytecode-expectations",
"type": "script",
},
"mjsunit": {
"label": "//test/mjsunit:v8_mjsunit",
"type": "script",
......
......@@ -338,6 +338,7 @@
{'name': 'benchmarks'},
{'name': 'benchmarks', 'variant': 'assert_types'},
{'name': 'benchmarks', 'variant': 'extra'},
{'name': 'check-bytecode-baseline'},
{'name': 'mozilla'},
{'name': 'mozilla', 'variant': 'assert_types'},
{'name': 'mozilla', 'variant': 'extra'},
......@@ -891,6 +892,7 @@
{'name': 'benchmarks'},
{'name': 'benchmarks', 'variant': 'assert_types'},
{'name': 'benchmarks', 'variant': 'extra'},
{'name': 'check-bytecode-baseline'},
{'name': 'mjsunit_sp_frame_access'},
{'name': 'mozilla'},
{'name': 'mozilla', 'variant': 'assert_types'},
......
......@@ -450,4 +450,8 @@ v8_executable("generate-bytecode-expectations") {
"../..:v8_libplatform",
"//build/win:default_exe_manifest",
]
data = [
"interpreter/bytecode_expectations/",
]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment