-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using treat_inlines causes include files under support folder to break #407
Comments
You will need to give a bit more than that, because here it seems like your compiler and build system cannot find the "DSP280x_Device.h" and not a CMock failure. |
Here is a sample gpio.h
Which will turn into this generated file in the mock folder:
For some reason, the compiler cannot find "test/support/DSP280x_Device.h" but it can find "DSP280x_Device.h". Is there something wrong with my project.yaml maybe?
|
I am attaching an example that fails. But if you remove the treat_inlines from the project.yaml it works. |
Is this related to the use_test_preprocessor setting? If I set it to FALSE, then it seems to compile. Is this correct? |
I see similar issues and behaviour. Seems that
somehow works. |
ceedling version
Ceedling:: 0.31.1
Unity:: 2.5.4
CMock:: 2.5.4
CException:: 1.3.3
I have a file "DSP280x_Device.h" under the test/support/ folder.
If I use treat_inlines and mock "gpio.h" (which includes "DSP280x_Device.h"), the generated "gpio.h" file under the mock folder will add the test/support/ path, which causes the compile to fail.
The text was updated successfully, but these errors were encountered: