Debian Codegraph @

util/cbfstool/flashmap_tests.c

raw symbols SCIP
1 /* fmap_from_fmd.c, simple launcher for fmap library unit test suite */
2 /* SPDX-License-Identifier: GPL-2.0-only */
3
4 #include "flashmap/fmap.h"
5
6 #include <stdio.h>
7
8 int main(void)
9 {
10 int result = fmap_test();
11
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!");
19
20 return result;
21 }