Update CMock for Ruby 4 test runner generation - #1351
Merged
Conversation
Old-Ding
force-pushed
the
codex/ruby4-unity-runner
branch
from
July 9, 2026 02:08
1e52cd3 to
086773c
Compare
rawalexe
approved these changes
Jul 9, 2026
rawalexe
left a comment
Member
There was a problem hiding this comment.
Straightforward dependency pin bump to fix Ruby 4 compatibility in test-runner generation; no production/source code affected. Approving — please just confirm manifest.yml's version string and the submodule commit hash correspond to the same CMock release before merge.
cookpate
approved these changes
Jul 10, 2026
Advance CMock to the upstream revision whose Unity runner generator uses Ruby keyword arguments for ERB.new, and update manifest.yml to match the submodule revision so manifest verification passes. Signed-off-by: Old-Ding <ai.neo.ae86@gmail.com>
rawalexe
force-pushed
the
codex/ruby4-unity-runner
branch
from
July 10, 2026 00:32
086773c to
6366c22
Compare
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.
Summary
tools/CMocksubmodule to the first upstream CMock revision that carries a Ruby 4-compatible Unity test runner generatorERB.new(file, trim_mode: '<>')call, avoiding the Ruby 4 arity error reported in [BUG] Unittest code generation failure with Ruby 4 #1347Fixes #1347.
Validation
git diff --check upstream/main...HEADtools/CMock/vendor/unity/auto/generate_test_runner.rbusesERB.new(file, trim_mode: '<>')I do not have Ruby installed locally, so I could not run the unit-test generation workflow end to end on this machine.