xref: /haiku/src/tests/kits/storage/Jamfile (revision 7749d0bb0c358a3279b1b9cc76d8376e900130a5)
1SubDir HAIKU_TOP src tests kits storage ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4AddSubDirSupportedPlatforms libbe_test ;
5
6UsePrivateHeaders storage ;
7
8UnitTestLib libstoragetest.so
9	: StorageKitTestAddon.cpp
10		AppFileInfoTest.cpp
11		BasicTest.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 $(TARGET_LIBSTDC++)
29;
30
31# To run the tests some test files must be around.
32{
33	local resdir = <storage!kit!test!files>resources ;
34	MakeLocate $(resdir) : $(TARGET_UNIT_TEST_DIR) ;
35	RelSymLink $(resdir) : [ FDirName $(SUBDIR) 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