wolfBoot/tools/unit-tests
Daniele Lacamera 076cd1d6c4 Fix for unit test failing 2025-03-04 18:20:46 +01:00
..
Makefile Add env variable to unit test 2024-11-28 11:06:16 +01:00
README.md
target.h
txt_filler.h
unit-common.c
unit-delta.c
unit-enc-nvm.c
unit-extflash.c Fix for unit test failing 2025-03-04 18:20:46 +01:00
unit-image.c Cleanups after hybrid signing PR. 2024-10-31 11:23:52 +01:00
unit-keystore.c
unit-mock-flash.c Fixed wrong check due to fail_if refactoring 2024-09-06 16:55:57 +02:00
unit-mock-state.c
unit-nvm.c
unit-parser.c Fixed wrong check due to fail_if refactoring 2024-09-06 16:55:57 +02:00
unit-pci.c
unit-pkcs11_store.c
unit-sectorflags.c
unit-update-flash.c
unit-update-ram.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