wolfBoot/tools/unit-tests
Daniele Lacamera cd7e4e10fc Fixed after reviewer's comments 2023-03-14 16:12:40 +01:00
..
Makefile Run 4 unit tests made out of unit-extflash.c 2023-03-14 08:57:15 +01:00
README.md Fix for building on Mac. Added README.md. 2020-08-13 13:02:59 -07:00
target.h Added unit test for encrypted external flash 2023-03-14 08:57:14 +01:00
unit-extflash.c Fixed after reviewer's comments 2023-03-14 16:12:40 +01:00
unit-parser.c Added unit test for encrypted external flash 2023-03-14 08:57:14 +01: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