diff --git a/tests/Makefile.am b/tests/Makefile.am index 0c1cfb61..3b49a5a9 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -34,5 +34,4 @@ test_PasswordRAMStore_LDADD = \ test_PipeCapture_SOURCES = test_PipeCapture.cc test_PipeCapture_LDADD = \ $(top_builddir)/src/PipeCapture.$(OBJEXT) \ - $(GTEST_LIBS) \ - $(top_builddir)/lib/gtest/lib/libgtest.la + $(LDADD) diff --git a/tests/test_PipeCapture.cc b/tests/test_PipeCapture.cc index 886ea7fc..69273f1f 100644 --- a/tests/test_PipeCapture.cc +++ b/tests/test_PipeCapture.cc @@ -411,15 +411,3 @@ TEST_F( PipeCaptureTest, LineDisciplineSkipCtrlAB ) } } // namespace GParted - -// Custom Google Test main(). -// Reference: -// * Google Test, Primer, Writing the main() Function -// https://github.com/google/googletest/blob/master/googletest/docs/primer.md#writing-the-main-function -int main( int argc, char **argv ) -{ - printf("Running main() from %s\n", __FILE__ ); - testing::InitGoogleTest( &argc, argv ); - - return RUN_ALL_TESTS(); -}