wolfBoot/tools/unit-tests
Brett Nicholas e43e012e98 review feedback 2026-05-05 16:37:54 +02:00
..
Makefile Peer review fixes (copilot) 2026-05-05 10:16:16 +02:00
README.md
…
gpt-sfdisk-test.h
…
target.h
…
txt_filler.h
…
unit-boot-x86_fsp.c
…
unit-common.c
…
unit-delta.c Cap backward delta match length 2026-04-29 11:34:23 +02:00
unit-disk.c Add GPT single-sector partition test 2026-04-29 12:24:41 +02:00
unit-enc-nvm.c
…
unit-extflash.c
…
unit-fdt.c
…
unit-fit-gzip.c Peer review fixes (copilot) 2026-05-05 10:16:16 +02:00
unit-fwtpm-stub.c
…
unit-gzip.c Peer review fixes (copilot) 2026-05-05 10:16:16 +02:00
unit-image.c review feedback 2026-05-05 16:37:54 +02:00
unit-keygen-xmss-params.c Fix XMSS keygen param fallback 2026-04-29 12:30:23 +02:00
unit-keystore.c
…
unit-loader-tpm-init.c
…
unit-max-space.c
…
unit-mock-flash.c
…
unit-mock-state.c
…
unit-multiboot.c
…
unit-nvm.c
…
unit-parser.c
…
unit-pci.c
…
unit-pkcs11_store.c
…
unit-policy-create.c
…
unit-policy-sign.c
…
unit-psa_store.c
…
unit-qspi-flash.c Abort QSPI writes after WE failure 2026-04-29 12:13:40 +02:00
unit-rot-auth.c
…
unit-sdhci-disk-unaligned.c
…
unit-sdhci-response-bits.c
…
unit-sectorflags.c Add sector flag unit coverage 2026-04-29 12:26:55 +02:00
unit-sign-encrypted-output.c
…
unit-sign-encrypted-output.mkfrag
…
unit-spi-flash.c
…
unit-store-sbrk.c
…
unit-string.c
…
unit-tpm-api-names.c Bound TPM name fallback copies 2026-04-29 12:16:03 +02:00
unit-tpm-blob.c
…
unit-tpm-check-rot-auth.c
…
unit-tpm-rsa-exp.c
…
unit-uart-flash.c Addressed copilot's comments 2026-04-29 13:15:52 +02:00
unit-update-disk.c
…
unit-update-flash.c Add inverse delta version gate tests 2026-04-29 12:23:03 +02:00
unit-update-ram-nofixed.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