diff --git a/lib/ceedling/test_invoker.rb b/lib/ceedling/test_invoker.rb index 87c4661e..4447cb1f 100644 --- a/lib/ceedling/test_invoker.rb +++ b/lib/ceedling/test_invoker.rb @@ -362,7 +362,7 @@ def compile_test_component(tool:TOOLS_TEST_COMPILER, context:TEST_SYM, test:, so testable = @testables[test] filepath = testable[:filepath] flags = testable[:compile_flags] - defines = testable[:defines] + defines = testable[:compile_defines] # Tailor search path--remove duplicates and reduce list to only those needed by vendor / support file compilation search_paths = @helper.tailor_search_paths(search_paths:testable[:search_paths], filepath:source)