1SubDir OBOS_TOP src tests kits storage ; 2 3UsePrivateHeaders storage ; 4 5CommonTestLib libstoragetest.so 6 : StorageKitTestAddon.cpp 7 AppFileInfoTest.cpp 8 BasicTest.cpp 9 DirectoryTest.cpp 10 EntryTest.cpp 11 FindDirectoryTest.cpp 12 FileTest.cpp 13 MimeSnifferTest.cpp 14 MimeTypeTest.cpp 15 NodeInfoTest.cpp 16 NodeTest.cpp 17 PathTest.cpp 18 QueryTest.cpp 19 ResourcesTest.cpp 20 ResourceStringsTest.cpp 21 StatableTest.cpp 22 SymLinkTest.cpp 23 VolumeTest.cpp 24 : <boot!home!config!lib>libopenbeos.so be stdc++.r4 25 : be stdc++.r4 26 : 27 : storage 28; 29 30# To run the tests some test files must be around. 31{ 32 # OBOS 33 local resdir = <storage!kit!test!files>resources ; 34 MakeLocate $(resdir) : [ on UnitTesterHelper return $(LOCATE[1]) ] ; 35 RelSymLink $(resdir) : [ FDirName $(SUBDIR) resources ] ; 36 DEPENDS libstoragetest.so : $(resdir) ; 37 # R5 38 local resdir_r5 = <storage!kit!test!files!r5>resources ; 39 MakeLocate $(resdir_r5) : [ on UnitTesterHelper_r5 return $(LOCATE[1]) ] ; 40 RelSymLink $(resdir_r5) : [ FDirName $(SUBDIR) resources ] ; 41 DEPENDS libstoragetest_r5.so : $(resdir_r5) ; 42} 43