GEB Automation provides the OEM with an extensive suite of tests cases. It is strongly recommended that the device implementer compiles and execute them.
- The source code for each test case is inside libsrcXXX.zip file (available for download
for users with paid licenses - notice that you must use the corresponding to your IDE version).
These files are typically unpacked in devices/libsrc/c/testsuite/R*.c
The device code should recognize the "test mode" and return a non-zero error code on exit in case of errors.
See common_f.c (search for testCaseMode string) for example or template.
If your device main code uses the main.c and common_f.c as in the sample devices, then probably
you don't need to change anything.
Look into the comptest.bat (in default device) script, use it as template/example. This script should compile and run all test
cases and report errors. Again, probably you don't need to change it.
Run the comptest.bat script. In case of errors, it will print them to console, and return a non-zero error code.