u-boot/include/test
Sean Anderson 65efaac425 test: spl: Add a test for the NOR load method
Add a test for the NOR load method. Since NOR is memory-mapped we can
substitute a buffer instead. The only major complication is testing LZMA
decompression.  It's too complex to implement LZMA compression in a test, and we
have no in-tree compressor, so we just include some pre-compressed data. This
data was generated through something like

    generate_data(plain, plain_size, "lzma")
    cat plain.dat | lzma | hexdump -C

and was cleaned up further in my editor.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-10-17 20:50:52 -04:00
..
cedit-test.h expo: Update tests to include textline 2023-10-11 15:43:55 -04:00
common.h test: add first autoboot unit tests 2021-07-23 13:36:20 -04:00
compression.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
env.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
export.h clk: Add K210 pll support 2020-07-01 15:01:21 +08:00
fuzz.h test: fuzz: Add framework for fuzzing 2022-06-23 12:58:18 -04:00
lib.h test: provide unit test for memory functions 2019-02-09 07:50:53 -05:00
log.h test: Add a test for log filter-* 2020-10-30 10:56:11 -04:00
optee.h tests: add OP-TEE test suite 2019-11-14 07:09:34 -06:00
overlay.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spl.h test: spl: Add a test for the NOR load method 2023-10-17 20:50:52 -04:00
suites.h test: bdinfo: Add test for command bdinfo 2023-06-20 16:08:13 -04:00
test.h sandbox: Allow SPI flash bootdevs to be disabled for tests 2023-01-23 18:11:41 -05:00
ut.h test: Restore test behaviour on failure 2023-07-14 12:54:50 -04:00