cleanup the way defines are handled in tests.

This commit is contained in:
Mark VanderVoord
2026-05-29 16:28:57 -04:00
parent c06bbe791c
commit 725e2d90ef
5 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
:executable: '.exe'
:defines:
:common:
:test:
- __monitor
- UNITY_SUPPORT_64
+1 -1
View File
@@ -132,7 +132,7 @@ module RakefileHelpers
# All defines: project common + Unity target + CMock overlay + any extras
def all_defines(extra = [])
(($proj[:defines][:common] || []) +
(($proj[:defines][:test] || []) +
($unity_cfg[:defines][:test] || []) +
(($cmock_cfg[:defines] || {})[:test] || []) +
extra).uniq