From 97c8c3d9d1559117ffb2bfdcc9cf73f6ccdab25e Mon Sep 17 00:00:00 2001 From: Milo Mordaunt Date: Mon, 10 Dec 2012 20:49:50 +0000 Subject: [PATCH] fixed problem building with new binutils + presumably depricated ConfigTest functions --- libgrive/src/bfd/SymbolInfo.cc | 3 +++ libgrive/test/util/ConfigTest.hh | 12 +++++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/libgrive/src/bfd/SymbolInfo.cc b/libgrive/src/bfd/SymbolInfo.cc index afd3ba14..aca64978 100644 --- a/libgrive/src/bfd/SymbolInfo.cc +++ b/libgrive/src/bfd/SymbolInfo.cc @@ -17,6 +17,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#define PACKAGE "grive" +#define PACKAGE_VERSION "git" + #include "SymbolInfo.hh" #include "Debug.hh" diff --git a/libgrive/test/util/ConfigTest.hh b/libgrive/test/util/ConfigTest.hh index f7e100d3..3797f6c3 100644 --- a/libgrive/test/util/ConfigTest.hh +++ b/libgrive/test/util/ConfigTest.hh @@ -31,16 +31,14 @@ public : ConfigTest( ) ; CPPUNIT_TEST_SUITE( ConfigTest ) ; - CPPUNIT_TEST( TestInitialiseWithEmptyString ) ; - CPPUNIT_TEST( TestInitialiseWithString ) ; - CPPUNIT_TEST( TestInitialiseWithFileSystemPath ) ; + CPPUNIT_TEST( TestInitialiseWithPath ) ; + CPPUNIT_TEST( TestInitialiseWithNoPath ) ; CPPUNIT_TEST_SUITE_END(); private : - void TestInitialiseWithEmptyString( ); - void TestInitialiseWithString( ); - void TestInitialiseWithFileSystemPath( ); -} ; + void TestInitialiseWithNoPath( ); + void TestInitialiseWithPath( ); +}; } // end of namespace