Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 229d4f2f2879c96bafd804d9e7c779219bdf0a04 Mon Sep 17 00:00:00 2001
- From: Milo Mordaunt <milomord@gmail.com>
- Date: Mon, 10 Dec 2012 20:30:20 +0000
- Subject: [PATCH] fixed presumably depricated UnitTest functions still being in
- existance + a compiler error with the latest binutils
- ---
- 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 afd3ba1..aca6497 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 f7e100d..3797f6c 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
- --
- 1.8.0.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement