This MR removes pytest-ccp from CI run of host tests. A test regression, was observed in #65 when running host tests in CI. The error log was pointing to pytest-cpp and the test failure behavior was unpredictable and could not be reproduces locally.
Related
removed usage of pytest-cpp
host tests are called directly, by calling .elf files
a run_host_tests.sh was added:
to simplify adding new host tests (the scrip finds and runs all host tests automatically)
to be able to call .elf files with extra arguments, making the tests results more informative
For consideration: the run_host_tests.sh can also be omitted and a full path to the .elf file must be provided instead, also the extra arguments for interactive test results must be added to each call
Follow-up MR #65
Testing
it was successfully tested, that if a host test fails, the CI jobs fails as well
Checklist
Before submitting a Pull Request, please ensure the following:
[x] 🚨 This PR does not introduce breaking changes.
[x] All CI checks (GH Actions) pass.
[x] Documentation is updated as needed.
[x] Tests are updated or added as necessary.
[x] Code is well-commented, especially in complex areas.
[x] Git history is clean — commits are squashed to the minimum necessary.
Description
This MR removes
pytest-ccp
from CI run of host tests. A test regression, was observed in #65 when running host tests in CI. The error log was pointing topytest-cpp
and the test failure behavior was unpredictable and could not be reproduces locally.Related
removed usage of
pytest-cpp
host tests are called directly, by calling
.elf
filesa
run_host_tests.sh
was added:.elf
files with extra arguments, making the tests results more informativeFor consideration: the
run_host_tests.sh
can also be omitted and a full path to the.elf
file must be provided instead, also the extra arguments for interactive test results must be added to each callFollow-up MR #65
Testing
it was successfully tested, that if a host test fails, the CI jobs fails as well
Checklist
Before submitting a Pull Request, please ensure the following: