VirtualBox

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

Last change on this file since 50603 was 50456, checked in by vboxsync, 11 years ago

RTNetStrToIPv6Addr: first cut at IPv6 address parsing. I'm still not
sure how to deal with zone ids properly given that RFC 4007 leaves
their syntax as "implementation dependent". Suggestions are welcome.

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