Ceedling 1.0.0 and :support
#983
Replies: 4 comments 11 replies
-
|
Hi :) I'm not clear on how it was working previously given your description? In the past, if you were not The test files DO need to include all the files that are to be linked, either by using |
Beta Was this translation helpful? Give feedback.
-
|
Ah. Is |
Beta Was this translation helpful? Give feedback.
-
|
Hi @mvandervoord , I am currently migrating from 0.31.1 to 1.0.1. I had a look using Is it the case that will cause all source files in support to be added to the compilation of the test module regardless of whether it is used or not? Thanks in advance for your help! |
Beta Was this translation helpful? Give feedback.
-
|
@jan-joseph @CJCombrink: We discussed all this and came to a few important realizations:
The big takeaway in all this is realizing that both needs — code attached to every test fixture and also selectively included — are real and should be fully supported. Favoring one use case or another for an interpretation of Please share any questions or reactions. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Quick question just to make sure if I am not missing something while trying to migrate to ceedling 1.0.0:
My project has
:paths:->:support:->- test/support/**which contains filesplatform_mocking.handplatform_mocking.cWithout much effort I am able to build the project and run the tests.
When I migrate to ceedling 1.0.0 and add the
:paths:->:support:->- test/support/**to my project I get linker errors for all test files that does not include the mock fileThe error
undefined reference to XXXfor each function in theplatform_mocking.hheader.So the question is did I misconfigure my project so that this is now included for each test file or is this expected for ceedling 1.0.0?
Beta Was this translation helpful? Give feedback.
All reactions