Adding JSC stress test runs with other options

# Paulo Matos (3 days ago)

Due to the failure reported in bugs.webkit.org/show_bug.cgi?id=202041 which I am investigating, I was attempting to add a test run of stress/regexp-unicode-surrogate-pair-increment-should-involve-length-check.js

with the option --useRegExpJIT=0 Unfortunately simply adding //@ requireOptions("--useRegExpJIT=0"), makes all the tests on the file use the option instead of using the option as an addition to what was already running.

Is there currently a way to say, in addition to the tests you're already running, try running with this option X?

Also, is there in general any documentation on the /test language/ one can use in test headers? i.e. after //@? See llvm.org/docs/TestingGuide.html#constraining-test-execution for an example of such documentation.

Thanks,

Contact us to advertise here
# Osztrogonác Csaba (3 days ago)

As far as I know there is no documentation about what can you add after "//@". But in general you can add there whatever you want. It is executed by run-jsc-stress-tests in an eval: trac.webkit.org/browser/webkit/trunk/Tools/Scripts/run-jsc-stress-tests#L576

br, Ossy

2019.09.20. 11:38 keltezéssel, Paulo Matos írta:

# Paulo Matos (3 days ago)

On 20/09/2019 11:49, Osztrogonác Csaba wrote:

Hi,

As far as I know there is no documentation about what can you add after "//@". But in general you can add there whatever you want. It is executed by run-jsc-stress-tests in an eval: trac.webkit.org/browser/webkit/trunk/Tools/Scripts/run-jsc-stress-tests#L576

Thanks. I was reading the code post your 'eval' reference to the source code and I managed to do what I wanted as: //@ defaultRun; runDefault("--useRegExpJIT=0")

Thanks.

Want more features?

Request early access to our private beta of readable email premium.