How to update test262.status via run-tests.py ?

151 views
Skip to first unread message

Jxck Jxck

unread,
Aug 8, 2024, 2:38:49 AM8/8/24
to v8-dev
Hi, I'm new to v8 contribution.

I'm reading through Testing documentation and running test262 successfully.
And now, I wanna update test262 to recent commits, and update test262.status expectation file, according to the docs.

https://v8.dev/docs/test#updating-the-inspector-test-expectations

1. update DEPS revision
2. gclient sync
3. gm x64.release test262

It seems succeeded. and then.

```
$./tools/run-tests.py \
   test262 \
   --regenerate-expected-files \
   --outdir=out/x64.release
```
It doesn't update test/test262/test262.status as I expected.
What am I missing here ?

ThanksJxck

Jakob Kummerow

unread,
Aug 12, 2024, 6:36:18 AM8/12/24
to v8-...@googlegroups.com
The "inspector test expectations" (for inspector tests) and test262.status (for test262) are two entirely different things, and the workflow that updates the former won't do anything for the latter.

There are some scripts in test/test262/tools/, but I don't know how to use them.

Generally speaking, the various test/*/*.status files are updated manually (though there may be exceptions where automated tooling exists).


--

block.rxc...@gmail.com

unread,
Aug 12, 2024, 7:21:20 AM8/12/24
to v8-...@googlegroups.com
thanks.
FYI: I got another official reply on github.

2024年8月12日(月) 19:36 Jakob Kummerow <jkum...@chromium.org>:
--
--
v8-dev mailing list
v8-...@googlegroups.com
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-dev+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/CAKSzg3SS3-UrOs_MTJcB1_fr51q73pyzjqyhFdse6eJJZ%2BmVuA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages