wolfBoot/tools/unit-tests
Daniele Lacamera 8b73250324 Set trailer on BOOT partition when storing the enc key 2024-07-17 17:00:11 +02:00
..
Makefile
…
README.md
…
target.h
…
unit-common.c
…
unit-enc-nvm.c Set trailer on BOOT partition when storing the enc key 2024-07-17 17:00:11 +02:00
unit-extflash.c
…
unit-image.c
…
unit-keystore.c
…
unit-mock-state.c
…
unit-nvm.c
…
unit-parser.c
…
unit-pci.c
…
unit-sectorflags.c
…

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