Dear board,
I have a trivial query:
I was wondering on how to properly set up the file inclusions (header and sources) when the code base under test uses qxk kernel.
I am currently using the same code base for tests and device software and I managed to run some qutest unit tests when the project was based on the qk kernel, (tests were built using the qutest kernel but the code stayed the same) .
As soon as I had to switch to the qxk kernel in the project I fail to build the project witht he qutest kernel, I am not sure what paths to include and which not.
Regards
Last edit: mricciutelli 2024-08-27
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi mricciutelli,
Tests with QUTest with real kernels, such as QK or QXK are provided in the directory qpc/test (or equivalent for qpcpp).
But please read the related discussion thread, for the more general comments about various testing levels with QUTest (unit testing vs. integration testing).
--MMS
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear board,
I have a trivial query:
I was wondering on how to properly set up the file inclusions (header and sources) when the code base under test uses qxk kernel.
I am currently using the same code base for tests and device software and I managed to run some qutest unit tests when the project was based on the qk kernel, (tests were built using the qutest kernel but the code stayed the same) .
As soon as I had to switch to the qxk kernel in the project I fail to build the project witht he qutest kernel, I am not sure what paths to include and which not.
Regards
Last edit: mricciutelli 2024-08-27
Hi mricciutelli,
Tests with QUTest with real kernels, such as QK or QXK are provided in the directory qpc/test (or equivalent for qpcpp).
But please read the related discussion thread, for the more general comments about various testing levels with QUTest (unit testing vs. integration testing).
--MMS