wolfBoot/tools/unit-tests
David Garske fd10a1d8a5 Patch to fix unit-test missing `wolfBoot_get_blob_version` 2025-10-30 16:31:27 +01:00
..
Makefile Improved unit test coverage 2025-10-17 15:25:07 +02:00
README.md
target.h Update Copyright year to 2025 2025-10-15 11:33:53 -07:00
txt_filler.h Refactoring of PKCS11 store module + unit tests 2024-09-05 18:53:03 +02:00
unit-common.c Update Copyright year to 2025 2025-10-15 11:33:53 -07:00
unit-delta.c Update Copyright year to 2025 2025-10-15 11:33:53 -07:00
unit-enc-nvm.c Update Copyright year to 2025 2025-10-15 11:33:53 -07:00
unit-extflash.c Update Copyright year to 2025 2025-10-15 11:33:53 -07:00
unit-image.c Patch to fix unit-test missing `wolfBoot_get_blob_version` 2025-10-30 16:31:27 +01:00
unit-keystore.c Update Copyright year to 2025 2025-10-15 11:33:53 -07:00
unit-mock-flash.c Update Copyright year to 2025 2025-10-15 11:33:53 -07:00
unit-mock-state.c Update Copyright year to 2025 2025-10-15 11:33:53 -07:00
unit-nvm.c Update Copyright year to 2025 2025-10-15 11:33:53 -07:00
unit-parser.c Update Copyright year to 2025 2025-10-15 11:33:53 -07:00
unit-pci.c Update Copyright year to 2025 2025-10-15 11:33:53 -07:00
unit-pkcs11_store.c Update Copyright year to 2025 2025-10-15 11:33:53 -07:00
unit-sectorflags.c Update Copyright year to 2025 2025-10-15 11:33:53 -07:00
unit-update-flash.c Improved unit test coverage 2025-10-17 15:25:07 +02:00
unit-update-ram.c Update Copyright year to 2025 2025-10-15 11:33:53 -07:00

README.md

Unit Test Tools

This uses the "check" unit test framework for C.

You may need to run "apt install check", "yum install check" or "brew install check".

Building

Use make to build.

Expected output

$ ./unit-parser
Running suite(s): wolfBoot
Explicit end of options reached
This field is too large (bigger than the space available in the current header)
This field is too large and would overflow the image header
Illegal address (too high)
Illegal address (too high)
100%: Checks: 2, Failures: 0, Errors: 0