summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2017-10-04 11:26:09 -0500
committerMatt Spinler <spinler@us.ibm.com>2017-10-04 12:30:58 -0500
commita231ceb41e695cfc0a77699b15e5ea4281e212a9 (patch)
tree6c0cf73c5378198f05080dcc71561376be362334 /test
parentd8dd9b25ac65043ad0cb7734919bf96084b47831 (diff)
downloadopenpower-proc-control-a231ceb41e695cfc0a77699b15e5ea4281e212a9.tar.gz
openpower-proc-control-a231ceb41e695cfc0a77699b15e5ea4281e212a9.zip
Use all phosphor-dbus-interfaces errors
Remove the local error definitions and use the ones in phosphor-dbus-interfaces instead as the ones there suit our purposes and it simplifies this repository to do so. Change-Id: I18428c496914153270ecb181e7193acd0e386e97 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am16
1 files changed, 11 insertions, 5 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index ad8a173..52aefd0 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -5,12 +5,18 @@ TESTS = $(check_PROGRAMS)
# Basic test suite for hostcontrol interfaces
check_PROGRAMS = utest
-utest_CPPFLAGS = -Igtest $(GTEST_CPPFLAGS) $(AM_CPPFLAGS) \
- $(PHOSPHOR_LOGGING_CFLAGS)
+utest_CPPFLAGS = -Igtest $(GTEST_CPPFLAGS) $(AM_CPPFLAGS)
-utest_CXXFLAGS = $(PTHREAD_CFLAGS) $(PHOSPHOR_LOGGING_CFLAGS)
-utest_LDFLAGS = -lgtest_main -lgtest $(PTHREAD_LIBS) $(OESDK_TESTCASE_FLAGS) \
- $(PHOSPHOR_LOGGING_LIBS) -lstdc++fs
+utest_CXXFLAGS = $(PTHREAD_CFLAGS) \
+ $(PHOSPHOR_LOGGING_CFLAGS) \
+ $(PHOSPHOR_DBUS_INTERFACES_CFLAGS)
+
+utest_LDFLAGS = -lgtest_main -lgtest \
+ $(PTHREAD_LIBS) \
+ $(OESDK_TESTCASE_FLAGS) \
+ $(PHOSPHOR_LOGGING_LIBS) \
+ $(PHOSPHOR_DBUS_INTERFACES_LIBS) \
+ -lstdc++fs
utest_SOURCES = utest.cpp
utest_LDADD = $(top_srcdir)/targeting.cpp $(top_srcdir)/filedescriptor.cpp
OpenPOWER on IntegriCloud