The libapptest.so and libapptest_r5.so addons were getting so big they

couldn't be loaded anymore (and were causing bdb to crash).  So a stub is
loaded instead (libappteststub/_r5.so) which links directly against the
actual libraries.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3384 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
ejakowatz 2003-05-29 05:25:44 +00:00
parent 7dc2890fbb
commit 8e8e1cf6c1
3 changed files with 42 additions and 1 deletions

View File

@ -15,7 +15,7 @@
#include "broster/RosterTest.h"
#include "RegistrarThreadManagerTest.h"
BTestSuite* getTestSuite() {
BTestSuite* getTestSuite2() {
BTestSuite *suite = new BTestSuite("App");
// ##### Add test suites here #####

View File

@ -0,0 +1,33 @@
//------------------------------------------------------------------------------
// AppKitTestStub.cpp
//
//------------------------------------------------------------------------------
// Standard Includes -----------------------------------------------------------
// System Includes -------------------------------------------------------------
// Project Includes ------------------------------------------------------------
#include <TestSuite.h>
#include <TestSuiteAddon.h>
// Local Includes --------------------------------------------------------------
// Local Defines ---------------------------------------------------------------
// Globals ---------------------------------------------------------------------
extern BTestSuite* getTestSuite2();
BTestSuite* getTestSuite() {
return getTestSuite2();
}
/*
* $Log $
*
* $Id $
*
*/

View File

@ -142,6 +142,14 @@ CommonTestLib libapptest.so
: app support
;
CommonTestLib libappteststub.so
: AppKitTestStub.cpp
: libapptest.so stdc++.r4
: libapptest_r5.so stdc++.r4
:
:
;
SubInclude OBOS_TOP src tests kits app bapplication ;
SubInclude OBOS_TOP src tests kits app bclipboard ;
SubInclude OBOS_TOP src tests kits app bcursor ;