VirtualBox

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

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

Created tstRTCritSectRw from tstRTSemRW.

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