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 TestApp.cpp 24 VolumeTest.cpp 25 : <boot!home!config!lib>libopenbeos.so be stdc++.r4 26 : be stdc++.r4 27 : 28 : storage 29; 30 31# To run the tests some test files must be around. 32{ 33 # OBOS 34 local resdir = <storage!kit!test!files>resources ; 35 MakeLocate $(resdir) : [ on UnitTesterHelper return $(LOCATE[1]) ] ; 36 RelSymLink $(resdir) : [ FDirName $(SUBDIR) resources ] : false ; 37 DEPENDS libstoragetest.so : $(resdir) ; 38 # R5 39 local resdir_r5 = <storage!kit!test!files!r5>resources ; 40 MakeLocate $(resdir_r5) : [ on UnitTesterHelper_r5 return $(LOCATE[1]) ] ; 41 RelSymLink $(resdir_r5) : [ FDirName $(SUBDIR) resources ] : false ; 42 DEPENDS libstoragetest_r5.so : $(resdir_r5) ; 43} 44 45SubInclude OBOS_TOP src tests kits storage disk_device ; 46SubInclude OBOS_TOP src tests kits storage virtualdrive ; 47