Repository navigation
oganesson.py test: build and run dubna's unit tests first - #166
Merged
Merged
Conversation
A full test run (no suites named) builds containers_unittests and browser_traffic_unittests in the binary's build folder, in the builder container, and runs them before the browser tests. A failure ends the run with its exit code, so release.yml's test step stops the release. dubna moves to its fix/browser-traffic-unittests-main (zakius/dubna#272), which gives browser_traffic_unittests its own main(): through run_all_unittests it needed Chromium's test fonts and didn't build. Closes #164 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
./oganesson.py testwith no suites named now buildscontainers_unittestsandbrowser_traffic_unittestsin the binary's build folder (out/Release with--release), in the builder container, and runs them before the browser tests. A failing unit test ends the run with its exit code, so release.yml's "Linux build, unit tests and browser tests" step fails and the release stops. With suites named, only those suites run, as before. The README's test section and the Releasing steps say so.The dubna submodule moves to zakius/dubna#272 (1ee747e).
browser_traffic_unittestsdidn't build:run_all_unittestsandprefs:test_supportneed Chromium's test fonts, which the tree doesn't have. #272 gives it its ownmain(), ascontainers_unittestshas. Merge zakius/dubna#272 first. The submodule then points at a commit of dubna's branch, which the merge keeps if it isn't squashed.Tested on a reflink copy of the main checkout's release tree (158.0.8127.88, same commit as main), with the dubna change copied into it:
./oganesson.py test --release: both targets built (2 steps), 20 + 9 unit tests passed, then 435 browser tests in 125 classes passed. Exit 0, load about 5../oganesson.py test --releaseexited 1 after the unit tests, and no browser test started.sh tools/hooks/pre-commitpasses.Not run: a full
./oganesson.py build --releasefrom a clean prepare with the new submodule, andcheck-patches, since no patch changed.Closes #164
🤖 Generated with Claude Code