From c9e173f84effdfbdda9f0d5e8650644572a2d95e Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Tue, 9 May 2017 00:23:11 -0400 Subject: Add testcases for property and property groups Change-Id: I4b30d0729a704d6833c840ea08daeee961a5730b Signed-off-by: Brad Bishop --- src/test/Makefile.am | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'src/test/Makefile.am') diff --git a/src/test/Makefile.am b/src/test/Makefile.am index 02772e7..330bf3e 100644 --- a/src/test/Makefile.am +++ b/src/test/Makefile.am @@ -36,3 +36,28 @@ pathgentest.hpp: $(PDMGEN) $(PATH_TEST_GEN_DEPS) -d yaml/pathgentest \ -o $(builddir)/$@ \ generate-cpp + +check_PROGRAMS += propertygentest +propertygentest_SOURCES = \ + propertygentest.cpp +propertygentest_CXXFLAGS = \ + $(gtest_cflags) +propertygentest_LDFLAGS = \ + $(OESDK_TESTCASE_FLAGS) +propertygentest_LDADD = \ + ${gtest_ldadd} + +BUILT_SOURCES += propertygentest.hpp +CLEANFILES += propertygentest.hpp + +PROPERTY_TEST_GEN_DEPS = \ + templates/propertygentest.mako.hpp \ + yaml/propertygentest + +propertygentest.hpp: $(PROPERTY_TEST_GEN_DEPS) + $(AM_V_GEN) $(PYTHON) $(PDMGEN) \ + -t propertygentest.mako.hpp \ + -p "${TEMPLATESEARCH}" \ + -d yaml/propertygentest \ + -o $(builddir)/$@ \ + generate-cpp -- cgit v1.2.1