-
Notifications
You must be signed in to change notification settings - Fork 3.4k
[test] Remove manually_trigger_reftest
option. NFC
#22665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
673b9d5
to
dba72ec
Compare
@@ -2215,6 +2213,7 @@ def make_reftest(self, expected, manually_trigger=False): | |||
function doReftest() { | |||
if (doReftest.done) return; | |||
doReftest.done = true; | |||
console.log('doReftest'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
temporary debugging?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy to leave this.. seems useful for debugging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good.
This option was only being used by 5 tests. These 5 tests are all for SDL_image and they seem to work perfectly fine with automatic reftest which happens when the application is done
dba72ec
to
142f070
Compare
In emscripten-core#22665 I removed the manually_trigger_reftest. However this resulted in racey behaviour in some tests. It turns out that running `doReftest` during `postRun` was working, but only because `doReftest` itself was doing async work, thus delaying the actual capture of the canvas bits. This change re-instates the behaviour but without the need to test setting in python.
In emscripten-core#22665 I removed the manually_trigger_reftest. However this resulted in racey behaviour in some tests. It turns out that running `doReftest` during `postRun` was working, but only because `doReftest` itself was doing async work, thus delaying the actual capture of the canvas bits. This change re-instates the behaviour but without the need to test setting in python.
In emscripten-core#22665 I removed the manually_trigger_reftest. However this resulted in racey behaviour in some tests. It turns out that running `doReftest` during `postRun` was working, but only because `doReftest` itself was doing async work, thus delaying the actual capture of the canvas bits. This change re-instates the behaviour but without the need to test setting in python.
In emscripten-core#22665 I removed the manually_trigger_reftest. However this resulted in racey behaviour in some tests. It turns out that running `doReftest` during `postRun` was working, but only because `doReftest` itself was doing async work, thus delaying the actual capture of the canvas bits. This change re-instates the behaviour but without the need to test setting in python.
In emscripten-core#22665 I removed the manually_trigger_reftest. However this resulted in racey behaviour in some tests. It turns out that running `doReftest` during `postRun` was working, but only because `doReftest` itself was doing async work, thus delaying the actual capture of the canvas bits. This change re-instates the behaviour but without the need to test setting in python.
…22672) In #22665 I removed the manually_trigger_reftest. However this resulted in racey behaviour in some tests. It turns out that running `doReftest` during `postRun` was working, but only because `doReftest` itself was doing async work, thus delaying the actual capture of the canvas bits. This change re-instates the behaviour but without the need to test setting in python.
This option was only being used by 5 tests. These 5 tests are all for SDL_image and they seem to work perfectly fine with automatic reftest which happens when the application is done