1SubDir HAIKU_TOP src tests kits storage ;
2
3AddSubDirSupportedPlatforms libbe_test ;
4
5UsePrivateHeaders storage ;
6
7UnitTestLib libstoragetest.so
8	: StorageKitTestAddon.cpp
9		AppFileInfoTest.cpp
10		BasicTest.cpp
11		DataIOTest.cpp
12		DirectoryTest.cpp
13		EntryTest.cpp
14		FindDirectoryTest.cpp
15		FileTest.cpp
16		MimeSnifferTest.cpp
17		# MimeTypeTest.cpp
18		NodeInfoTest.cpp
19		NodeTest.cpp
20		PathTest.cpp
21		QueryTest.cpp
22		ResourcesTest.cpp
23		ResourceStringsTest.cpp
24		StatableTest.cpp
25		SymLinkTest.cpp
26		TestApp.cpp
27		VolumeTest.cpp
28	: be [ TargetLibstdc++ ]
29;
30
31# To run the tests some test files must be around.
32{
33	local resdir = <src!tests!kits!storage>resources ;
34	MakeLocate $(resdir) : $(TARGET_UNIT_TEST_DIR) ;
35	RelSymLink $(resdir) : [ FDirName $(HAIKU_TOP) src tests kits storage resources ] : false ;
36	Depends libstoragetest.so : $(resdir) ;
37}
38
39SubInclude HAIKU_TOP src tests kits storage disk_device ;
40SubInclude HAIKU_TOP src tests kits storage testapps ;
41SubInclude HAIKU_TOP src tests kits storage virtualdrive ;
42