diff options
| author | Simon Glass <[email protected]> | 2025-02-07 11:30:46 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-02-11 20:10:59 -0600 |
| commit | a7290bc4b7248118046f748d80088a40f9171576 (patch) | |
| tree | 59e959d3e45a3612ee5256176bbb36e1d431ca57 /include/test | |
| parent | 648e4a79bbb5bca2d10535a263788a44bb8e098d (diff) | |
test: Update fdt_overlay to do init from tests
Rather than having an init function and then running the tests, create a
test-init function to do it. This will allow us to get rid of the
command function.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/test')
| -rw-r--r-- | include/test/fdt_overlay.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/test/fdt_overlay.h b/include/test/fdt_overlay.h index 34e8020a496..251ad0ec97a 100644 --- a/include/test/fdt_overlay.h +++ b/include/test/fdt_overlay.h @@ -12,4 +12,8 @@ /* Declare a new FDT-overlay test */ #define FDT_OVERLAY_TEST(_name, _flags) UNIT_TEST(_name, _flags, fdt_overlay) +/* Declare init for FDT-overlay test */ +#define FDT_OVERLAY_TEST_INIT(_name, _flags) \ + UNIT_TEST_INIT(_name, _flags, fdt_overlay) + #endif /* __TEST_OVERLAY_H__ */ |
