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:
parent
7dc2890fbb
commit
8e8e1cf6c1
@ -15,7 +15,7 @@
|
|||||||
#include "broster/RosterTest.h"
|
#include "broster/RosterTest.h"
|
||||||
#include "RegistrarThreadManagerTest.h"
|
#include "RegistrarThreadManagerTest.h"
|
||||||
|
|
||||||
BTestSuite* getTestSuite() {
|
BTestSuite* getTestSuite2() {
|
||||||
BTestSuite *suite = new BTestSuite("App");
|
BTestSuite *suite = new BTestSuite("App");
|
||||||
|
|
||||||
// ##### Add test suites here #####
|
// ##### Add test suites here #####
|
||||||
|
33
src/tests/kits/app/AppKitTestStub.cpp
Normal file
33
src/tests/kits/app/AppKitTestStub.cpp
Normal 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 $
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
@ -142,6 +142,14 @@ CommonTestLib libapptest.so
|
|||||||
: app support
|
: 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 bapplication ;
|
||||||
SubInclude OBOS_TOP src tests kits app bclipboard ;
|
SubInclude OBOS_TOP src tests kits app bclipboard ;
|
||||||
SubInclude OBOS_TOP src tests kits app bcursor ;
|
SubInclude OBOS_TOP src tests kits app bcursor ;
|
||||||
|
Loading…
Reference in New Issue
Block a user