VirtualBox

source: vbox/trunk/src/VBox/Runtime/testcase/Makefile.kmk@ 44249

Last change on this file since 44249 was 44220, checked in by vboxsync, 12 years ago

tstRTTime: Renamed from tstTime, convert to RTTest and restricted the amount of output.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 17.4 KB
Line 
1# $Id: Makefile.kmk 44220 2013-01-01 17:17:26Z vboxsync $
2## @file
3# Sub-Makefile for the IPRT testcases.
4#
5
6#
7# Copyright (C) 2006-2012 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
27SUB_DEPTH = ../../../..
28include $(KBUILD_PATH)/subheader.kmk
29
30ifdef VBOX_WITH_TESTCASES
31
32#
33# Globals
34#
35# WARNING: Careful with this wrt to the other sub-makefiles this joins.
36#
37TEMPLATE = VBOXR3TSTEXE
38
39# Defined by the parent makefile as well (for errmsgdata.h).
40IPRT_OUT_DIR ?= $(PATH_TARGET)/Runtime
41
42
43#
44# Target lists
45#
46PROGRAMS += \
47 tstRTAssertCompile \
48 tstRTAvl \
49 tstRTBase64 \
50 tstRTBitOperations \
51 tstRTCidr \
52 tstRTCritSect \
53 tstRTCType \
54 tstRTDigest \
55 tstDir \
56 tstDir-2 \
57 tstDir-3 \
58 tstRTDvm \
59 tstEnv \
60 tstRTErrUnique \
61 tstFile \
62 tstRTFileAio \
63 tstRTFileAppend-1 \
64 tstRTFileGetSize-1 \
65 tstFileLock \
66 tstFork \
67 tstHttp \
68 tstRTFsQueries \
69 tstRTFilesystem \
70 tstRTGetOpt \
71 tstRTGetOptArgv \
72 tstHandleTable \
73 tstRTHeapOffset \
74 tstRTHeapSimple \
75 tstRTInlineAsm \
76 tstIprtList \
77 tstIprtMiniString \
78 tstLdr \
79 tstLdrLoad \
80 tstRTList \
81 tstRTLockValidator \
82 tstLog \
83 tstMemAutoPtr \
84 tstRTMemEf \
85 tstRTMemCache \
86 tstRTMemPool \
87 tstRTMemWipe \
88 tstMove \
89 tstMp-1 \
90 tstOnce \
91 tstRTPath \
92 tstRTPipe \
93 tstRTPoll \
94 tstRTPrfIO \
95 tstRTProcCreateEx \
96 tstRTProcCreatePrf \
97 tstRTProcQueryUsername \
98 tstPrfRT \
99 tstRand \
100 tstRTReqPool \
101 tstRTSemEventMulti \
102 tstSemMutex \
103 tstSemPingPong \
104 tstRTSemRW \
105 tstRTSemXRoads \
106 tstRTSort \
107 tstRTStrAlloc \
108 tstRTStrCache \
109 tstRTStrCatCopy \
110 tstRTStrFormat \
111 tstStrSimplePattern \
112 tstStrToNum \
113 tstRTStrVersion \
114 tstRTSymlink \
115 tstRTSystemQueryDmi \
116 tstRTSystemQueryOsInfo \
117 tstRTTcp-1 \
118 tstRTTemp \
119 tstRTDirCreateUniqueNumbered \
120 tstTermCallbacks \
121 tstThread-1 \
122 tstRTThreadPoke \
123 tstRTThreadExecutionTime \
124 tstRTTime \
125 tstTime-2 \
126 tstTime-3 \
127 tstTime-4 \
128 tstTimer \
129 tstTimerLR \
130 tstRTTimeSpec \
131 tstUtf8 \
132 tstRTUuid \
133 tstRTCircBuf \
134 tstRTManifest \
135 tstRTUri \
136 tstVector
137
138PROGRAMS.win += \
139 tstRTProcWait \
140 tstRTCritSectW32 \
141 tstFileAppendWin-1 \
142 ntGetTimerResolution
143PROGRAMS.linux += \
144 tstRTProcWait \
145 tstRTProcIsRunningByName \
146 tstRTBitOperationsPIC3 \
147 tstRTInlineAsmPIC \
148 tstRTInlineAsmPIC3
149PROGRAMS.solaris += \
150 tstRTCoreDump
151PROGRAMS.l4 += \
152 tstIoCtl
153PROGRAMS.darwin += \
154 tstDarwinSched \
155 tstRTDarwinMachKernel
156ifdef VBOX_WITH_LIBCURL
157 PROGRAMS += \
158 tstRTS3
159endif
160if1of ($(KBUILD_TARGET_ARCH), amd64 x86)
161 PROGRAMS += \
162 tstLdr-2 \
163 tstLdr-3 \
164 tstLdr-4 \
165 tstNoCrt-1 \
166 tstRTR0MemUserKernelDriver \
167 tstRTR0SemMutexDriver \
168 tstRTR0TimerDriver \
169 tstR0ThreadPreemptionDriver \
170 tstTSC
171 SYSMODS += \
172 tstLdrObjR0 \
173 tstRTR0MemUserKernel \
174 tstRTR0SemMutex \
175 tstRTR0Timer \
176 tstR0ThreadPreemption
177 ifdef VBOX_WITH_RAW_MODE
178 SYSMODS += tstLdrObj
179 endif
180 if1of ($(KBUILD_TARGET), solaris darwin)
181 PROGRAMS += tstRTR0DbgKrnlInfoDriver
182 SYSMODS += tstRTR0DbgKrnlInfo
183 endif
184endif
185if1of ($(VBOX_LDR_FMT)), lx pe)
186 LIBRARIES += \
187 tstLdr-4Imp
188endif
189
190
191#
192# Target configs in almost alphabetical order.
193#
194
195tstRTAssertCompile_TEMPLATE = VBOXR3TSTEXE
196tstRTAssertCompile_INSTTYPE = none
197tstRTAssertCompile_SOURCES = tstRTAssertCompile.cpp
198
199tstRTAvl_TEMPLATE = VBOXR3TSTEXE
200tstRTAvl_SOURCES = tstRTAvl.cpp
201
202tstRTBase64_TEMPLATE = VBOXR3TSTEXE
203tstRTBase64_SOURCES = tstRTBase64.cpp
204
205tstRTBitOperations_TEMPLATE = VBOXR3TSTEXE
206tstRTBitOperations_SOURCES = tstRTBitOperations.cpp
207
208tstRTBitOperationsPIC3_TEMPLATE = VBOXR3TSTEXE
209tstRTBitOperationsPIC3_SOURCES = tstRTBitOperations.cpp
210tstRTBitOperationsPIC3_CXXFLAGS = -fPIC -fomit-frame-pointer -O3
211tstRTBitOperationsPIC3_DEFS = PIC
212
213tstRTCidr_TEMPLATE = VBOXR3TSTEXE
214tstRTCidr_SOURCES = tstRTCidr.cpp
215
216tstRTCritSect_TEMPLATE = VBOXR3TSTEXE
217tstRTCritSect_SOURCES = tstRTCritSect.cpp
218
219tstRTCritSectW32_TEMPLATE = VBOXR3TSTEXE
220tstRTCritSectW32_SOURCES = tstRTCritSect.cpp
221tstRTCritSectW32_DEFS = TRY_WIN32_CRIT
222
223tstRTCType_TEMPLATE = VBOXR3TSTEXE
224tstRTCType_SOURCES = tstRTCType.cpp
225
226tstRTDigest_SOURCES = tstRTDigest.cpp
227
228tstHttp_TEMPLATE = VBOXR3TSTEXE
229tstHttp_SOURCES = tstHttp.cpp
230tstHttp_SDKS = VBOX_LIBCURL
231
232tstDir_TEMPLATE = VBOXR3TSTEXE
233tstDir_SOURCES = tstDir.cpp
234
235tstDir-2_TEMPLATE = VBOXR3TSTEXE
236tstDir-2_SOURCES = tstDir-2.cpp
237
238tstDir-3_TEMPLATE = VBOXR3TSTEXE
239tstDir-3_SOURCES = tstDir-3.cpp
240
241tstRTDvm_TEMPLATE = VBOXR3TSTEXE
242tstRTDvm_SOURCES = tstRTDvm.cpp
243
244tstEnv_TEMPLATE = VBOXR3TSTEXE
245tstEnv_SOURCES = tstEnv.cpp
246
247tstRTErrUnique_SOURCES = tstRTErrUnique.cpp
248tstRTErrUnique_INCS = $(IPRT_OUT_DIR)/
249tstRTErrUnique.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgdata.h # generate by ../Makefile.kmk
250
251tstFile_TEMPLATE = VBOXR3TSTEXE
252tstFile_SOURCES = tstFile.cpp
253
254tstRTFileAio_SOURCES = VBOXR3TSTEXE
255tstRTFileAio_SOURCES = tstRTFileAio.cpp
256
257tstRTFileAppend-1_TEMPLATE = VBOXR3TSTEXE
258tstRTFileAppend-1_SOURCES = tstRTFileAppend-1.cpp
259
260tstRTFileGetSize-1_TEMPLATE = VBOXR3TSTEXE
261tstRTFileGetSize-1_SOURCES = tstRTFileGetSize-1.cpp
262
263tstFileAppendWin-1_TEMPLATE = VBOXR3TSTEXE
264tstFileAppendWin-1_SOURCES = tstFileAppendWin-1.cpp
265
266tstFileLock_TEMPLATE = VBOXR3TSTEXE
267tstFileLock_SOURCES = tstFileLock.cpp
268
269tstFork_TEMPLATE = VBOXR3TSTEXE
270tstFork_SOURCES = tstFork.cpp
271
272tstRTFsQueries_TEMPLATE = VBOXR3TSTEXE
273tstRTFsQueries_SOURCES = tstRTFsQueries.cpp
274
275tstRTFilesystem_TEMPLATE = VBOXR3TSTEXE
276tstRTFilesystem_SOURCES = tstRTFilesystem.cpp
277
278tstRTGetOpt_TEMPLATE = VBOXR3TSTEXE
279tstRTGetOpt_SOURCES = tstRTGetOpt.cpp
280
281tstRTGetOptArgv_TEMPLATE = VBOXR3TSTEXE
282tstRTGetOptArgv_SOURCES = tstRTGetOptArgv.cpp
283
284tstHandleTable_SOURCES = tstHandleTable.cpp
285
286tstRTHeapOffset_TEMPLATE = VBOXR3TSTEXE
287tstRTHeapOffset_SOURCES = tstRTHeapOffset.cpp
288
289tstRTHeapSimple_TEMPLATE = VBOXR3TSTEXE
290tstRTHeapSimple_SOURCES = tstRTHeapSimple.cpp
291
292tstIoCtl_TEMPLATE = VBOXR3TSTEXE
293tstIoCtl_SOURCES = tstIoCtl.cpp
294
295tstRTInlineAsm_TEMPLATE = VBOXR3TSTEXE
296tstRTInlineAsm_SOURCES = tstRTInlineAsm.cpp
297
298tstRTInlineAsmPIC_TEMPLATE = VBOXR3TSTEXE
299tstRTInlineAsmPIC_SOURCES = tstRTInlineAsm.cpp
300tstRTInlineAsmPIC_CXXFLAGS = -fPIC
301tstRTInlineAsmPIC_DEFS = PIC
302
303tstRTInlineAsmPIC3_TEMPLATE = VBOXR3TSTEXE
304tstRTInlineAsmPIC3_SOURCES = tstRTInlineAsm.cpp
305tstRTInlineAsmPIC3_CXXFLAGS = -fPIC -fomit-frame-pointer -O3
306tstRTInlineAsmPIC3_DEFS = PIC
307
308tstIprtList_TEMPLATE = VBOXR3TSTEXE
309tstIprtList_SOURCES = tstIprtList.cpp
310
311tstIprtMiniString_TEMPLATE = VBOXR3TSTEXE
312tstIprtMiniString_SOURCES = tstIprtMiniString.cpp
313
314tstLdr_TEMPLATE = VBOXR3TSTEXE
315tstLdr_SOURCES = tstLdr.cpp
316
317tstLdr-2_TEMPLATE = VBOXR3TSTEXE
318tstLdr-2_SOURCES = tstLdr-2.cpp
319tstLdr-2_DEFS = IN_DIS
320tstLdr-2_LIBS = \
321 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB)
322
323ifdef VBOX_WITH_RAW_MODE
324 tstLdrObj_TEMPLATE = VBoxRc
325 tstLdrObj_INST = $(INST_TESTCASE)
326 tstLdrObj_SYSSUFF = .gc
327 tstLdrObj_SOURCES = tstLdrObj.cpp
328 tstLdrObj_DEFS = IN_DIS IN_RT_RC DIS_CORE_ONLY
329 ifeq ($(VBOX_LDR_FMT32),elf)
330 tstLdrObj_DEFS += VBOX_SOME_IMPORT_FUNCTION
331 endif
332 tstLdrObj_LIBS = \
333 $(PATH_STAGE_LIB)/DisasmRC$(VBOX_SUFF_LIB) \
334 $(PATH_STAGE_LIB)/RuntimeRC$(VBOX_SUFF_LIB)
335 ifeq ($(VBOX_LDR_FMT32),pe)
336 tstLdrObj_LIBS += \
337 $(PATH_STAGE_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB)
338 endif # PE
339 ifeq ($(VBOX_LDR_FMT32),elf)
340 tstLdrObj_LDFLAGS = -e Entrypoint
341 endif
342 ifeq ($(VBOX_LDR_FMT32),lx)
343 tstLdrObj_LIBS += \
344 $(PATH_STAGE_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB)
345 endif
346endif # VBOX_WITH_RAW_MODE
347
348tstLdr-3_TEMPLATE = VBOXR3TSTEXE
349tstLdr-3_SOURCES = tstLdr-3.cpp
350tstLdr-3_DEFS = IN_DIS
351tstLdr-3_LIBS = \
352 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB)
353
354tstLdr-4Imp_TEMPLATE = VBoxR0
355ifeq ($(VBOX_LDR_FMT),lx)
356 tstLdr-4Imp_SOURCES = tstLdr-4Imp-os2.def
357else ifeq ($(VBOX_LDR_FMT),pe)
358 tstLdr-4Imp_SOURCES.win = tstLdr-4Imp-win.def
359endif
360
361tstLdrObjR0_TEMPLATE = VBoxR0
362tstLdrObjR0_INST = $(INST_TESTCASE)
363tstLdrObjR0_SYSSUFF = .r0
364tstLdrObjR0_SOURCES = tstLdrObjR0.cpp tstLdrDisasmTest.cpp
365tstLdrObjR0_DEFS = IN_DIS IN_RT_R0 DIS_CORE_ONLY
366ifeq ($(VBOX_LDR_FMT32),elf)
367 tstLdrObjR0_DEFS += VBOX_SOME_IMPORT_FUNCTION
368endif
369ifn1of ($(KBUILD_TARGET), win)
370 tstLdrObjR0_CXXFLAGS = $(VBOX_GCC_Wno-array_bounds)
371endif
372tstLdrObjR0_LIBS = \
373 $(PATH_STAGE_LIB)/DisasmR0$(VBOX_SUFF_LIB) \
374 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
375ifeq ($(VBOX_LDR_FMT),pe)
376 tstLdrObjR0_LIBS += \
377 $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB) \
378 $(TARGET_tstLdr-4Imp)
379endif
380ifeq ($(VBOX_LDR_FMT),elf)
381 tstLdrObjR0_LDFLAGS = -e Entrypoint
382endif
383ifeq ($(VBOX_LDR_FMT),lx)
384 tstLdrObjR0_LIBS += \
385 $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB) \
386 $(TARGET_tstLdr-4Imp)
387endif
388
389tstLdr-4_TEMPLATE = VBOXR3TSTEXE
390tstLdr-4_SOURCES = tstLdr-4.cpp tstLdrDisasmTest.cpp
391tstLdr-4_DEFS = IN_DIS
392tstLdr-4_LIBS = \
393 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB)
394
395tstLdrLoad_TEMPLATE = VBOXR3TSTEXE
396tstLdrLoad_SOURCES = tstLdrLoad.cpp
397
398tstRTList_TEMPLATE = VBOXR3TSTEXE
399tstRTList_SOURCES = tstRTList.cpp
400
401tstRTLockValidator_TEMPLATE = VBOXR3TSTEXE
402tstRTLockValidator_SOURCES = tstRTLockValidator.cpp
403
404tstLog_TEMPLATE = VBOXR3TSTEXE
405tstLog_SOURCES = tstLog.cpp
406
407tstMemAutoPtr_TEMPLATE = VBOXR3TSTEXE
408tstMemAutoPtr_SOURCES = tstMemAutoPtr.cpp
409
410tstRTMemEf_TEMPLATE = VBOXR3TSTEXE
411tstRTMemEf_SOURCES = tstRTMemEf.cpp
412
413tstRTMemCache_TEMPLATE = VBOXR3TSTEXE
414tstRTMemCache_SOURCES = tstRTMemCache.cpp
415
416tstRTMemPool_TEMPLATE = VBOXR3TSTEXE
417tstRTMemPool_SOURCES = tstRTMemPool.cpp
418
419tstRTMemWipe_TEMPLATE = VBOXR3TSTEXE
420tstRTMemWipe_SOURCES = tstRTMemWipe.cpp
421
422tstMove_TEMPLATE = VBOXR3TSTEXE
423tstMove_SOURCES = tstMove.cpp
424
425tstMp-1_TEMPLATE = VBOXR3TSTEXE
426tstMp-1_SOURCES = tstMp-1.cpp
427
428tstNoCrt-1_TEMPLATE = VBOXR3TSTEXE
429tstNoCrt-1_DEFS = RT_WITHOUT_NOCRT_WRAPPER_ALIASES
430tstNoCrt-1_SOURCES = \
431 tstNoCrt-1.cpp \
432 ../common/string/memcpy.asm \
433 ../common/string/mempcpy.asm \
434 ../common/string/memmove.asm \
435 ../common/string/memset.asm \
436 ../common/string/memchr.asm \
437 ../common/string/memcmp.asm \
438 ../common/string/strchr.asm \
439 ../common/string/strcmp.asm \
440 ../common/string/strcpy.asm \
441 ../common/string/strlen.asm
442
443tstOnce_TEMPLATE = VBOXR3TSTEXE
444tstOnce_SOURCES = tstOnce.cpp
445
446tstRTPath_TEMPLATE = VBOXR3TSTEXE
447tstRTPath_SOURCES = tstRTPath.cpp
448
449tstRTPipe_TEMPLATE = VBOXR3TSTEXE
450tstRTPipe_SOURCES = tstRTPipe.cpp
451
452tstRTPoll_TEMPLATE = VBOXR3TSTEXE
453tstRTPoll_SOURCES = tstRTPoll.cpp
454
455tstPrfRT_TEMPLATE = VBOXR3TSTEXE
456tstPrfRT_SOURCES = tstPrfRT.cpp
457
458tstRTPrfIO_TEMPLATE = VBOXR3TSTEXE
459tstRTPrfIO_SOURCES = tstRTPrfIO.cpp
460
461tstRTProcCreateEx_TEMPLATE = VBOXR3TSTEXE
462tstRTProcCreateEx_SOURCES = tstRTProcCreateEx.cpp
463
464tstRTProcCreatePrf_TEMPLATE = VBOXR3TSTEXE
465tstRTProcCreatePrf_SOURCES = tstRTProcCreatePrf.cpp
466
467tstRTProcQueryUsername_TEMPLATE = VBOXR3TSTEXE
468tstRTProcQueryUsername_SOURCES = tstRTProcQueryUsername.cpp
469
470tstRTProcWait_TEMPLATE = VBOXR3TSTEXE
471tstRTProcWait_SOURCES = tstRTProcWait.cpp
472
473tstRTProcIsRunningByName_TEMPLATE = VBOXR3TSTEXE
474tstRTProcIsRunningByName_SOURCES = tstRTProcIsRunningByName.cpp
475
476tstRand_TEMPLATE = VBOXR3TSTEXE
477tstRand_SOURCES = tstRand.cpp
478
479tstRTReqPool_TEMPLATE = VBOXR3TSTEXE
480tstRTReqPool_SOURCES = tstRTReqPool.cpp
481
482tstRTS3_TEMPLATE = VBOXR3TSTEXE
483tstRTS3_SOURCES = tstRTS3.cpp
484
485tstSemMutex_TEMPLATE = VBOXR3TSTEXE
486tstSemMutex_SOURCES = tstSemMutex.cpp
487
488tstRTSemEventMulti_TEMPLATE = VBOXR3TSTEXE
489tstRTSemEventMulti_SOURCES = tstRTSemEventMulti.cpp
490
491tstRTSemRW_TEMPLATE = VBOXR3TSTEXE
492tstRTSemRW_SOURCES = tstRTSemRW.cpp
493
494tstSemPingPong_TEMPLATE = VBOXR3TSTEXE
495tstSemPingPong_SOURCES = tstSemPingPong.cpp
496
497tstRTSemXRoads_TEMPLATE = VBOXR3TSTEXE
498tstRTSemXRoads_SOURCES = tstRTSemXRoads.cpp
499
500tstRTSort_TEMPLATE = VBOXR3TSTEXE
501tstRTSort_SOURCES = tstRTSort.cpp
502
503tstRTStrAlloc_TEMPLATE = VBOXR3TSTEXE
504tstRTStrAlloc_SOURCES = tstRTStrAlloc.cpp
505
506tstRTStrCache_TEMPLATE = VBOXR3TSTEXE
507tstRTStrCache_SOURCES = tstRTStrCache.cpp
508
509tstRTStrCatCopy_TEMPLATE = VBOXR3TSTEXE
510tstRTStrCatCopy_SOURCES = tstRTStrCatCopy.cpp
511
512tstRTStrFormat_TEMPLATE = VBOXR3TSTEXE
513tstRTStrFormat_SOURCES = tstRTStrFormat.cpp
514
515tstStrSimplePattern_TEMPLATE = VBOXR3TSTEXE
516tstStrSimplePattern_SOURCES = tstStrSimplePattern.cpp
517
518tstStrToNum_TEMPLATE = VBOXR3TSTEXE
519tstStrToNum_SOURCES = tstStrToNum.cpp
520
521tstRTStrVersion_TEMPLATE = VBOXR3TSTEXE
522tstRTStrVersion_SOURCES = tstRTStrVersion.cpp
523
524tstRTSymlink_TEMPLATE = VBOXR3TSTEXE
525tstRTSymlink_SOURCES = tstRTSymlink.cpp
526
527tstRTSystemQueryDmi_TEMPLATE = VBOXR3TSTEXE
528tstRTSystemQueryDmi_SOURCES = tstRTSystemQueryDmi.cpp
529
530tstRTSystemQueryOsInfo_TEMPLATE = VBOXR3TSTEXE
531tstRTSystemQueryOsInfo_SOURCES = tstRTSystemQueryOsInfo.cpp
532
533tstRTTcp-1_TEMPLATE = VBOXR3TSTEXE
534tstRTTcp-1_SOURCES = tstRTTcp-1.cpp
535
536tstRTTemp_TEMPLATE = VBOXR3TSTEXE
537tstRTTemp_SOURCES = tstRTTemp.cpp
538
539tstRTDirCreateUniqueNumbered_TEMPLATE = VBOXR3TSTEXE
540tstRTDirCreateUniqueNumbered_SOURCES = tstRTDirCreateUniqueNumbered.cpp
541
542tstTermCallbacks_TEMPLATE = VBOXR3TSTEXE
543tstTermCallbacks_SOURCES = tstTermCallbacks.cpp
544
545tstThread-1_TEMPLATE = VBOXR3TSTEXE
546tstThread-1_SOURCES = tstThread-1.cpp
547
548tstRTThreadPoke_TEMPLATE = VBOXR3TSTEXE
549tstRTThreadPoke_SOURCES = tstRTThreadPoke.cpp
550
551tstRTThreadExecutionTime_TEMPLATE = VBOXR3TSTEXE
552tstRTThreadExecutionTime_SOURCES = tstRTThreadExecutionTime.cpp
553
554tstRTTime_TEMPLATE = VBOXR3TSTEXE
555tstRTTime_SOURCES = tstRTTime.cpp
556
557tstTime-2_TEMPLATE = VBOXR3TSTEXE
558tstTime-2_SOURCES = tstTime-2.cpp
559
560tstTime-3_TEMPLATE = VBOXR3TSTEXE
561tstTime-3_SOURCES = tstTime-3.cpp
562
563tstTime-4_TEMPLATE = VBOXR3TSTEXE
564tstTime-4_SOURCES = tstTime-4.cpp
565
566tstTimer_TEMPLATE = VBOXR3TSTEXE
567tstTimer_SOURCES = tstTimer.cpp
568
569tstTimerLR_TEMPLATE = VBOXR3TSTEXE
570tstTimerLR_SOURCES = tstTimerLR.cpp
571
572tstRTTimeSpec_TEMPLATE = VBOXR3TSTEXE
573tstRTTimeSpec_SOURCES = tstRTTimeSpec.cpp
574
575tstTSC_SOURCES = tstTSC.cpp
576tstTSC_CXXFLAGS.linux += -O3
577
578tstRTUuid_TEMPLATE = VBOXR3TSTEXE
579tstRTUuid_SOURCES = tstRTUuid.cpp
580
581tstUtf8_TEMPLATE = VBOXR3TSTEXE
582tstUtf8_SOURCES = tstUtf8.cpp
583
584tstRTCircBuf_TEMPLATE = VBOXR3TSTEXE
585tstRTCircBuf_SOURCES = tstRTCircBuf.cpp
586
587tstRTManifest_TEMPLATE = VBOXR3TSTEXE
588tstRTManifest_SOURCES = tstRTManifest.cpp
589
590tstRTUri_TEMPLATE = VBOXR3TSTEXE
591tstRTUri_SOURCES = tstRTUri.cpp
592
593tstRTCoreDump_TEMPLACE = VBOXR3TSTEXE
594tstRTCoreDump_SOURCES = tstRTCoreDump.cpp
595
596tstVector_TEMPLATE = VBOXR3TSTEXE
597tstVector_SOURCES = tstVector.cpp
598
599
600#
601# Ring-0 testcases.
602#
603
604## @todo create a template for compiling the ring-0 part.
605tstRTR0DbgKrnlInfo_TEMPLATE = VBoxR0
606tstRTR0DbgKrnlInfo_INST = $(INST_TESTCASE)
607tstRTR0DbgKrnlInfo_DEFS = IN_RT_R0
608tstRTR0DbgKrnlInfo_SYSSUFF = .r0
609tstRTR0DbgKrnlInfo_SOURCES = tstRTR0DbgKrnlInfo.cpp
610tstRTR0DbgKrnlInfo_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
611if1of ($(VBOX_LDR_FMT), pe lx)
612 tstRTR0DbgKrnlInfo_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
613endif
614tstRTR0DbgKrnlInfoDriver_TEMPLATE = VBOXR3TSTEXE
615tstRTR0DbgKrnlInfoDriver_SOURCES = tstRTR0DbgKrnlInfoDriver.cpp
616
617
618tstRTR0MemUserKernel_TEMPLATE = VBoxR0
619tstRTR0MemUserKernel_INST = $(INST_TESTCASE)
620tstRTR0MemUserKernel_DEFS = IN_RT_R0
621tstRTR0MemUserKernel_SYSSUFF = .r0
622tstRTR0MemUserKernel_SOURCES = tstRTR0MemUserKernel.cpp
623tstRTR0MemUserKernel_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
624if1of ($(VBOX_LDR_FMT), pe lx)
625 tstRTR0MemUserKernel_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
626endif
627tstRTR0MemUserKernelDriver_TEMPLATE = VBOXR3TSTEXE
628tstRTR0MemUserKernelDriver_SOURCES = tstRTR0MemUserKernelDriver.cpp
629
630
631tstRTR0SemMutex_TEMPLATE = VBoxR0
632tstRTR0SemMutex_INST = $(INST_TESTCASE)
633tstRTR0SemMutex_DEFS = IN_RT_R0
634tstRTR0SemMutex_SYSSUFF = .r0
635tstRTR0SemMutex_SOURCES = tstRTR0SemMutex.cpp
636tstRTR0SemMutex_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
637if1of ($(VBOX_LDR_FMT), pe lx)
638 tstRTR0SemMutex_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
639endif
640tstRTR0SemMutexDriver_TEMPLATE = VBOXR3TSTEXE
641tstRTR0SemMutexDriver_SOURCES = tstRTR0SemMutexDriver.cpp
642
643
644tstRTR0Timer_TEMPLATE = VBoxR0
645tstRTR0Timer_INST = $(INST_TESTCASE)
646tstRTR0Timer_DEFS = IN_RT_R0
647tstRTR0Timer_SYSSUFF = .r0
648tstRTR0Timer_SOURCES = tstRTR0Timer.cpp
649tstRTR0Timer_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
650if1of ($(VBOX_LDR_FMT), pe lx)
651 tstRTR0Timer_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
652endif
653tstRTR0TimerDriver_TEMPLATE = VBOXR3TSTEXE
654tstRTR0TimerDriver_SOURCES = tstRTR0TimerDriver.cpp
655
656
657tstR0ThreadPreemption_TEMPLATE = VBoxR0
658tstR0ThreadPreemption_INST = $(INST_TESTCASE)
659tstR0ThreadPreemption_DEFS = IN_RT_R0
660tstR0ThreadPreemption_SYSSUFF = .r0
661tstR0ThreadPreemption_SOURCES = tstR0ThreadPreemption.cpp
662tstR0ThreadPreemption_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
663if1of ($(VBOX_LDR_FMT), pe lx)
664 tstR0ThreadPreemption_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
665endif
666tstR0ThreadPreemptionDriver_TEMPLATE = VBOXR3TSTEXE
667tstR0ThreadPreemptionDriver_SOURCES = tstR0ThreadPreemptionDriver.cpp
668
669
670#
671# Odds and ends.
672#
673
674tstDarwinSched_TEMPLATE = VBOXR3TSTEXE
675tstDarwinSched_SOURCES = tstDarwinSched.cpp
676
677tstRTDarwinMachKernel_TEMPLATE = VBOXR3TSTEXE
678tstRTDarwinMachKernel_INCS = ../include
679tstRTDarwinMachKernel_SOURCES = \
680 tstRTDarwinMachKernel.cpp \
681 ../r0drv/darwin/dbgkrnlinfo-r0drv-darwin.cpp
682
683ntGetTimerResolution_SOURCES = ntGetTimerResolution.cpp
684ntGetTimerResolution_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK) VBOX_NTDLL
685
686endif # VBOX_WITH_TESTCASES
687
688include $(FILE_KBUILD_SUB_FOOTER)
689
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette