2002-07-10 02:05:10 +00:00
|
|
|
SubDir OBOS_TOP src tests kits storage ;
|
|
|
|
|
|
|
|
|
|
CommonUnitTest StorageKitTester
|
|
|
|
|
: StorageKitTester.cpp
|
|
|
|
|
BasicTest.cpp
|
|
|
|
|
DirectoryTest.cpp
|
|
|
|
|
EntryTest.cpp
|
|
|
|
|
FileTest.cpp
|
|
|
|
|
FindDirectoryTest.cpp
|
|
|
|
|
MimeTypeTest.cpp
|
|
|
|
|
NodeTest.cpp
|
|
|
|
|
PathTest.cpp
|
|
|
|
|
QueryTest.cpp
|
|
|
|
|
ResourcesTest.cpp
|
|
|
|
|
ResourceStringsTest.cpp
|
|
|
|
|
StatableTest.cpp
|
|
|
|
|
SymLinkTest.cpp
|
|
|
|
|
TestApp.cpp
|
|
|
|
|
TestUtils.cpp
|
|
|
|
|
: kits storage
|
|
|
|
|
: libstorage.so be stdc++.r4
|
|
|
|
|
: be stdc++.r4
|
2002-07-10 16:36:50 +00:00
|
|
|
: storage
|
2002-07-09 12:24:59 +00:00
|
|
|
;
|
|
|
|
|
|
2002-07-10 02:05:10 +00:00
|
|
|
# To run the tests the libraries must be around.
|
|
|
|
|
{
|
|
|
|
|
local libdir = [ on StorageKitTester FDirName $(LOCATE[1]) lib ] ;
|
|
|
|
|
MakeLocate <$(SOURCE_GRIST)>libstorage.so : $(libdir) ;
|
|
|
|
|
MakeLocate <$(SOURCE_GRIST)>libbeadapter.so : $(libdir) ;
|
2002-07-12 18:49:07 +00:00
|
|
|
RelSymLink <$(SOURCE_GRIST)>libstorage.so : libstorage.so ;
|
|
|
|
|
RelSymLink <$(SOURCE_GRIST)>libbeadapter.so : libbeadapter.so ;
|
2002-07-10 02:05:10 +00:00
|
|
|
DEPENDS StorageKitTester StorageKitTester_r5
|
|
|
|
|
: <$(SOURCE_GRIST)>libstorage.so <$(SOURCE_GRIST)>libbeadapter.so ;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# To run the tests some test files must be around.
|
|
|
|
|
{
|
2002-07-12 18:49:07 +00:00
|
|
|
local resdir = <storage!kit!test!files>resources ;
|
|
|
|
|
MakeLocate $(resdir) : [ on StorageKitTester return $(LOCATE[1]) ] ;
|
|
|
|
|
RelSymLink $(resdir) : [ FDirName $(SUBDIR) resources ] ;
|
2002-07-10 02:05:10 +00:00
|
|
|
DEPENDS StorageKitTester StorageKitTester_r5 : $(resdir) ;
|
|
|
|
|
}
|