[webkit-changes] [WebKit/WebKit] 95ec7f: Add `-list` flag to testb3
jjgriego
noreply at github.com
Mon May 22 12:03:17 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 95ec7fc55b008cd504f2e8b6c178f5b864a51825
https://github.com/WebKit/WebKit/commit/95ec7fc55b008cd504f2e8b6c178f5b864a51825
Author: Joseph Griego <jgriego at igalia.com>
Date: 2023-05-22 (Mon, 22 May 2023)
Changed paths:
M Source/JavaScriptCore/b3/testb3.h
M Source/JavaScriptCore/b3/testb3_1.cpp
M Source/JavaScriptCore/b3/testb3_2.cpp
M Source/JavaScriptCore/b3/testb3_3.cpp
M Source/JavaScriptCore/b3/testb3_4.cpp
M Source/JavaScriptCore/b3/testb3_6.cpp
M Source/JavaScriptCore/b3/testb3_7.cpp
M Source/JavaScriptCore/b3/testb3_8.cpp
Log Message:
-----------
Add `-list` flag to testb3
https://bugs.webkit.org/show_bug.cgi?id=256857
Reviewed by Justin Michaud.
This is useful to write scripts that need to analyze runs of testb3 or to
continue past failures (which manifest as crashes).
`testb3` now can be invoked as:
testb3 [-list] [-filter <filter>]
the `-list` flag causes testb3 to simply print the defined test cases; `-filter`
acts like the current argument (filtering the test cases to run).
`-filter` is ignored if `-list` was passed.
`testb3` will also continue to accept the current commandline:
testb3 [filter]
To accomplish this, the `const char* filter` parameter has been replaced
everywhere with a TestConfig parameter that stores a filter and also now a run
mode.
* Source/JavaScriptCore/b3/testb3.h:
* Source/JavaScriptCore/b3/testb3_1.cpp:
(shouldRun):
(run):
(main):
* Source/JavaScriptCore/b3/testb3_2.cpp:
(testBitOrImms32):
* Source/JavaScriptCore/b3/testb3_3.cpp:
(testNegPtr):
(addArgTests):
* Source/JavaScriptCore/b3/testb3_4.cpp:
(testPatchpointAnyImm):
* Source/JavaScriptCore/b3/testb3_6.cpp:
(addSShrShTests):
* Source/JavaScriptCore/b3/testb3_7.cpp:
(tupleNestedLoop):
* Source/JavaScriptCore/b3/testb3_8.cpp:
(testAtomicXchg):
(testLoad):
Canonical link: https://commits.webkit.org/264339@main
More information about the webkit-changes
mailing list