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 Fix for building on Mac. Added README.md. 2020-08-13 13:02:59 -07:00
target.h Refactoring of PKCS11 store module + unit tests 2024-09-05 18:53:03 +02:00
txt_filler.h Refactoring of PKCS11 store module + unit tests 2024-09-05 18:53:03 +02:00
unit-common.c Removed deprecate libcheck API 2024-09-06 13:51:14 +02:00
unit-delta.c Unit tests: cleanup warnings 2024-09-06 11:36:16 +02:00
unit-enc-nvm.c Removed deprecate libcheck API 2024-09-06 13:51:14 +02:00
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 Update license GPL2 -> GPL3 2024-04-16 16:46:15 +02:00
unit-mock-flash.c Fixed wrong check due to fail_if refactoring 2024-09-06 16:55:57 +02:00
unit-mock-state.c Removed deprecate libcheck API 2024-09-06 13:51:14 +02:00
unit-nvm.c Removed deprecate libcheck API 2024-09-06 13:51:14 +02:00
unit-parser.c Fixed wrong check due to fail_if refactoring 2024-09-06 16:55:57 +02:00
unit-pci.c Update license GPL2 -> GPL3 2024-04-16 16:46:15 +02:00
unit-pkcs11_store.c Removed deprecate libcheck API 2024-09-06 13:51:14 +02:00
unit-sectorflags.c Removed deprecate libcheck API 2024-09-06 13:51:14 +02:00
unit-update-flash.c Removed deprecate libcheck API 2024-09-06 13:51:14 +02:00
unit-update-ram.c Removed deprecate libcheck API 2024-09-06 13:51:14 +02: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