Skip to content

TestRunner: write to the messagesFile only at the end.#1891

Merged
sideshowbarker merged 1 commit intovalidator:mainfrom
tenzap:ajaxTestRunner
Oct 15, 2025
Merged

TestRunner: write to the messagesFile only at the end.#1891
sideshowbarker merged 1 commit intovalidator:mainfrom
tenzap:ajaxTestRunner

Conversation

@tenzap
Copy link
Copy Markdown
Contributor

@tenzap tenzap commented Oct 15, 2025

Addition/Fix to ff0c83e

Since reportedMessages.build() flushes the content of the JsonObjectBuilder it has to be called only once, at the end of the processing.

After ff0c83e, the resulting messages.json became empty when running make -C tests/ messages.json. This should fix it.

Addition/Fix to ff0c83e

Since reportedMessages.build() flushes the content of the JsonObjectBuilder
it has to be called only once, at the end of the processing.
@sideshowbarker sideshowbarker merged commit 3a9ccea into validator:main Oct 15, 2025
15 checks passed
@tenzap tenzap deleted the ajaxTestRunner branch October 15, 2025 09:16
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