hrev50040 adds 1 changeset to branch 'master'
old head: 9909ce416de3d85cb4ca689201703c80423a0d37
new head: bb0ca427dfb92ec6c7cf93389e05e3b4d8a050e8
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=bb0ca427dfb9+%5E9909ce416de3
----------------------------------------------------------------------------
bb0ca427dfb9: unittests: link libcppunit.so to the unittests directory
Signed-off-by: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Fixes #12595.
[ Kostadin Damyanov <maxmight@xxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev50040
Commit: bb0ca427dfb92ec6c7cf93389e05e3b4d8a050e8
URL: http://cgit.haiku-os.org/haiku/commit/?id=bb0ca427dfb9
Author: Kostadin Damyanov <maxmight@xxxxxxxxx>
Date: Tue Jan 12 08:47:22 2016 UTC
Committer: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Commit-Date: Sun Jan 17 08:29:37 2016 UTC
Ticket: https://dev.haiku-os.org/ticket/12595
----------------------------------------------------------------------------
1 file changed, 8 insertions(+)
src/tools/cppunit/Jamfile | 8 ++++++++
----------------------------------------------------------------------------
diff --git a/src/tools/cppunit/Jamfile b/src/tools/cppunit/Jamfile
index 3e75287..ffb20ad 100644
--- a/src/tools/cppunit/Jamfile
+++ b/src/tools/cppunit/Jamfile
@@ -55,3 +55,11 @@ SharedLibrary libcppunit.so :
if $(OS) = BEOS && $(OSPLAT) != PPC {
LinkAgainst libcppunit.so : libelfsymbolpatcher.a ;
}
+
+# To run the tests we need the cppunit library.
+{
+ local target = <src!tools!cppunit>libcppunit.so ;
+ MakeLocate $(target) : $(TARGET_UNIT_TEST_LIB_DIR) ;
+ RelSymLink $(target) : libcppunit.so ;
+ Depends libcppunit.so : $(target) ;
+}