1 | # $Id: Makefile.kmk 35337 2010-12-27 13:31:04Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the IPRT testcases.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2010 Oracle Corporation
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
10 | # available from http://www.virtualbox.org. This file is free software;
|
---|
11 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
12 | # General Public License (GPL) as published by the Free Software
|
---|
13 | # Foundation, in version 2 as it comes in the "COPYING" file of the
|
---|
14 | # VirtualBox OSE distribution. VirtualBox OSE is distributed in the
|
---|
15 | # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
16 | #
|
---|
17 | # The contents of this file may alternatively be used under the terms
|
---|
18 | # of the Common Development and Distribution License Version 1.0
|
---|
19 | # (CDDL) only, as it comes in the "COPYING.CDDL" file of the
|
---|
20 | # VirtualBox OSE distribution, in which case the provisions of the
|
---|
21 | # CDDL are applicable instead of those of the GPL.
|
---|
22 | #
|
---|
23 | # You may elect to license modified versions of this file under the
|
---|
24 | # terms and conditions of either the GPL or the CDDL or both.
|
---|
25 | #
|
---|
26 |
|
---|
27 | SUB_DEPTH = ../../../..
|
---|
28 | include $(KBUILD_PATH)/subheader.kmk
|
---|
29 |
|
---|
30 | ifdef VBOX_WITH_TESTCASES
|
---|
31 |
|
---|
32 | #
|
---|
33 | # Globals
|
---|
34 | #
|
---|
35 | # WARNING: Careful with this wrt to the other sub-makefiles this joins.
|
---|
36 | #
|
---|
37 | TEMPLATE = VBOXR3TSTEXE
|
---|
38 |
|
---|
39 | # Defined by the parent makefile as well (for errmsgdata.h).
|
---|
40 | IPRT_OUT_DIR ?= $(PATH_TARGET)/Runtime
|
---|
41 |
|
---|
42 |
|
---|
43 | #
|
---|
44 | # Target lists
|
---|
45 | #
|
---|
46 | PROGRAMS += \
|
---|
47 | tstRTAssertCompile \
|
---|
48 | tstRTAvl \
|
---|
49 | tstRTBase64 \
|
---|
50 | tstRTBitOperations \
|
---|
51 | tstRTCidr \
|
---|
52 | tstRTCritSect \
|
---|
53 | tstRTDigest \
|
---|
54 | tstDir \
|
---|
55 | tstDir-2 \
|
---|
56 | tstDir-3 \
|
---|
57 | tstEnv \
|
---|
58 | tstErrUnique \
|
---|
59 | tstFile \
|
---|
60 | tstRTFileAio \
|
---|
61 | tstRTFileAppend-1 \
|
---|
62 | tstFileLock \
|
---|
63 | tstFork \
|
---|
64 | tstRTGetOpt \
|
---|
65 | tstRTGetOptArgv \
|
---|
66 | tstHandleTable \
|
---|
67 | tstRTHeapOffset \
|
---|
68 | tstRTHeapSimple \
|
---|
69 | tstRTInlineAsm \
|
---|
70 | tstIprtMiniString \
|
---|
71 | tstLdr \
|
---|
72 | tstLdrLoad \
|
---|
73 | tstRTList \
|
---|
74 | tstRTLockValidator \
|
---|
75 | tstLog \
|
---|
76 | tstMemAutoPtr \
|
---|
77 | tstRTMemEf \
|
---|
78 | tstRTMemCache \
|
---|
79 | tstRTMemPool \
|
---|
80 | tstMove \
|
---|
81 | tstMp-1 \
|
---|
82 | tstOnce \
|
---|
83 | tstRTPath \
|
---|
84 | tstRTPipe \
|
---|
85 | tstRTPoll \
|
---|
86 | tstRTPrfIO \
|
---|
87 | tstRTProcCreateEx \
|
---|
88 | tstPrfRT \
|
---|
89 | tstRand \
|
---|
90 | tstRTFsQueries \
|
---|
91 | tstRTSemEventMulti \
|
---|
92 | tstSemMutex \
|
---|
93 | tstSemPingPong \
|
---|
94 | tstRTSemRW \
|
---|
95 | tstRTSemXRoads \
|
---|
96 | tstRTSort \
|
---|
97 | tstRTStrAlloc \
|
---|
98 | tstRTStrCache \
|
---|
99 | tstRTStrCatCopy \
|
---|
100 | tstRTStrFormat \
|
---|
101 | tstStrSimplePattern \
|
---|
102 | tstStrToNum \
|
---|
103 | tstRTStrVersion \
|
---|
104 | tstRTSymlink \
|
---|
105 | tstRTSystemQueryDmi \
|
---|
106 | tstRTSystemQueryOsInfo \
|
---|
107 | tstRTTcp-1 \
|
---|
108 | tstRTTemp \
|
---|
109 | tstTermCallbacks \
|
---|
110 | tstThread-1 \
|
---|
111 | tstRTThreadPoke \
|
---|
112 | tstRTThreadExecutionTime \
|
---|
113 | tstTime \
|
---|
114 | tstTime-2 \
|
---|
115 | tstTime-3 \
|
---|
116 | tstTime-4 \
|
---|
117 | tstTimer \
|
---|
118 | tstTimerLR \
|
---|
119 | tstRTTimeSpec \
|
---|
120 | tstUtf8 \
|
---|
121 | tstRTUuid \
|
---|
122 | tstRTCircBuf \
|
---|
123 | tstRTManifest
|
---|
124 |
|
---|
125 | PROGRAMS.win += \
|
---|
126 | tstRTProcWait \
|
---|
127 | tstRTCritSectW32 \
|
---|
128 | tstFileAppendWin-1 \
|
---|
129 | ntGetTimerResolution
|
---|
130 | PROGRAMS.linux += \
|
---|
131 | tstRTProcWait \
|
---|
132 | tstRTProcIsRunningByName \
|
---|
133 | tstRTBitOperationsPIC3 \
|
---|
134 | tstRTInlineAsmPIC \
|
---|
135 | tstRTInlineAsmPIC3
|
---|
136 | PROGRAMS.solaris += \
|
---|
137 | tstRTCoreDump
|
---|
138 | PROGRAMS.l4 += \
|
---|
139 | tstIoCtl
|
---|
140 | PROGRAMS.darwin += \
|
---|
141 | tstDarwinSched
|
---|
142 | ifdef VBOX_WITH_LIBCURL
|
---|
143 | PROGRAMS += \
|
---|
144 | tstRTS3
|
---|
145 | endif
|
---|
146 | if1of ($(KBUILD_TARGET_ARCH), amd64 x86)
|
---|
147 | PROGRAMS += \
|
---|
148 | tstLdr-2 \
|
---|
149 | tstLdr-3 \
|
---|
150 | tstLdr-4 \
|
---|
151 | tstNoCrt-1 \
|
---|
152 | tstRTR0MemUserKernelDriver \
|
---|
153 | tstRTR0SemMutexDriver \
|
---|
154 | tstRTR0TimerDriver \
|
---|
155 | tstR0ThreadPreemptionDriver \
|
---|
156 | tstTSC
|
---|
157 | SYSMODS += \
|
---|
158 | tstLdrObjR0 \
|
---|
159 | tstRTR0MemUserKernel \
|
---|
160 | tstRTR0SemMutex \
|
---|
161 | tstRTR0Timer \
|
---|
162 | tstR0ThreadPreemption
|
---|
163 | ifdef VBOX_WITH_RAW_MODE
|
---|
164 | SYSMODS += tstLdrObj
|
---|
165 | endif
|
---|
166 | endif
|
---|
167 | if1of ($(VBOX_LDR_FMT)), lx pe)
|
---|
168 | LIBRARIES += \
|
---|
169 | tstLdr-4Imp
|
---|
170 | endif
|
---|
171 |
|
---|
172 |
|
---|
173 | #
|
---|
174 | # Target configs in almost alphabetical order.
|
---|
175 | #
|
---|
176 |
|
---|
177 | tstRTAssertCompile_TEMPLATE = VBOXR3TSTEXE
|
---|
178 | tstRTAssertCompile_NOINST = true
|
---|
179 | tstRTAssertCompile_SOURCES = tstRTAssertCompile.cpp
|
---|
180 |
|
---|
181 | tstRTAvl_TEMPLATE = VBOXR3TSTEXE
|
---|
182 | tstRTAvl_SOURCES = tstRTAvl.cpp
|
---|
183 |
|
---|
184 | tstRTBase64_TEMPLATE = VBOXR3TSTEXE
|
---|
185 | tstRTBase64_SOURCES = tstRTBase64.cpp
|
---|
186 |
|
---|
187 | tstRTBitOperations_TEMPLATE = VBOXR3TSTEXE
|
---|
188 | tstRTBitOperations_SOURCES = tstRTBitOperations.cpp
|
---|
189 |
|
---|
190 | tstRTBitOperationsPIC3_TEMPLATE = VBOXR3TSTEXE
|
---|
191 | tstRTBitOperationsPIC3_SOURCES = tstRTBitOperations.cpp
|
---|
192 | tstRTBitOperationsPIC3_CXXFLAGS = -fPIC -fomit-frame-pointer -O3
|
---|
193 | tstRTBitOperationsPIC3_DEFS = PIC
|
---|
194 |
|
---|
195 | tstRTCidr_TEMPLATE = VBOXR3TSTEXE
|
---|
196 | tstRTCidr_SOURCES = tstRTCidr.cpp
|
---|
197 |
|
---|
198 | tstRTCritSect_TEMPLATE = VBOXR3TSTEXE
|
---|
199 | tstRTCritSect_SOURCES = tstRTCritSect.cpp
|
---|
200 |
|
---|
201 | tstRTCritSectW32_TEMPLATE = VBOXR3TSTEXE
|
---|
202 | tstRTCritSectW32_SOURCES = tstRTCritSect.cpp
|
---|
203 | tstRTCritSectW32_DEFS = TRY_WIN32_CRIT
|
---|
204 |
|
---|
205 | tstRTDigest_SOURCES = tstRTDigest.cpp
|
---|
206 |
|
---|
207 | tstDir_SOURCES = tstDir.cpp
|
---|
208 |
|
---|
209 | tstDir-2_SOURCES = tstDir-2.cpp
|
---|
210 |
|
---|
211 | tstDir-3_SOURCES = tstDir-3.cpp
|
---|
212 |
|
---|
213 | tstEnv_SOURCES = tstEnv.cpp
|
---|
214 |
|
---|
215 | # Note: tstErrUnique.cpp depends on a header generated by the makefile above us.
|
---|
216 | tstErrUnique_SOURCES = tstErrUnique.cpp
|
---|
217 | tstErrUnique_INCS = $(IPRT_OUT_DIR)/
|
---|
218 | tstErrUnique.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgdata.h
|
---|
219 |
|
---|
220 | tstFile_SOURCES = tstFile.cpp
|
---|
221 |
|
---|
222 | tstRTFileAio_SOURCES = VBOXR3TSTEXE
|
---|
223 | tstRTFileAio_SOURCES = tstRTFileAio.cpp
|
---|
224 |
|
---|
225 | tstRTFileAppend-1_TEMPLATE = VBOXR3TSTEXE
|
---|
226 | tstRTFileAppend-1_SOURCES = tstRTFileAppend-1.cpp
|
---|
227 |
|
---|
228 | tstFileAppendWin-1_SOURCES = tstFileAppendWin-1.cpp
|
---|
229 |
|
---|
230 | tstFileLock_SOURCES = tstFileLock.cpp
|
---|
231 |
|
---|
232 | tstFork_SOURCES = tstFork.cpp
|
---|
233 |
|
---|
234 | tstRTGetOpt_TEMPLATE = VBOXR3TSTEXE
|
---|
235 | tstRTGetOpt_SOURCES = tstRTGetOpt.cpp
|
---|
236 |
|
---|
237 | tstRTGetOptArgv_TEMPLATE = VBOXR3TSTEXE
|
---|
238 | tstRTGetOptArgv_SOURCES = tstRTGetOptArgv.cpp
|
---|
239 |
|
---|
240 | tstHandleTable_SOURCES = tstHandleTable.cpp
|
---|
241 |
|
---|
242 | tstRTHeapOffset_TEMPLATE = VBOXR3TSTEXE
|
---|
243 | tstRTHeapOffset_SOURCES = tstRTHeapOffset.cpp
|
---|
244 |
|
---|
245 | tstRTHeapSimple_TEMPLATE = VBOXR3TSTEXE
|
---|
246 | tstRTHeapSimple_SOURCES = tstRTHeapSimple.cpp
|
---|
247 |
|
---|
248 | tstIoCtl_SOURCES = tstIoCtl.cpp
|
---|
249 |
|
---|
250 | tstRTInlineAsm_TEMPLATE = VBOXR3TSTEXE
|
---|
251 | tstRTInlineAsm_SOURCES = tstRTInlineAsm.cpp
|
---|
252 |
|
---|
253 | tstRTInlineAsmPIC_TEMPLATE = VBOXR3TSTEXE
|
---|
254 | tstRTInlineAsmPIC_SOURCES = tstRTInlineAsm.cpp
|
---|
255 | tstRTInlineAsmPIC_CXXFLAGS = -fPIC
|
---|
256 | tstRTInlineAsmPIC_DEFS = PIC
|
---|
257 |
|
---|
258 | tstRTInlineAsmPIC3_TEMPLATE = VBOXR3TSTEXE
|
---|
259 | tstRTInlineAsmPIC3_SOURCES = tstRTInlineAsm.cpp
|
---|
260 | tstRTInlineAsmPIC3_CXXFLAGS = -fPIC -fomit-frame-pointer -O3
|
---|
261 | tstRTInlineAsmPIC3_DEFS = PIC
|
---|
262 |
|
---|
263 | tstIprtMiniString_TEMPLATE = VBOXR3TSTEXE
|
---|
264 | tstIprtMiniString_SOURCES = tstIprtMiniString.cpp
|
---|
265 |
|
---|
266 | tstLdr_SOURCES = tstLdr.cpp
|
---|
267 |
|
---|
268 | tstLdr-2_SOURCES = tstLdr-2.cpp
|
---|
269 | tstLdr-2_DEFS = IN_DIS
|
---|
270 | tstLdr-2_LIBS = \
|
---|
271 | $(PATH_LIB)/DisasmR3$(VBOX_SUFF_LIB)
|
---|
272 |
|
---|
273 | ifdef VBOX_WITH_RAW_MODE
|
---|
274 | tstLdrObj_TEMPLATE = VBoxRc
|
---|
275 | tstLdrObj_INST = $(INST_TESTCASE)
|
---|
276 | tstLdrObj_SYSSUFF = .gc
|
---|
277 | tstLdrObj_SOURCES = tstLdrObj.cpp
|
---|
278 | tstLdrObj_DEFS = IN_DIS IN_RT_RC DIS_CORE_ONLY
|
---|
279 | ifeq ($(VBOX_LDR_FMT32),elf)
|
---|
280 | tstLdrObj_DEFS += VBOX_SOME_IMPORT_FUNCTION
|
---|
281 | endif
|
---|
282 | tstLdrObj_LIBS = \
|
---|
283 | $(PATH_LIB)/DisasmRC$(VBOX_SUFF_LIB) \
|
---|
284 | $(PATH_LIB)/RuntimeRC$(VBOX_SUFF_LIB)
|
---|
285 | ifeq ($(VBOX_LDR_FMT32),pe)
|
---|
286 | tstLdrObj_LIBS += \
|
---|
287 | $(PATH_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB)
|
---|
288 | endif # PE
|
---|
289 | ifeq ($(VBOX_LDR_FMT32),elf)
|
---|
290 | tstLdrObj_LDFLAGS = -e Entrypoint
|
---|
291 | endif
|
---|
292 | ifeq ($(VBOX_LDR_FMT32),lx)
|
---|
293 | tstLdrObj_LIBS += \
|
---|
294 | $(PATH_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB)
|
---|
295 | endif
|
---|
296 | endif # VBOX_WITH_RAW_MODE
|
---|
297 |
|
---|
298 | tstLdr-3_SOURCES = tstLdr-3.cpp
|
---|
299 | tstLdr-3_DEFS = IN_DIS
|
---|
300 | tstLdr-3_LIBS = \
|
---|
301 | $(PATH_LIB)/DisasmR3$(VBOX_SUFF_LIB)
|
---|
302 |
|
---|
303 | tstLdr-4Imp_TEMPLATE = VBoxR0
|
---|
304 | ifeq ($(VBOX_LDR_FMT),lx)
|
---|
305 | tstLdr-4Imp_SOURCES = tstLdr-4Imp-os2.def
|
---|
306 | else ifeq ($(VBOX_LDR_FMT),pe)
|
---|
307 | tstLdr-4Imp_SOURCES.win = tstLdr-4Imp-win.def
|
---|
308 | endif
|
---|
309 |
|
---|
310 | tstLdrObjR0_TEMPLATE = VBoxR0
|
---|
311 | tstLdrObjR0_INST = $(INST_TESTCASE)
|
---|
312 | tstLdrObjR0_SYSSUFF = .r0
|
---|
313 | tstLdrObjR0_SOURCES = tstLdrObjR0.cpp tstLdrDisasmTest.cpp
|
---|
314 | tstLdrObjR0_DEFS = IN_DIS IN_RT_R0 DIS_CORE_ONLY
|
---|
315 | ifeq ($(VBOX_LDR_FMT32),elf)
|
---|
316 | tstLdrObjR0_DEFS += VBOX_SOME_IMPORT_FUNCTION
|
---|
317 | endif
|
---|
318 | ifn1of ($(KBUILD_TARGET), win)
|
---|
319 | tstLdrObjR0_CXXFLAGS = $(VBOX_GCC_Wno-array_bounds)
|
---|
320 | endif
|
---|
321 | tstLdrObjR0_LIBS = \
|
---|
322 | $(PATH_LIB)/DisasmR0$(VBOX_SUFF_LIB) \
|
---|
323 | $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
|
---|
324 | ifeq ($(VBOX_LDR_FMT),pe)
|
---|
325 | tstLdrObjR0_LIBS += \
|
---|
326 | $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB) \
|
---|
327 | $(TARGET_tstLdr-4Imp)
|
---|
328 | endif
|
---|
329 | ifeq ($(VBOX_LDR_FMT),elf)
|
---|
330 | tstLdrObjR0_LDFLAGS = -e Entrypoint
|
---|
331 | endif
|
---|
332 | ifeq ($(VBOX_LDR_FMT),lx)
|
---|
333 | tstLdrObjR0_LIBS += \
|
---|
334 | $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB) \
|
---|
335 | $(TARGET_tstLdr-4Imp)
|
---|
336 | endif
|
---|
337 |
|
---|
338 | tstLdr-4_SOURCES = tstLdr-4.cpp tstLdrDisasmTest.cpp
|
---|
339 | tstLdr-4_DEFS = IN_DIS
|
---|
340 | tstLdr-4_LIBS = \
|
---|
341 | $(PATH_LIB)/DisasmR3$(VBOX_SUFF_LIB)
|
---|
342 |
|
---|
343 | tstLdrLoad_SOURCES = tstLdrLoad.cpp
|
---|
344 |
|
---|
345 | tstRTList_TEMPLATE = VBOXR3TSTEXE
|
---|
346 | tstRTList_SOURCES = tstRTList.cpp
|
---|
347 |
|
---|
348 | tstRTLockValidator_TEMPLATE = VBOXR3TSTEXE
|
---|
349 | tstRTLockValidator_SOURCES = tstRTLockValidator.cpp
|
---|
350 |
|
---|
351 | tstLog_SOURCES = tstLog.cpp
|
---|
352 |
|
---|
353 | tstMemAutoPtr_SOURCES = tstMemAutoPtr.cpp
|
---|
354 |
|
---|
355 | tstRTMemEf_TEMPLATE = VBOXR3TSTEXE
|
---|
356 | tstRTMemEf_SOURCES = tstRTMemEf.cpp
|
---|
357 |
|
---|
358 | tstRTMemCache_TEMPLATE = VBOXR3TSTEXE
|
---|
359 | tstRTMemCache_SOURCES = tstRTMemCache.cpp
|
---|
360 |
|
---|
361 | tstRTMemPool_TEMPLATE = VBOXR3TSTEXE
|
---|
362 | tstRTMemPool_SOURCES = tstRTMemPool.cpp
|
---|
363 |
|
---|
364 | tstMove_SOURCES = tstMove.cpp
|
---|
365 |
|
---|
366 | tstMp-1_SOURCES = tstMp-1.cpp
|
---|
367 |
|
---|
368 | tstNoCrt-1_DEFS = RT_WITHOUT_NOCRT_WRAPPER_ALIASES
|
---|
369 | tstNoCrt-1_SOURCES = \
|
---|
370 | tstNoCrt-1.cpp \
|
---|
371 | ../common/string/memcpy.asm \
|
---|
372 | ../common/string/mempcpy.asm \
|
---|
373 | ../common/string/memmove.asm \
|
---|
374 | ../common/string/memset.asm \
|
---|
375 | ../common/string/memchr.asm \
|
---|
376 | ../common/string/memcmp.asm \
|
---|
377 | ../common/string/strchr.asm \
|
---|
378 | ../common/string/strcmp.asm \
|
---|
379 | ../common/string/strcpy.asm \
|
---|
380 | ../common/string/strlen.asm
|
---|
381 |
|
---|
382 | tstOnce_SOURCES = tstOnce.cpp
|
---|
383 |
|
---|
384 | tstRTPath_TEMPLATE = VBOXR3TSTEXE
|
---|
385 | tstRTPath_SOURCES = tstRTPath.cpp
|
---|
386 |
|
---|
387 | tstRTPipe_TEMPLATE = VBOXR3TSTEXE
|
---|
388 | tstRTPipe_SOURCES = tstRTPipe.cpp
|
---|
389 |
|
---|
390 | tstRTPoll_TEMPLATE = VBOXR3TSTEXE
|
---|
391 | tstRTPoll_SOURCES = tstRTPoll.cpp
|
---|
392 |
|
---|
393 | tstPrfRT_SOURCES = tstPrfRT.cpp
|
---|
394 |
|
---|
395 | tstRand_SOURCES = tstRand.cpp
|
---|
396 |
|
---|
397 | tstRTFsQueries_SOURCES = tstRTFsQueries.cpp
|
---|
398 |
|
---|
399 | tstRTPrfIO_TEMPLATE = VBOXR3TSTEXE
|
---|
400 | tstRTPrfIO_SOURCES = tstRTPrfIO.cpp
|
---|
401 |
|
---|
402 | tstRTProcCreateEx_TEMPLATE = VBOXR3TSTEXE
|
---|
403 | tstRTProcCreateEx_SOURCES = tstRTProcCreateEx.cpp
|
---|
404 |
|
---|
405 | tstRTProcWait_SOURCES = tstRTProcWait.cpp
|
---|
406 |
|
---|
407 | tstRTProcIsRunningByName_SOURCES = tstRTProcIsRunningByName.cpp
|
---|
408 |
|
---|
409 | tstRTS3_SOURCES = tstRTS3.cpp
|
---|
410 |
|
---|
411 | tstSemMutex_SOURCES = tstSemMutex.cpp
|
---|
412 |
|
---|
413 | tstRTSemEventMulti_TEMPLATE = VBOXR3TSTEXE
|
---|
414 | tstRTSemEventMulti_SOURCES = tstRTSemEventMulti.cpp
|
---|
415 |
|
---|
416 | tstRTSemRW_TEMPLATE = VBOXR3TSTEXE
|
---|
417 | tstRTSemRW_SOURCES = tstRTSemRW.cpp
|
---|
418 |
|
---|
419 | tstSemPingPong_SOURCES = tstSemPingPong.cpp
|
---|
420 |
|
---|
421 | tstRTSemXRoads_TEMPLATE = VBOXR3TSTEXE
|
---|
422 | tstRTSemXRoads_SOURCES = tstRTSemXRoads.cpp
|
---|
423 |
|
---|
424 | tstRTSort_TEMPLATE = VBOXR3TSTEXE
|
---|
425 | tstRTSort_SOURCES = tstRTSort.cpp
|
---|
426 |
|
---|
427 | tstRTStrAlloc_TEMPLATE = VBOXR3TSTEXE
|
---|
428 | tstRTStrAlloc_SOURCES = tstRTStrAlloc.cpp
|
---|
429 |
|
---|
430 | tstRTStrCache_TEMPLATE = VBOXR3TSTEXE
|
---|
431 | tstRTStrCache_SOURCES = tstRTStrCache.cpp
|
---|
432 |
|
---|
433 | tstRTStrCatCopy_TEMPLATE = VBOXR3TSTEXE
|
---|
434 | tstRTStrCatCopy_SOURCES = tstRTStrCatCopy.cpp
|
---|
435 |
|
---|
436 | tstRTStrFormat_TEMPLATE = VBOXR3TSTEXE
|
---|
437 | tstRTStrFormat_SOURCES = tstRTStrFormat.cpp
|
---|
438 |
|
---|
439 | tstStrSimplePattern_SOURCES = tstStrSimplePattern.cpp
|
---|
440 |
|
---|
441 | tstStrToNum_SOURCES = tstStrToNum.cpp
|
---|
442 |
|
---|
443 | tstRTStrVersion_TEMPLATE = VBOXR3TSTEXE
|
---|
444 | tstRTStrVersion_SOURCES = tstRTStrVersion.cpp
|
---|
445 |
|
---|
446 | tstRTSymlink_TEMPLATE = VBOXR3TSTEXE
|
---|
447 | tstRTSymlink_SOURCES = tstRTSymlink.cpp
|
---|
448 |
|
---|
449 | tstRTSystemQueryDmi_TEMPLATE = VBOXR3TSTEXE
|
---|
450 | tstRTSystemQueryDmi_SOURCES = tstRTSystemQueryDmi.cpp
|
---|
451 |
|
---|
452 | tstRTSystemQueryOsInfo_TEMPLATE = VBOXR3TSTEXE
|
---|
453 | tstRTSystemQueryOsInfo_SOURCES = tstRTSystemQueryOsInfo.cpp
|
---|
454 |
|
---|
455 | tstRTTcp-1_TEMPLATE = VBOXR3TSTEXE
|
---|
456 | tstRTTcp-1_SOURCES = tstRTTcp-1.cpp
|
---|
457 |
|
---|
458 | tstRTTemp_TEMPLATE = VBOXR3TSTEXE
|
---|
459 | tstRTTemp_SOURCES = tstRTTemp.cpp
|
---|
460 |
|
---|
461 | tstTermCallbacks_SOURCES = tstTermCallbacks.cpp
|
---|
462 |
|
---|
463 | tstThread-1_SOURCES = tstThread-1.cpp
|
---|
464 |
|
---|
465 | tstRTThreadPoke_TEMPLATE = VBOXR3TSTEXE
|
---|
466 | tstRTThreadPoke_SOURCES = tstRTThreadPoke.cpp
|
---|
467 |
|
---|
468 | tstRTThreadExecutionTime_TEMPLATE = VBOXR3TSTEXE
|
---|
469 | tstRTThreadExecutionTime_SOURCES = tstRTThreadExecutionTime.cpp
|
---|
470 |
|
---|
471 | tstTime_SOURCES = tstTime.cpp
|
---|
472 |
|
---|
473 | tstTime-2_SOURCES = tstTime-2.cpp
|
---|
474 |
|
---|
475 | tstTime-3_SOURCES = tstTime-3.cpp
|
---|
476 |
|
---|
477 | tstTime-4_SOURCES = tstTime-4.cpp
|
---|
478 |
|
---|
479 | tstTimer_SOURCES = tstTimer.cpp
|
---|
480 |
|
---|
481 | tstTimerLR_SOURCES = tstTimerLR.cpp
|
---|
482 |
|
---|
483 | tstRTTimeSpec_TEMPLATE = VBOXR3TSTEXE
|
---|
484 | tstRTTimeSpec_SOURCES = tstRTTimeSpec.cpp
|
---|
485 |
|
---|
486 | tstTSC_SOURCES = tstTSC.cpp
|
---|
487 | tstTSC_CXXFLAGS.linux += -O3
|
---|
488 |
|
---|
489 | tstRTUuid_TEMPLATE = VBOXR3TSTEXE
|
---|
490 | tstRTUuid_SOURCES = tstRTUuid.cpp
|
---|
491 |
|
---|
492 | tstUtf8_SOURCES = tstUtf8.cpp
|
---|
493 |
|
---|
494 | tstRTCircBuf_TEMPLATE = VBOXR3TSTEXE
|
---|
495 | tstRTCircBuf_SOURCES = tstRTCircBuf.cpp
|
---|
496 |
|
---|
497 | tstRTManifest_TEMPLATE = VBOXR3TSTEXE
|
---|
498 | tstRTManifest_SOURCES = tstRTManifest.cpp
|
---|
499 |
|
---|
500 | tstRTCoreDump_TEMPLACE = VBOXR3TSTEXE
|
---|
501 | tstRTCoreDump_SOURCES = tstRTCoreDump.cpp
|
---|
502 |
|
---|
503 |
|
---|
504 | #
|
---|
505 | # Ring-0 testcases.
|
---|
506 | #
|
---|
507 |
|
---|
508 | ## @todo create a template for compiling the ring-0 part.
|
---|
509 | tstRTR0MemUserKernel_TEMPLATE = VBoxR0
|
---|
510 | tstRTR0MemUserKernel_INST = $(INST_TESTCASE)
|
---|
511 | tstRTR0MemUserKernel_DEFS = IN_RT_R0
|
---|
512 | tstRTR0MemUserKernel_SYSSUFF = .r0
|
---|
513 | tstRTR0MemUserKernel_SOURCES = tstRTR0MemUserKernel.cpp
|
---|
514 | tstRTR0MemUserKernel_LIBS = $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
|
---|
515 | if1of ($(VBOX_LDR_FMT), pe lx)
|
---|
516 | tstRTR0MemUserKernel_LIBS += $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB)
|
---|
517 | endif
|
---|
518 | tstRTR0MemUserKernelDriver_TEMPLATE = VBOXR3TSTEXE
|
---|
519 | tstRTR0MemUserKernelDriver_SOURCES = tstRTR0MemUserKernelDriver.cpp
|
---|
520 |
|
---|
521 |
|
---|
522 | tstRTR0SemMutex_TEMPLATE = VBoxR0
|
---|
523 | tstRTR0SemMutex_INST = $(INST_TESTCASE)
|
---|
524 | tstRTR0SemMutex_DEFS = IN_RT_R0
|
---|
525 | tstRTR0SemMutex_SYSSUFF = .r0
|
---|
526 | tstRTR0SemMutex_SOURCES = tstRTR0SemMutex.cpp
|
---|
527 | tstRTR0SemMutex_LIBS = $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
|
---|
528 | if1of ($(VBOX_LDR_FMT), pe lx)
|
---|
529 | tstRTR0SemMutex_LIBS += $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB)
|
---|
530 | endif
|
---|
531 | tstRTR0SemMutexDriver_TEMPLATE = VBOXR3TSTEXE
|
---|
532 | tstRTR0SemMutexDriver_SOURCES = tstRTR0SemMutexDriver.cpp
|
---|
533 |
|
---|
534 |
|
---|
535 | tstRTR0Timer_TEMPLATE = VBoxR0
|
---|
536 | tstRTR0Timer_INST = $(INST_TESTCASE)
|
---|
537 | tstRTR0Timer_DEFS = IN_RT_R0
|
---|
538 | tstRTR0Timer_SYSSUFF = .r0
|
---|
539 | tstRTR0Timer_SOURCES = tstRTR0Timer.cpp
|
---|
540 | tstRTR0Timer_LIBS = $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
|
---|
541 | if1of ($(VBOX_LDR_FMT), pe lx)
|
---|
542 | tstRTR0Timer_LIBS += $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB)
|
---|
543 | endif
|
---|
544 | tstRTR0TimerDriver_TEMPLATE = VBOXR3TSTEXE
|
---|
545 | tstRTR0TimerDriver_SOURCES = tstRTR0TimerDriver.cpp
|
---|
546 |
|
---|
547 |
|
---|
548 | tstR0ThreadPreemption_TEMPLATE = VBoxR0
|
---|
549 | tstR0ThreadPreemption_INST = $(INST_TESTCASE)
|
---|
550 | tstR0ThreadPreemption_DEFS = IN_RT_R0
|
---|
551 | tstR0ThreadPreemption_SYSSUFF = .r0
|
---|
552 | tstR0ThreadPreemption_SOURCES = tstR0ThreadPreemption.cpp
|
---|
553 | tstR0ThreadPreemption_LIBS = $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
|
---|
554 | if1of ($(VBOX_LDR_FMT), pe lx)
|
---|
555 | tstR0ThreadPreemption_LIBS += $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB)
|
---|
556 | endif
|
---|
557 | tstR0ThreadPreemptionDriver_TEMPLATE = VBOXR3TSTEXE
|
---|
558 | tstR0ThreadPreemptionDriver_SOURCES = tstR0ThreadPreemptionDriver.cpp
|
---|
559 |
|
---|
560 |
|
---|
561 | #
|
---|
562 | # Odds and ends.
|
---|
563 | #
|
---|
564 |
|
---|
565 | tstDarwinSched_SOURCES = tstDarwinSched.cpp
|
---|
566 |
|
---|
567 | ntGetTimerResolution_SOURCES = ntGetTimerResolution.cpp
|
---|
568 | ntGetTimerResolution_SDKS.win = WINPSDK W2K3DDK VBOX_NTDLL
|
---|
569 |
|
---|
570 | endif # VBOX_WITH_TESTCASES
|
---|
571 |
|
---|
572 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
573 |
|
---|