Sean Anderson | dcd91b1 | 2023-10-14 16:47:57 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
| 2 | # Copyright (C) 2023 Sean Anderson <seanga2@gmail.com> |
| 3 | |
| 4 | config SPL_UT_LOAD |
| 5 | bool "Unit tests for SPL load methods" |
| 6 | depends on SPL_UNIT_TEST |
| 7 | default y if SANDBOX |
| 8 | help |
| 9 | Test various SPL load methods. |
| 10 | |
| 11 | if SPL_UT_LOAD |
| 12 | |
Sean Anderson | 2d3ffa3 | 2023-10-14 16:48:00 -0400 | [diff] [blame^] | 13 | config SPL_UT_LOAD_FS |
| 14 | bool "Unit tests for filesystems" |
| 15 | depends on SANDBOX && SPL_OF_REAL |
| 16 | depends on FS_LOADER |
| 17 | depends on SPL_FS_FAT |
| 18 | depends on SPL_FS_EXT4 |
| 19 | depends on SPL_MMC_WRITE |
| 20 | default y |
| 21 | help |
| 22 | Test filesystems in SPL. |
| 23 | |
Sean Anderson | dcd91b1 | 2023-10-14 16:47:57 -0400 | [diff] [blame] | 24 | config SPL_UT_LOAD_OS |
| 25 | bool "Test loading from the host OS" |
| 26 | depends on SANDBOX && SPL_LOAD_FIT |
| 27 | default y |
| 28 | help |
| 29 | Smoke test to ensure that loading U-boot works in sandbox. |
| 30 | |
| 31 | endif |