wolfBoot/tools/unit-tests
Daniele Lacamera a60461f18b Fix XMSS keygen param fallback
F/3306
2026-04-29 12:30:23 +02:00
..
Makefile Fix XMSS keygen param fallback 2026-04-29 12:30:23 +02:00
README.md
gpt-sfdisk-test.h
target.h Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
txt_filler.h
unit-boot-x86_fsp.c
unit-common.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
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 Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
unit-extflash.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
unit-fdt.c
unit-fwtpm-stub.c Proper interface renaming + documentation 2026-04-22 14:14:28 +02:00
unit-image.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
unit-keygen-xmss-params.c Fix XMSS keygen param fallback 2026-04-29 12:30:23 +02:00
unit-keystore.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
unit-loader-tpm-init.c
unit-max-space.c
unit-mock-flash.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
unit-mock-state.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
unit-multiboot.c Fix multiboot debug header length guard 2026-04-29 11:27:58 +02:00
unit-nvm.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
unit-parser.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
unit-pci.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
unit-pkcs11_store.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
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 Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
unit-store-sbrk.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
unit-string.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
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 Return UART flash read error on timeout 2026-04-29 11:20:57 +02:00
unit-update-disk.c Add single-partition disk boot tests 2026-04-29 11:32:24 +02:00
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 Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +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