Repository navigation
🌱 Expose Meson runner program - #859
Open
Firat17aze wants to merge 1 commit into
Open
Firat17aze wants to merge 1 commit into
Firat17aze wants to merge 1 commit into
Conversation
Meson consumers could only use the fixed generator object. That prevented custom targets from choosing their own output name and full command line. Expose the already-discovered runner as a subproject variable and document direct custom-target usage. A downstream Meson consumer built and passed with the custom runner output. Resolves: ThrowTheSwitch#835 Signed-off-by: Firat17aze <your@email.com>
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.
🍍
Fixes #835.
Meson consumers can currently retrieve Unity's
gen_test_runnerobject, but that generator fixes the output pattern. This prevents consumers that need a custom output name or a fully controlled command line from using the bundled runner script directly.This exposes the same discovered program as
gen_test_runner_exewhile leavinggen_test_runnerunchanged. The Meson guide now shows how to use the program in acustom_target(), and the change log records the new subproject interface.Validation:
rake ci— 3,070 tests passed with 0 failures; RuboCop checked 12 files with no offenses.gen_test_runner_exe, generated a custom-named runner, compiled it with Unity, and passed its test (1/1).git diff --checkpassed.No hardware validation was needed because this change is limited to the host-side Meson integration.
LLMs were used for review and code generation in some parts of this pull request.