Hi
I would like to run unit tests for my native linux apps in the SEGGER Linux IDE.
For example with googletests or github.com/ThrowTheSwitch/Unity .
The latter , when used in platform.io produces colored output like this:
Processing test_host in native environment
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Building...
Testing...
test/test_host/test_h_statefct.cpp:113: test_single [PASSED] <== GREEN
test/test_host/test_h_statefct.cpp:114: test_clear [PASSED]
test/test_host/test_h_statefct.cpp:115: test_add_one [PASSED]
test/test_host/test_h_statefct.cpp:116: test_systick [PASSED]
test/test_host/test_h_statefct.cpp:117: test_program [PASSED]
-----------------------
5 Tests 0 Failures 0 Ignored
OK
How I can get this in the SEGGER IDE. In fact , for the moment , I have no output at all, after I build the app, nothing seems to happen. However, an executable has been produced that I can run from a linux terminal.
Kind regards
Peter
I would like to run unit tests for my native linux apps in the SEGGER Linux IDE.
For example with googletests or github.com/ThrowTheSwitch/Unity .
The latter , when used in platform.io produces colored output like this:
Processing test_host in native environment
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Building...
Testing...
test/test_host/test_h_statefct.cpp:113: test_single [PASSED] <== GREEN
test/test_host/test_h_statefct.cpp:114: test_clear [PASSED]
test/test_host/test_h_statefct.cpp:115: test_add_one [PASSED]
test/test_host/test_h_statefct.cpp:116: test_systick [PASSED]
test/test_host/test_h_statefct.cpp:117: test_program [PASSED]
-----------------------
5 Tests 0 Failures 0 Ignored
OK
How I can get this in the SEGGER IDE. In fact , for the moment , I have no output at all, after I build the app, nothing seems to happen. However, an executable has been produced that I can run from a linux terminal.
Kind regards
Peter