wolfBoot/tools/unit-tests
Daniele Lacamera eaa6af2b66 Return UART flash read error on timeout
F/3039
2026-04-29 11:20:57 +02:00
..
Makefile Return UART flash read error on timeout 2026-04-29 11:20:57 +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 Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
unit-disk.c
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-keystore.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
unit-loader-tpm-init.c loader: panic on TPM init failure 2026-04-14 07:48:59 +02:00
unit-max-space.c Fix WOLFBOOT_MAX_SPACE precedence and test 2026-04-14 14:28:44 +02:00
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 Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +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
unit-rot-auth.c
unit-sdhci-disk-unaligned.c Clamp unaligned SDHCI disk I/O spans 2026-04-14 07:38:41 +02:00
unit-sdhci-response-bits.c
unit-sectorflags.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
unit-sign-encrypted-output.c Reject oversized signature TLV lengths 2026-04-14 14:25:10 +02:00
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-blob.c Fix TPM unseal handle cleanup 2026-04-14 07:46:13 +02:00
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 Fix regression in unit test 2026-04-17 08:41:51 +02:00
unit-update-flash.c Preparing release v2.8.0 + update copyright 2026-04-16 13:11:56 +02:00
unit-update-ram-nofixed.c Fixed regression in update_ram tests 2026-04-15 23:22:00 +02:00
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