test: vpnor: Add toc_flags
Exercises the flags associated with FFS properties.
Change-Id: Id710784cbbf3115712f7ce55e1fd38c8889b2c1f
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/test/vpnor/Makefile.am.include b/test/vpnor/Makefile.am.include
index 68eeb7b..4defe01 100644
--- a/test/vpnor/Makefile.am.include
+++ b/test/vpnor/Makefile.am.include
@@ -100,6 +100,13 @@
test_vpnor_toc_no_version_LDFLAGS = $(OESDK_TESTCASE_FLAGS)
test_vpnor_toc_no_version_LDADD = $(VPNOR_LDADD)
+test_vpnor_toc_flags_SOURCES = \
+ common.c \
+ pnor_partition_table.cpp \
+ %reldir%/toc_flags.cpp
+test_vpnor_toc_flags_LDFLAGS = $(OESDK_TESTCASE_FLAGS)
+test_vpnor_toc_flags_LDADD = $(VPNOR_LDADD)
+
if VIRTUAL_PNOR_ENABLED
check_PROGRAMS += \
%reldir%/create_pnor_partition_table \
@@ -112,5 +119,8 @@
%reldir%/toc_start_gt_end \
%reldir%/toc_no_start \
%reldir%/toc_no_end \
- %reldir%/toc_no_version
+ %reldir%/toc_no_version \
+ %reldir%/toc_flags
+
+XFAIL_TESTS += %reldir%/toc_flags
endif