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