Commit Graph

7 Commits (834a712350b12e8a5010c55bd43449bd4e2ac728)

Author SHA1 Message Date
Daniele Lacamera 865e3ee6c3 Fixed wrong check due to fail_if refactoring 2024-09-06 16:55:57 +02:00
Daniele Lacamera 29729988a8 Removed deprecate libcheck API 2024-09-06 13:51:14 +02:00
Daniele Lacamera a1a7601314 Unit tests: cleanup warnings 2024-09-06 11:36:16 +02:00
Daniele Lacamera 6737d7e7ad Refactoring of PKCS11 store module + unit tests 2024-09-05 18:53:03 +02:00
Daniele Lacamera d2811b2538
Unit test for update_ram.c (#488)
* Initial draft with two test cases

* Added more unit tests. Found OOB access.

* Fix potential OOB access with too-large update img

* NO_FORK disabled by default

* Cover more corner cases

* Added unit tests for update_ram.c

Fixed fallback in partition election
2024-08-13 09:36:33 -07:00
Daniele Lacamera 3ff7059dc5
Unit tests for update_flash.c (#487)
* Initial draft with two test cases

* Added more unit tests. Found OOB access.

* Fix potential OOB access with too-large update img

* NO_FORK disabled by default

* Cover more corner cases
2024-08-13 06:25:49 -07:00
Daniele Lacamera 2588aa7611 Unit test: make flash mocking generic
Avoid duplicated test code for mocking the flash
2024-08-12 11:00:13 +02:00