test add valgrind support and address technical debt (#3731)

Test runners are now properly generated by CMake only when needed
This commit is contained in:
some00
2022-10-09 23:06:56 +02:00
committed by GitHub
parent d788cd9d7b
commit c3a49327ba
7 changed files with 35 additions and 37 deletions

View File

@@ -341,7 +341,7 @@ class UnityTestRunnerGenerator
def create_run_test(output)
require 'erb'
template = ERB.new(File.read(File.join(__dir__, 'run_test.erb')), nil, '<>')
template = ERB.new(File.read(File.join(__dir__, 'run_test.erb')), trim_mode: '<>')
output.puts("\n" + template.result(binding))
end