summaryrefslogtreecommitdiffstats
path: root/test/vpnor/Makefile.am.include
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2018-03-01 12:11:23 +1030
committerAndrew Jeffery <andrew@aj.id.au>2018-03-24 13:59:32 +1030
commit7eed6de0bdbb973091517343859e8e8dc030fd67 (patch)
tree460c27dd377cda4c5c0bb6cc4b37f5cd824d3749 /test/vpnor/Makefile.am.include
parent3c9bb3e45ebc3a4892ba368ac9c8634d06cd152d (diff)
downloadphosphor-mboxd-7eed6de0bdbb973091517343859e8e8dc030fd67.tar.gz
phosphor-mboxd-7eed6de0bdbb973091517343859e8e8dc030fd67.zip
test: vpnor: Add create_read_window_toc
As the handling of the ToC is separate to the mapping of other partitions, ensure we have appropriate coverage of copy_flash. Change-Id: If362c667df65b2648849cab2e0c11ebe0416d254 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'test/vpnor/Makefile.am.include')
-rw-r--r--test/vpnor/Makefile.am.include16
1 files changed, 15 insertions, 1 deletions
diff --git a/test/vpnor/Makefile.am.include b/test/vpnor/Makefile.am.include
index f0e0214..6a0802e 100644
--- a/test/vpnor/Makefile.am.include
+++ b/test/vpnor/Makefile.am.include
@@ -180,6 +180,19 @@ test_vpnor_create_read_window_oob_SOURCES = \
test_vpnor_create_read_window_oob_LDFLAGS = $(OESDK_TESTCASE_FLAGS)
test_vpnor_create_read_window_oob_LDADD = $(VPNOR_LDADD)
+test_vpnor_create_read_window_toc_SOURCES = \
+ $(TEST_MBOX_VPNOR_SRCS) $(TEST_MOCK_SRCS) \
+ mboxd_msg.c \
+ mboxd_windows.c \
+ mboxd_lpc.c \
+ mboxd_lpc_virtual.cpp \
+ mboxd_pnor_partition_table.cpp \
+ mboxd_flash_virtual.cpp \
+ pnor_partition.cpp \
+ %reldir%/create_read_window_toc.cpp
+test_vpnor_create_read_window_toc_LDFLAGS = $(OESDK_TESTCASE_FLAGS)
+test_vpnor_create_read_window_toc_LDADD = $(VPNOR_LDADD)
+
if VIRTUAL_PNOR_ENABLED
check_PROGRAMS += \
%reldir%/create_pnor_partition_table \
@@ -198,7 +211,8 @@ check_PROGRAMS += \
%reldir%/toc_lookup_found \
%reldir%/toc_lookup_failed \
%reldir%/toc_missing_file \
- %reldir%/create_read_window_oob
+ %reldir%/create_read_window_oob \
+ %reldir%/create_read_window_toc
XFAIL_TESTS += %reldir%/create_read_window_oob
endif
OpenPOWER on IntegriCloud