Feature #411
openFix unit tests to run on all supported environments (non-Linux, clang vs gcc, etc)
70%
Description
The list of issues to fix below (can be updated if new issues found).
1) DONE Mocks for _fprintf_chk
are missing (needed for clang on Linux)
2) DONE I/O mock functions need to be renamed so that they do not have name clash with standard I/O, because the latter are allowed to be macros
Current idea is to add iom_
prefix for all functions members of struct io_mock
3) DONE Refactor the code so that linux/spidev.h
header is only included when building for Linux
4) DONE Fix failing tests on FreeBSD (4 tests in chip.c: 2 write chip and 2 verify chip)
5) DONE BSD family
6) MacOS needs verifying
Updated by Felix Singer about 2 years ago
What's the status here? Any progress? Is it resolved?
Updated by Anastasia Klimchuk about 2 years ago
- % Done changed from 0 to 50
Oh yes there is progress! 3 and 4 done, and those were the challenging part. So I am marking 50% done.
1 and 2 left, which needs more code than 3 and 4, but that is way more straightforward task.
Updated by Anastasia Klimchuk about 2 years ago
- Description updated (diff)
- % Done changed from 50 to 70
I added 5) to the description
Updated by Anastasia Klimchuk about 2 years ago
- Category changed from Release prep to Build system