acpi: Add IORT helper functions
[coreboot2.git] / util / cbfstool / flashmap_tests.c
blob0ed3fc936ed927772b5449f73713a528820ec515
1 /* fmap_from_fmd.c, simple launcher for fmap library unit test suite */
2 /* SPDX-License-Identifier: GPL-2.0-only */
4 #include "flashmap/fmap.h"
6 #include <stdio.h>
8 int main(void)
10 int result = fmap_test();
12 puts("");
13 puts("===");
14 puts("");
15 if (!result)
16 puts("RESULT: All unit tests PASSED.");
17 else
18 puts("RESULT: One or more tests FAILED!");
20 return result;