phosphor-rsyslog-conf: add unit tests
Add tests pertaining to remote logging config file.
Change-Id: Idaeac09b5abe91af30dc0eb32664e8af556ecda2
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
diff --git a/test/Makefile.am b/test/Makefile.am
index 0db1650..30e5472 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -7,7 +7,8 @@
serialization_test_path \
serialization_test_properties \
remote_logging_test_address \
- remote_logging_test_port
+ remote_logging_test_port \
+ remote_logging_test_config
test_cppflags = \
-Igtest \
@@ -78,3 +79,11 @@
remote_logging_test_port_LDFLAGS = \
$(test_ldflags) \
-lstdc++fs
+
+remote_logging_test_config_CPPFLAGS = $(test_cppflags)
+remote_logging_test_config_CXXFLAGS = $(test_cxxflags)
+remote_logging_test_config_SOURCES = remote_logging_test_config.cpp
+remote_logging_test_config_LDADD = $(remote_logging_test_ldadd)
+remote_logging_test_config_LDFLAGS = \
+ $(test_ldflags) \
+ -lstdc++fs