VirtualBox

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

Last change on this file since 47935 was 47765, checked in by vboxsync, 11 years ago

IPRT: Renamed testcase tstFileModeStringToFlags -> tstRTFileModeStringToFlags.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 17.7 KB
Line 
1# $Id: Makefile.kmk 47765 2013-08-15 13:23:15Z 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 tstRTFileModeStringToFlags \
67 tstFileLock \
68 tstFork \
69 tstRTHttp \
70 tstRTFsQueries \
71 tstRTFilesystem \
72 tstRTGetOpt \
73 tstRTGetOptArgv \
74 tstHandleTable \
75 tstRTHeapOffset \
76 tstRTHeapSimple \
77 tstRTInlineAsm \
78 tstIprtList \
79 tstIprtMiniString \
80 tstLdr \
81 tstLdrLoad \
82 tstRTList \
83 tstRTLockValidator \
84 tstLog \
85 tstMemAutoPtr \
86 tstRTMemEf \
87 tstRTMemCache \
88 tstRTMemPool \
89 tstRTMemWipe \
90 tstMove \
91 tstRTMp-1 \
92 tstOnce \
93 tstRTPath \
94 tstRTPipe \
95 tstRTPoll \
96 tstRTPrfIO \
97 tstRTProcCreateEx \
98 tstRTProcCreatePrf \
99 tstRTProcQueryUsername \
100 tstPrfRT \
101 tstRand \
102 tstRTReqPool \
103 tstRTSemEventMulti \
104 tstSemMutex \
105 tstSemPingPong \
106 tstRTSemRW \
107 tstRTSemXRoads \
108 tstRTSort \
109 tstRTStrAlloc \
110 tstRTStrCache \
111 tstRTStrCatCopy \
112 tstRTStrFormat \
113 tstStrSimplePattern \
114 tstStrToNum \
115 tstRTStrVersion \
116 tstRTSymlink \
117 tstRTSystemQueryDmi \
118 tstRTSystemQueryOsInfo \
119 tstRTTcp-1 \
120 tstRTTemp \
121 tstRTDirCreateUniqueNumbered \
122 tstTermCallbacks \
123 tstThread-1 \
124 tstRTThreadPoke \
125 tstRTThreadExecutionTime \
126 tstRTTime \
127 tstTime-2 \
128 tstTime-3 \
129 tstTime-4 \
130 tstTimer \
131 tstTimerLR \
132 tstRTTimeSpec \
133 tstUtf8 \
134 tstRTUuid \
135 tstRTCircBuf \
136 tstRTManifest \
137 tstRTUri \
138 tstVector
139
140PROGRAMS.win += \
141 tstRTCritSectW32 \
142 tstRTLocalIpc \
143 tstRTProcWait \
144 tstFileAppendWin-1 \
145 ntGetTimerResolution
146PROGRAMS.linux += \
147 tstRTProcWait \
148 tstRTProcIsRunningByName \
149 tstRTBitOperationsPIC3 \
150 tstRTInlineAsmPIC \
151 tstRTInlineAsmPIC3
152PROGRAMS.solaris += \
153 tstRTCoreDump
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
233tstRTHttp_TEMPLATE = VBOXR3TSTEXE
234tstRTHttp_SOURCES = tstRTHttp.cpp
235tstRTHttp_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
269tstRTFileModeStringToFlags_TEMPLATE = VBOXR3TSTEXE
270tstRTFileModeStringToFlags_SOURCES = tstRTFileModeStringToFlags.cpp
271
272tstFileAppendWin-1_TEMPLATE = VBOXR3TSTEXE
273tstFileAppendWin-1_SOURCES = tstFileAppendWin-1.cpp
274
275tstFileLock_TEMPLATE = VBOXR3TSTEXE
276tstFileLock_SOURCES = tstFileLock.cpp
277
278tstFork_TEMPLATE = VBOXR3TSTEXE
279tstFork_SOURCES = tstFork.cpp
280
281tstRTFsQueries_TEMPLATE = VBOXR3TSTEXE
282tstRTFsQueries_SOURCES = tstRTFsQueries.cpp
283
284tstRTFilesystem_TEMPLATE = VBOXR3TSTEXE
285tstRTFilesystem_SOURCES = tstRTFilesystem.cpp
286
287tstRTGetOpt_TEMPLATE = VBOXR3TSTEXE
288tstRTGetOpt_SOURCES = tstRTGetOpt.cpp
289
290tstRTGetOptArgv_TEMPLATE = VBOXR3TSTEXE
291tstRTGetOptArgv_SOURCES = tstRTGetOptArgv.cpp
292
293tstHandleTable_SOURCES = tstHandleTable.cpp
294
295tstRTHeapOffset_TEMPLATE = VBOXR3TSTEXE
296tstRTHeapOffset_SOURCES = tstRTHeapOffset.cpp
297
298tstRTHeapSimple_TEMPLATE = VBOXR3TSTEXE
299tstRTHeapSimple_SOURCES = tstRTHeapSimple.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
407tstRTLocalIpc_TEMPLATE = VBOXR3TSTEXE
408tstRTLocalIpc_SOURCES = tstRTLocalIpc.cpp
409
410tstRTLockValidator_TEMPLATE = VBOXR3TSTEXE
411tstRTLockValidator_SOURCES = tstRTLockValidator.cpp
412
413tstLog_TEMPLATE = VBOXR3TSTEXE
414tstLog_SOURCES = tstLog.cpp
415
416tstMemAutoPtr_TEMPLATE = VBOXR3TSTEXE
417tstMemAutoPtr_SOURCES = tstMemAutoPtr.cpp
418
419tstRTMemEf_TEMPLATE = VBOXR3TSTEXE
420tstRTMemEf_SOURCES = tstRTMemEf.cpp
421
422tstRTMemCache_TEMPLATE = VBOXR3TSTEXE
423tstRTMemCache_SOURCES = tstRTMemCache.cpp
424
425tstRTMemPool_TEMPLATE = VBOXR3TSTEXE
426tstRTMemPool_SOURCES = tstRTMemPool.cpp
427
428tstRTMemWipe_TEMPLATE = VBOXR3TSTEXE
429tstRTMemWipe_SOURCES = tstRTMemWipe.cpp
430
431tstMove_TEMPLATE = VBOXR3TSTEXE
432tstMove_SOURCES = tstMove.cpp
433
434tstRTMp-1_TEMPLATE = VBOXR3TSTEXE
435tstRTMp-1_SOURCES = tstRTMp-1.cpp
436
437tstNoCrt-1_TEMPLATE = VBOXR3TSTEXE
438tstNoCrt-1_DEFS = RT_WITHOUT_NOCRT_WRAPPER_ALIASES
439tstNoCrt-1_SOURCES = \
440 tstNoCrt-1.cpp \
441 ../common/string/memcpy.asm \
442 ../common/string/mempcpy.asm \
443 ../common/string/memmove.asm \
444 ../common/string/memset.asm \
445 ../common/string/memchr.asm \
446 ../common/string/memcmp.asm \
447 ../common/string/strchr.asm \
448 ../common/string/strcmp.asm \
449 ../common/string/strcpy.asm \
450 ../common/string/strlen.asm
451
452tstOnce_TEMPLATE = VBOXR3TSTEXE
453tstOnce_SOURCES = tstOnce.cpp
454
455tstRTPath_TEMPLATE = VBOXR3TSTEXE
456tstRTPath_SOURCES = tstRTPath.cpp
457
458tstRTPipe_TEMPLATE = VBOXR3TSTEXE
459tstRTPipe_SOURCES = tstRTPipe.cpp
460
461tstRTPoll_TEMPLATE = VBOXR3TSTEXE
462tstRTPoll_SOURCES = tstRTPoll.cpp
463
464tstPrfRT_TEMPLATE = VBOXR3TSTEXE
465tstPrfRT_SOURCES = tstPrfRT.cpp
466
467tstRTPrfIO_TEMPLATE = VBOXR3TSTEXE
468tstRTPrfIO_SOURCES = tstRTPrfIO.cpp
469
470tstRTProcCreateEx_TEMPLATE = VBOXR3TSTEXE
471tstRTProcCreateEx_SOURCES = tstRTProcCreateEx.cpp
472
473tstRTProcCreatePrf_TEMPLATE = VBOXR3TSTEXE
474tstRTProcCreatePrf_SOURCES = tstRTProcCreatePrf.cpp
475
476tstRTProcQueryUsername_TEMPLATE = VBOXR3TSTEXE
477tstRTProcQueryUsername_SOURCES = tstRTProcQueryUsername.cpp
478
479tstRTProcWait_TEMPLATE = VBOXR3TSTEXE
480tstRTProcWait_SOURCES = tstRTProcWait.cpp
481
482tstRTProcIsRunningByName_TEMPLATE = VBOXR3TSTEXE
483tstRTProcIsRunningByName_SOURCES = tstRTProcIsRunningByName.cpp
484
485tstRand_TEMPLATE = VBOXR3TSTEXE
486tstRand_SOURCES = tstRand.cpp
487
488tstRTReqPool_TEMPLATE = VBOXR3TSTEXE
489tstRTReqPool_SOURCES = tstRTReqPool.cpp
490
491tstRTS3_TEMPLATE = VBOXR3TSTEXE
492tstRTS3_SOURCES = tstRTS3.cpp
493
494tstSemMutex_TEMPLATE = VBOXR3TSTEXE
495tstSemMutex_SOURCES = tstSemMutex.cpp
496
497tstRTSemEventMulti_TEMPLATE = VBOXR3TSTEXE
498tstRTSemEventMulti_SOURCES = tstRTSemEventMulti.cpp
499
500tstRTSemRW_TEMPLATE = VBOXR3TSTEXE
501tstRTSemRW_SOURCES = tstRTSemRW.cpp
502
503tstSemPingPong_TEMPLATE = VBOXR3TSTEXE
504tstSemPingPong_SOURCES = tstSemPingPong.cpp
505
506tstRTSemXRoads_TEMPLATE = VBOXR3TSTEXE
507tstRTSemXRoads_SOURCES = tstRTSemXRoads.cpp
508
509tstRTSort_TEMPLATE = VBOXR3TSTEXE
510tstRTSort_SOURCES = tstRTSort.cpp
511
512tstRTStrAlloc_TEMPLATE = VBOXR3TSTEXE
513tstRTStrAlloc_SOURCES = tstRTStrAlloc.cpp
514
515tstRTStrCache_TEMPLATE = VBOXR3TSTEXE
516tstRTStrCache_SOURCES = tstRTStrCache.cpp
517
518tstRTStrCatCopy_TEMPLATE = VBOXR3TSTEXE
519tstRTStrCatCopy_SOURCES = tstRTStrCatCopy.cpp
520
521tstRTStrFormat_TEMPLATE = VBOXR3TSTEXE
522tstRTStrFormat_SOURCES = tstRTStrFormat.cpp
523
524tstStrSimplePattern_TEMPLATE = VBOXR3TSTEXE
525tstStrSimplePattern_SOURCES = tstStrSimplePattern.cpp
526
527tstStrToNum_TEMPLATE = VBOXR3TSTEXE
528tstStrToNum_SOURCES = tstStrToNum.cpp
529
530tstRTStrVersion_TEMPLATE = VBOXR3TSTEXE
531tstRTStrVersion_SOURCES = tstRTStrVersion.cpp
532
533tstRTSymlink_TEMPLATE = VBOXR3TSTEXE
534tstRTSymlink_SOURCES = tstRTSymlink.cpp
535
536tstRTSystemQueryDmi_TEMPLATE = VBOXR3TSTEXE
537tstRTSystemQueryDmi_SOURCES = tstRTSystemQueryDmi.cpp
538
539tstRTSystemQueryOsInfo_TEMPLATE = VBOXR3TSTEXE
540tstRTSystemQueryOsInfo_SOURCES = tstRTSystemQueryOsInfo.cpp
541
542tstRTTcp-1_TEMPLATE = VBOXR3TSTEXE
543tstRTTcp-1_SOURCES = tstRTTcp-1.cpp
544
545tstRTTemp_TEMPLATE = VBOXR3TSTEXE
546tstRTTemp_SOURCES = tstRTTemp.cpp
547
548tstRTDirCreateUniqueNumbered_TEMPLATE = VBOXR3TSTEXE
549tstRTDirCreateUniqueNumbered_SOURCES = tstRTDirCreateUniqueNumbered.cpp
550
551tstTermCallbacks_TEMPLATE = VBOXR3TSTEXE
552tstTermCallbacks_SOURCES = tstTermCallbacks.cpp
553
554tstThread-1_TEMPLATE = VBOXR3TSTEXE
555tstThread-1_SOURCES = tstThread-1.cpp
556
557tstRTThreadPoke_TEMPLATE = VBOXR3TSTEXE
558tstRTThreadPoke_SOURCES = tstRTThreadPoke.cpp
559
560tstRTThreadExecutionTime_TEMPLATE = VBOXR3TSTEXE
561tstRTThreadExecutionTime_SOURCES = tstRTThreadExecutionTime.cpp
562
563tstRTTime_TEMPLATE = VBOXR3TSTEXE
564tstRTTime_SOURCES = tstRTTime.cpp
565
566tstTime-2_TEMPLATE = VBOXR3TSTEXE
567tstTime-2_SOURCES = tstTime-2.cpp
568
569tstTime-3_TEMPLATE = VBOXR3TSTEXE
570tstTime-3_SOURCES = tstTime-3.cpp
571
572tstTime-4_TEMPLATE = VBOXR3TSTEXE
573tstTime-4_SOURCES = tstTime-4.cpp
574
575tstTimer_TEMPLATE = VBOXR3TSTEXE
576tstTimer_SOURCES = tstTimer.cpp
577
578tstTimerLR_TEMPLATE = VBOXR3TSTEXE
579tstTimerLR_SOURCES = tstTimerLR.cpp
580
581tstRTTimeSpec_TEMPLATE = VBOXR3TSTEXE
582tstRTTimeSpec_SOURCES = tstRTTimeSpec.cpp
583
584tstTSC_SOURCES = tstTSC.cpp
585tstTSC_CXXFLAGS.linux += -O3
586
587tstRTUuid_TEMPLATE = VBOXR3TSTEXE
588tstRTUuid_SOURCES = tstRTUuid.cpp
589
590tstUtf8_TEMPLATE = VBOXR3TSTEXE
591tstUtf8_SOURCES = tstUtf8.cpp
592
593tstRTCircBuf_TEMPLATE = VBOXR3TSTEXE
594tstRTCircBuf_SOURCES = tstRTCircBuf.cpp
595
596tstRTManifest_TEMPLATE = VBOXR3TSTEXE
597tstRTManifest_SOURCES = tstRTManifest.cpp
598
599tstRTUri_TEMPLATE = VBOXR3TSTEXE
600tstRTUri_SOURCES = tstRTUri.cpp
601
602tstRTCoreDump_TEMPLACE = VBOXR3TSTEXE
603tstRTCoreDump_SOURCES = tstRTCoreDump.cpp
604
605tstVector_TEMPLATE = VBOXR3TSTEXE
606tstVector_SOURCES = tstVector.cpp
607
608
609#
610# Ring-0 testcases.
611#
612
613## @todo create a template for compiling the ring-0 part.
614tstRTR0DbgKrnlInfo_TEMPLATE = VBoxR0
615tstRTR0DbgKrnlInfo_INST = $(INST_TESTCASE)
616tstRTR0DbgKrnlInfo_DEFS = IN_RT_R0
617tstRTR0DbgKrnlInfo_SYSSUFF = .r0
618tstRTR0DbgKrnlInfo_SOURCES = tstRTR0DbgKrnlInfo.cpp
619tstRTR0DbgKrnlInfo_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
620if1of ($(VBOX_LDR_FMT), pe lx)
621 tstRTR0DbgKrnlInfo_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
622endif
623tstRTR0DbgKrnlInfoDriver_TEMPLATE = VBOXR3TSTEXE
624tstRTR0DbgKrnlInfoDriver_SOURCES = tstRTR0DbgKrnlInfoDriver.cpp
625
626
627tstRTR0MemUserKernel_TEMPLATE = VBoxR0
628tstRTR0MemUserKernel_INST = $(INST_TESTCASE)
629tstRTR0MemUserKernel_DEFS = IN_RT_R0
630tstRTR0MemUserKernel_SYSSUFF = .r0
631tstRTR0MemUserKernel_SOURCES = tstRTR0MemUserKernel.cpp
632tstRTR0MemUserKernel_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
633if1of ($(VBOX_LDR_FMT), pe lx)
634 tstRTR0MemUserKernel_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
635endif
636tstRTR0MemUserKernelDriver_TEMPLATE = VBOXR3TSTEXE
637tstRTR0MemUserKernelDriver_SOURCES = tstRTR0MemUserKernelDriver.cpp
638
639
640tstRTR0SemMutex_TEMPLATE = VBoxR0
641tstRTR0SemMutex_INST = $(INST_TESTCASE)
642tstRTR0SemMutex_DEFS = IN_RT_R0
643tstRTR0SemMutex_SYSSUFF = .r0
644tstRTR0SemMutex_SOURCES = tstRTR0SemMutex.cpp
645tstRTR0SemMutex_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
646if1of ($(VBOX_LDR_FMT), pe lx)
647 tstRTR0SemMutex_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
648endif
649tstRTR0SemMutexDriver_TEMPLATE = VBOXR3TSTEXE
650tstRTR0SemMutexDriver_SOURCES = tstRTR0SemMutexDriver.cpp
651
652
653tstRTR0Timer_TEMPLATE = VBoxR0
654tstRTR0Timer_INST = $(INST_TESTCASE)
655tstRTR0Timer_DEFS = IN_RT_R0
656tstRTR0Timer_SYSSUFF = .r0
657tstRTR0Timer_SOURCES = tstRTR0Timer.cpp
658tstRTR0Timer_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
659if1of ($(VBOX_LDR_FMT), pe lx)
660 tstRTR0Timer_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
661endif
662tstRTR0TimerDriver_TEMPLATE = VBOXR3TSTEXE
663tstRTR0TimerDriver_SOURCES = tstRTR0TimerDriver.cpp
664
665
666tstR0ThreadPreemption_TEMPLATE = VBoxR0
667tstR0ThreadPreemption_INST = $(INST_TESTCASE)
668tstR0ThreadPreemption_DEFS = IN_RT_R0
669tstR0ThreadPreemption_SYSSUFF = .r0
670tstR0ThreadPreemption_SOURCES = tstR0ThreadPreemption.cpp
671tstR0ThreadPreemption_LIBS = $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
672if1of ($(VBOX_LDR_FMT), pe lx)
673 tstR0ThreadPreemption_LIBS += $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
674endif
675tstR0ThreadPreemptionDriver_TEMPLATE = VBOXR3TSTEXE
676tstR0ThreadPreemptionDriver_SOURCES = tstR0ThreadPreemptionDriver.cpp
677
678
679#
680# Odds and ends.
681#
682
683tstDarwinSched_TEMPLATE = VBOXR3TSTEXE
684tstDarwinSched_SOURCES = tstDarwinSched.cpp
685
686tstRTDarwinMachKernel_TEMPLATE = VBOXR3TSTEXE
687tstRTDarwinMachKernel_INCS = ../include
688tstRTDarwinMachKernel_SOURCES = \
689 tstRTDarwinMachKernel.cpp \
690 ../r0drv/darwin/dbgkrnlinfo-r0drv-darwin.cpp
691
692ntGetTimerResolution_SOURCES = ntGetTimerResolution.cpp
693ntGetTimerResolution_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK) VBOX_NTDLL
694
695endif # VBOX_WITH_TESTCASES
696
697include $(FILE_KBUILD_SUB_FOOTER)
698
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