summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2019-03-06 13:16:30 -0800
committerPatrick Venture <venture@google.com>2019-03-06 13:20:35 -0800
commitfb808d116407442d8cace6bcc484f3144c6c11ef (patch)
tree49d2f86a96f806d44724a7cf0b5789ecafa4f375 /test
parent97898c9056e48d2aa0ec1ec8251377c587b7caee (diff)
downloadphosphor-ipmi-blobs-fb808d116407442d8cace6bcc484f3144c6c11ef.tar.gz
phosphor-ipmi-blobs-fb808d116407442d8cace6bcc484f3144c6c11ef.zip
build: rework gtest checks
Rework gtest checks to be modeled after openbmc/gpioplus. Change-Id: I263bf12c0323ebee5d95b569ce28da2042bd3c1d Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 0d36509..2144c85 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,11 +1,11 @@
-AM_CPPFLAGS = -I$(top_srcdir)/ \
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/ \
$(GTEST_CFLAGS) \
$(GMOCK_CFLAGS)
-AM_CXXFLAGS = \
- $(GTEST_MAIN_CFLAGS)
AM_LDFLAGS = \
+ $(GTEST_LIBS) \
$(GMOCK_LIBS) \
- $(GTEST_MAIN_LIBS) \
+ -lgmock_main \
$(OESDK_TESTCASE_FLAGS)
# Run all 'check' test programs
OpenPOWER on IntegriCloud