VirtualBox

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

Last change on this file since 33563 was 33563, checked in by vboxsync, 14 years ago

iprt:ministring: Added the java-style equals() and equalsIgnoreCase() as equals() can optimize the comparison by first checking if the length is the same (compare() cannot as it needs to determin the ordering). Added appendCodePoint() for UTF-8. Fixed the incorrect assumption in toUpper and toLower that the string length remained unchanged - the string might shrink as the folded code points may have a shorter encoding. Added testcase that verifies that a code point will not grow during folding and that have a stable encoding length after it has been changed in a folding.

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