You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to run the temp_sensor example but fail. When running ceedling test:all in the temp_sensor directory (from most recent master branch c50ff9d), it fails with this error:
EXCEPTION: 'Default Test File Full Preprocessor' (gcc.exe) terminated with exit code [1] and output >>
test/TestUsartIntegrated.c:18:10: fatal error: calculators/MockUsartBaudRateRegisterCalculator.h: No such file or directory
18 | #include "calculators/MockUsartBaudRateRegisterCalculator.h" // Proves we can find a mock even with a path
In the temp_sensor directory, there is no "calculators/MockUsartBaudRateRegisterCalculator.h", but "build/test/mocks/TestUsartModel/MockUsartBaudRateRegisterCalculator.h".
I'm not familiar with ceedling. Is ceedling supposed to rewrite the #include in TestUsartIntegrated.c?
Where is the string "Default Test File Full Preprocessor"? I cannot find it in the ceedling project.
How should I debug this problem? Thanks very much!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I want to run the temp_sensor example but fail. When running
ceedling test:allin the temp_sensor directory (from most recent master branch c50ff9d), it fails with this error:In the temp_sensor directory, there is no "calculators/MockUsartBaudRateRegisterCalculator.h", but "build/test/mocks/TestUsartModel/MockUsartBaudRateRegisterCalculator.h".
I'm not familiar with ceedling. Is ceedling supposed to rewrite the
#includein TestUsartIntegrated.c?Where is the string "Default Test File Full Preprocessor"? I cannot find it in the ceedling project.
How should I debug this problem? Thanks very much!
Ceedling version is:
Ruby & gem, and gcc toolchain is installed in msys2 mingw64 environment. ceedling is installed by
gem install ceedlingBeta Was this translation helpful? Give feedback.
All reactions