summaryrefslogtreecommitdiff
path: root/lib/x1000-installer/test/main.c
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-11-28 14:45:11 +0000
committerAidan MacDonald <amachronic@protonmail.com>2021-11-28 15:46:02 +0000
commit31242f8570c870f60feecb6a5039d19863ecdc55 (patch)
treee3d596b8fd246ae2b5747125381adb7fb1889fa6 /lib/x1000-installer/test/main.c
parent4879891da3f5aad8ca525f97be56b780b7df7af9 (diff)
downloadrockbox-31242f8570c870f60feecb6a5039d19863ecdc55.tar.gz
rockbox-31242f8570c870f60feecb6a5039d19863ecdc55.zip
x1000-installer: add test for xf_map_parseline
Change-Id: I35db43c83dc3964607b95f6b5c300c2fef455ac8
Diffstat (limited to 'lib/x1000-installer/test/main.c')
-rw-r--r--lib/x1000-installer/test/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/x1000-installer/test/main.c b/lib/x1000-installer/test/main.c
index 9964e22716..f9bff1b704 100644
--- a/lib/x1000-installer/test/main.c
+++ b/lib/x1000-installer/test/main.c
@@ -41,11 +41,13 @@ struct test_info {
41 41
42extern void test_stream_read_lines(void); 42extern void test_stream_read_lines(void);
43extern void test_stream_read_line_too_long(void); 43extern void test_stream_read_line_too_long(void);
44extern void test_flashmap_parseline(void);
44 45
45#define TEST(x) {#x, x} 46#define TEST(x) {#x, x}
46static const struct test_info all_tests[] = { 47static const struct test_info all_tests[] = {
47 TEST(test_stream_read_lines), 48 TEST(test_stream_read_lines),
48 TEST(test_stream_read_line_too_long), 49 TEST(test_stream_read_line_too_long),
50 TEST(test_flashmap_parseline),
49}; 51};
50#undef TEST 52#undef TEST
51 53