1SubDir HAIKU_TOP src tests kits support ;
2
3AddSubDirSupportedPlatforms libbe_test ;
4
5# Let Jam know where to find some of our source files
6SEARCH_SOURCE += [ FDirName $(SUBDIR) barchivable ] ;
7SEARCH_SOURCE += [ FDirName $(SUBDIR) bautolock ] ;
8SEARCH_SOURCE += [ FDirName $(SUBDIR) blocker ] ;
9SEARCH_SOURCE += [ FDirName $(SUBDIR) bmemoryio ] ;
10SEARCH_SOURCE += [ FDirName $(SUBDIR) bstring ] ;
11SEARCH_SOURCE += [ FDirName $(SUBDIR) bblockcache ] ;
12
13UnitTestLib libsupporttest.so
14	: SupportKitTestAddon.cpp
15
16		ByteOrderTest.cpp
17
18		# BArchivable
19		ArchivableTest.cpp
20		BArchivableTester.cpp
21		FindInstantiationFuncTester.cpp
22		InstantiateObjectTester.cpp
23		LocalTestObject.cpp
24		ValidateInstantiationTester.cpp
25		
26		# BAutolock
27		AutolockTest.cpp
28		AutolockLockerTest.cpp
29		AutolockLooperTest.cpp
30
31		# BDateTime
32		DateTimeTest.cpp
33
34		# BLocker (all in ./blocker)
35		LockerTest.cpp
36		BenaphoreLockCountTest1.cpp
37		ConcurrencyTest1.cpp
38		ConcurrencyTest2.cpp
39		ConstructionTest1.cpp
40		DestructionTest1.cpp
41		DestructionTest2.cpp
42		LockerTestCase.cpp
43		SemaphoreLockCountTest1.cpp
44
45		# BMemoryIO
46		MemoryIOTest.cpp
47		ConstTest.cpp
48		SeekTest.cpp
49		WriteTest.cpp
50		ReadTest.cpp
51		SetSizeTest.cpp
52
53		# BMallocIO
54		MallocIOTest.cpp
55		MallocSeekTest.cpp
56		MallocWriteTest.cpp
57		MallocBufferLengthTest.cpp
58
59		#BString
60		StringTest.cpp
61		StringConstructionTest.cpp
62		StringAccessTest.cpp
63		StringAssignTest.cpp
64		StringAppendTest.cpp
65		StringSubCopyTest.cpp
66		StringPrependTest.cpp
67		StringCaseTest.cpp
68		StringInsertTest.cpp
69		StringEscapeTest.cpp
70		StringRemoveTest.cpp
71		StringCompareTest.cpp
72		StringFormatAppendTest.cpp
73		StringCharAccessTest.cpp
74		StringSearchTest.cpp
75		StringReplaceTest.cpp
76		StringSplitTest.cpp
77
78		#BBlockCache
79		BlockCacheTest.cpp
80		BlockCacheExerciseTest.cpp
81		BlockCacheConcurrencyTest.cpp
82
83	: be [ TargetLibstdc++ ] libsupporttest_RemoteTestObject.so
84;
85
86UsePrivateHeaders support ;
87
88SimpleTest compression_test : compression_test.cpp : be [ TargetLibsupc++ ] ;
89SimpleTest string_utf8_tests : string_utf8_tests.cpp : be ;
90
91SubInclude HAIKU_TOP src tests kits support barchivable ;
92#SubInclude HAIKU_TOP src tests kits support bautolock ;
93#SubInclude HAIKU_TOP src tests kits support blocker ;
94
95