Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Nov 7, 2025

All this infrastructure with the BufferedTestBase was added to work around that fact that we were previously using using a fake TestResult class so that is could be serialized.

However in #25737 I converted to using TestResult as the superclass of BufferedParallelTestResult. There were only two members that needed to me removed to make it work. The TestResult class stores all exceptions as strings so there is also no need to the Fake exceptions stuff anymore.

@sbc100 sbc100 force-pushed the parallel_testsuite branch from fa7a845 to 5a0874f Compare November 7, 2025 01:13
@sbc100 sbc100 requested review from juj and kripken November 7, 2025 01:14
@sbc100 sbc100 force-pushed the parallel_testsuite branch 8 times, most recently from 9406ef0 to e5db51f Compare November 8, 2025 01:12
@sbc100
Copy link
Collaborator Author

sbc100 commented Nov 8, 2025

PTAL, I think this is a really nice cleanup of unnecessary code.

Copy link
Collaborator

@juj juj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, looks like a great simplification.

@sbc100 sbc100 force-pushed the parallel_testsuite branch from e5db51f to 0e7df1e Compare November 8, 2025 19:10
@sbc100 sbc100 enabled auto-merge (squash) November 8, 2025 19:18
All this infrastructure with the BufferedTestBase was added to work
around that fact that we were previously using using a fake TestResult
class so that is could be serialized.

However in emscripten-core#25737 I converted to using TestResult as the superclass of
BufferedParallelTestResult.  There were only two members that needed to
me removed to make it work.

With that change landed we can now remove a log of the other code here.
@sbc100 sbc100 force-pushed the parallel_testsuite branch from 0e7df1e to ec72dca Compare November 8, 2025 19:29
@sbc100 sbc100 merged commit 5d4d2fa into emscripten-core:main Nov 8, 2025
34 checks passed
@sbc100 sbc100 deleted the parallel_testsuite branch November 8, 2025 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants