I am trying to setup up unit tests for my existing embedded project. Unfortunatly the project has mixed extentions for the source files ".c" and ".C". Due to version control history I cannnot just rename all files to ".c"
I tried to edit the yaml file accordingly, but it seems it ceedling only support one or the other extension.
Normal
...
:extension:
:executable: .out
:source: .c
...
Not working way, but desired
...
:extension:
:executable: .out
:source: .c ; .C
...
LED.C is not compiled. So the linker fails.
Test 'test_LED.c'
-----------------
Generating runner for test_LED.c...
Compiling test_LED_runner.c...
Compiling test_LED.c...
Linking test_LED.out...
build/test/out/c/test_LED.o: In function `test_LED_NeedToImplement':
C:\Users\de7d7b\Workspaces\C_\myProject/test/test_LED.c:14: undefined reference to `LED_turnOn'
collect2.exe: error: ld returned 1 exit status