xref: /haiku/src/tests/kits/support/Jamfile (revision e81a954787e50e56a7f06f72705b7859b6ab06d1)
1SubDir HAIKU_TOP src tests kits support ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4AddSubDirSupportedPlatforms libbe_test ;
5
6# Let Jam know where to find some of our source files
7SEARCH_SOURCE += [ FDirName $(SUBDIR) barchivable ] ;
8SEARCH_SOURCE += [ FDirName $(SUBDIR) bautolock ] ;
9SEARCH_SOURCE += [ FDirName $(SUBDIR) blocker ] ;
10SEARCH_SOURCE += [ FDirName $(SUBDIR) bmemoryio ] ;
11SEARCH_SOURCE += [ FDirName $(SUBDIR) bstring ] ;
12SEARCH_SOURCE += [ FDirName $(SUBDIR) bblockcache ] ;
13
14UnitTestLib libsupporttest.so
15	: SupportKitTestAddon.cpp
16
17		ByteOrderTest.cpp
18
19		# BArchivable
20		ArchivableTest.cpp
21		BArchivableTester.cpp
22		FindInstantiationFuncTester.cpp
23		InstantiateObjectTester.cpp
24		LocalTestObject.cpp
25		ValidateInstantiationTester.cpp
26
27		# BAutolock
28		AutolockTest.cpp
29		AutolockLockerTest.cpp
30		AutolockLooperTest.cpp
31
32		# BDateTime
33		DateTimeTest.cpp
34
35		# BLocker (all in ./blocker)
36		LockerTest.cpp
37		BenaphoreLockCountTest1.cpp
38		ConcurrencyTest1.cpp
39		ConcurrencyTest2.cpp
40		ConstructionTest1.cpp
41		DestructionTest1.cpp
42		DestructionTest2.cpp
43		LockerTestCase.cpp
44		SemaphoreLockCountTest1.cpp
45
46		# BMemoryIO
47		MemoryIOTest.cpp
48		ConstTest.cpp
49		SeekTest.cpp
50		WriteTest.cpp
51		ReadTest.cpp
52		SetSizeTest.cpp
53
54		# BMallocIO
55		MallocIOTest.cpp
56		MallocSeekTest.cpp
57		MallocWriteTest.cpp
58		MallocBufferLengthTest.cpp
59
60		#BString
61		StringTest.cpp
62		StringConstructionTest.cpp
63		StringAccessTest.cpp
64		StringAssignTest.cpp
65		StringAppendTest.cpp
66		StringSubCopyTest.cpp
67		StringPrependTest.cpp
68		StringCaseTest.cpp
69		StringInsertTest.cpp
70		StringEscapeTest.cpp
71		StringRemoveTest.cpp
72		StringCompareTest.cpp
73		StringFormatAppendTest.cpp
74		StringCharAccessTest.cpp
75		StringSearchTest.cpp
76		StringReplaceTest.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