Closed christ-re closed 2 months ago
Update i think i managed to figure out what the problem is. It seems that from the 1.0.0-fcf7c82 to the 1.0.0-3d9cd04 the constant RUBY_EVAL_REPLACEMENT_PATTERN was removed from the lib/ceedling/constant.rb file.
constants.rb from 1.0.0-fcf7c82:
# Match presence of any glob pattern characters
GLOB_PATTERN = /[\*\?\{\}\[\]]/
RUBY_STRING_REPLACEMENT_PATTERN = /#\{.+\}/
RUBY_EVAL_REPLACEMENT_PATTERN = /^\{(.+)\}$/
TOOL_EXECUTOR_ARGUMENT_REPLACEMENT_PATTERN = /(\$\{(\d+)\})/
TEST_STDOUT_STATISTICS_PATTERN = /\n-+\s*(\d+)\s+Tests\s+(\d+)\s+Failures\s+(\d+)\s+Ignored\s+(OK|FAIL)\s*/i
constants.rb from 1.0.0-3d9cd04:
# Match presence of any glob pattern characters
GLOB_PATTERN = /[\*\?\{\}\[\]]/
RUBY_STRING_REPLACEMENT_PATTERN = /#\{.+\}/
TOOL_EXECUTOR_ARGUMENT_REPLACEMENT_PATTERN = /(\$\{(\d+)\})/
TEST_STDOUT_STATISTICS_PATTERN = /\n-+\s*(\d+)\s+Tests\s+(\d+)\s+Failures\s+(\d+)\s+Ignored\s+(OK|FAIL)\s*/i
When i add it manually i don't get the error. So i think it is a bug from the newest version right?
@christ-re So sorry about that. Thanks for the report. A little-used and problematic feature was recently remover in favor of another being expanded for use in tool definitions. It seems we lack a test case for a code path for a more advanced form of tool argument definitions. A new prerelease is coming very soon. We'll get this fixed in that prerelease as well.
This is fixed in 1.0.0-d880297.
Hi,
i have installed ceedling 1.0.0-3d9cd04 and ruby ruby 3.3.4 on Windows. I tried to run my tests with clang compiler v 18.1.8, but there is a problem.
When i run this config:
this works fine, but i wanted to add some custom flags, so i changed it to this:
and get this error:
Does anybody know whats the issue? When i downgrade to ceedling 0.31.1 and ruby 3.1.6 then it works, but i would like to use newer versions if possible.
Thank you all