* Made the libbe_test environment basically working under Haiku - to actually
make it work, one would need to use versioning for all libbe symbols. This is worth an 8k price per file that links against libbe.so, so I didn't want to commit this as is. An alternative to this solution would be to write a separate application that is responsible for the app_server's window. Comments welcome. * Removed BeOS compatbility of the libbe_test stuff. * Renamed the libbe_test targets from *haiku* to *test*, ie. libbe_haiku.so is now called libbe_test.so, haiku_registrar is now test_registrar, etc. * This also removes BeOS compatibility from tracker/FSUtils.cpp (all BeOS compatibility should be removed, but I don't want to make Alexandre more work in his branch, and it's not urgent at all). * Replaced the former "run" scripts for the test environment with a single run script (see updated NOTES file). * Removed the libbe_test target from some applications - this was only to help developing them under BeOS, and is thus no longer necessary. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32521 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -9,7 +9,7 @@ rule UnitTestLib
|
||||
local lib = $(1) ;
|
||||
local sources = $(2) ;
|
||||
local libraries = $(3) ;
|
||||
|
||||
|
||||
# if TEST_DEBUG is defined, we turn on debugging
|
||||
if $(TEST_DEBUG) {
|
||||
DEBUG on $(lib) [ FGristFiles $(sources:S=$(SUFOBJ)) ] ?= 1 ;
|
||||
@@ -21,7 +21,7 @@ rule UnitTestLib
|
||||
|
||||
# make the target depend on the installed libbe libraries
|
||||
Depends $(lib) :
|
||||
<tests!unittests>libbe_haiku.so <tests!unittests>libbeadapter.so ;
|
||||
<tests!unittests>libbe_test.so ;
|
||||
} else {
|
||||
ObjectDefines $(2) : TEST_R5 ;
|
||||
}
|
||||
@@ -49,7 +49,7 @@ rule UnitTest
|
||||
|
||||
# make the target depend on the installed libbe libraries
|
||||
Depends $(target) :
|
||||
<tests!unittests>libbe_haiku.so <tests!unittests>libbeadapter.so ;
|
||||
<tests!unittests>libbe_test.so ;
|
||||
} else {
|
||||
ObjectDefines $(2) : TEST_R5 ;
|
||||
}
|
||||
@@ -106,6 +106,6 @@ rule BuildPlatformTest
|
||||
relPath = $(SUBDIR_TOKENS[2-]) ;
|
||||
}
|
||||
MakeLocate $(target) : [ FDirName $(HAIKU_TEST_DIR) $(relPath) ] ;
|
||||
|
||||
|
||||
BuildPlatformMain $(target) : $(sources) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user