- 時間撮記:
- 2023-2-1 下午04:17:58 (2 年 以前)
- svn:sync-xref-src-repo-rev:
- 155653
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Runtime/testcase/Makefile.kmk
r98307 r98409 40 40 ifdef VBOX_WITH_TESTCASES # The whole file 41 41 42 # 43 # Include the Validation Kit configuration to make use of build templates needed 44 # for testcases to be included on the Validation Kit .ISO. 45 # 46 ifdef VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING 47 ifndef VBOX_VALIDATIONKIT_CONFIG_KMK_INCLUDED 48 include $(PATH_ROOT)/src/VBox/ValidationKit/Config.kmk 49 endif 50 endif 51 52 53 # 54 # Globals 55 # 56 # WARNING: Careful with this wrt to the other sub-makefiles this joins. 57 # 58 TEMPLATE = VBoxR3TstExe 59 60 # Defined by the parent makefile as well (for errmsgdata.h). 61 IPRT_OUT_DIR ?= $(PATH_TARGET)/Runtime 62 63 64 # 65 # Target lists 66 # 67 ifndef VBOX_ONLY_VALIDATIONKIT 68 PROGRAMS += \ 69 tstRTAssertCompile \ 70 tstRTAvl \ 71 tstRTBase64 \ 72 tstRTBitOperations \ 73 tstRTBigNum \ 74 tstRTCidr \ 75 tstRTCritSect \ 76 tstRTCritSectRw \ 77 tstRTCrPkix-1 \ 78 tstRTCrX509-1 \ 79 tstRTCType \ 80 tstRTDigest \ 81 tstRTDigest-2 \ 82 tstDir \ 83 tstDir-2 \ 84 tstDir-3 \ 85 tstRTDvm \ 86 tstRTEnv \ 87 tstRTErr-1 \ 88 tstFile \ 89 tstRTFileAio \ 90 tstRTFileAppend-1 \ 91 tstRTFileQuerySize-1 \ 92 tstRTFileModeStringToFlags \ 93 tstFileLock \ 94 tstRTFileOpenEx-1 \ 95 tstFork \ 96 tstRTFsQueries \ 97 tstRTFilesystem \ 98 tstRTExprEval\ 99 tstRTGetOpt \ 100 tstRTGetOptArgv \ 101 tstHandleTable \ 102 tstRTHeapOffset \ 103 tstRTHeapSimple \ 104 tstRTInlineAsm \ 105 tstIprtList \ 106 tstIprtMiniList \ 107 tstIprtMiniString \ 108 tstLdr \ 109 tstLdrLoad \ 110 tstRTLocalIpc \ 111 tstRTLdrVerifyPeImage \ 112 tstRTList \ 113 tstRTLockValidator \ 114 tstLog \ 115 tstRTMath \ 116 tstRTMemEf \ 117 tstRTMemCache \ 118 tstRTMemPool \ 119 tstRTMemWipe \ 120 tstRTMemSafer \ 121 tstMove \ 122 tstRTMp-1 \ 123 tstRTNetIPv4 \ 124 tstRTNetIPv6 \ 125 tstOnce \ 126 tstRTPath \ 127 tstRTPathGlob \ 128 tstRTPathQueryInfo \ 129 tstRTPipe \ 130 tstRTPoll \ 131 tstRTPrfIO \ 132 tstRTProcCreateEx \ 133 tstRTProcCreatePrf \ 134 tstRTProcQueryUsername \ 135 tstPrfRT \ 136 tstRand \ 137 tstRTReqPool \ 138 tstRTSemEvent \ 139 tstRTSemEventMulti \ 140 tstSemMutex \ 141 tstSemPingPong \ 142 tstRTSemRW \ 143 tstRTSemXRoads \ 144 tstRTSort \ 145 tstRTStrAlloc \ 146 tstRTStrCache \ 147 tstRTStrCatCopy \ 148 tstRTStrFormat \ 149 tstRTStrSplit \ 150 tstRTStrSimplePattern \ 151 tstStrToNum \ 152 tstRTStrVersion \ 153 tstRTSymlink \ 154 tstRTSystemQueryDmi \ 155 tstRTSystemQueryFirmware \ 156 tstRTSystemQueryOsInfo \ 157 tstRTTcp-1 \ 158 tstRTTemp \ 159 tstRTDirCreateUniqueNumbered \ 160 tstTermCallbacks \ 161 tstThread-1 \ 162 tstRTThreadPoke \ 163 tstRTThreadExecutionTime \ 164 tstRTTime \ 165 tstTime-2 \ 166 tstTime-3 \ 167 tstTime-4 \ 168 tstTimer \ 169 tstRTTimerLR \ 170 tstRTTimeSpec \ 171 tstRTTls-1 \ 172 tstRTTraceLog \ 173 tstRTUdp-1 \ 174 tstUtf8 \ 175 tstRTUuid \ 176 tstRTCircBuf \ 177 tstRTManifest \ 178 tstRTUri \ 179 tstVector \ 180 tstRTVfs \ 181 tstRTZip \ 182 tstRTJson \ 183 tstRTShMem 184 185 PROGRAMS.win += \ 186 tstRTCritSectW32 \ 187 tstRTProcWait \ 188 tstFileAppendWin-1 \ 189 tstRTNtPath-1 \ 190 ntGetTimerResolution \ 191 tstRTDarwinMachKernel 192 193 PROGRAMS.linux += \ 194 tstRTProcWait \ 195 tstRTProcIsRunningByName \ 196 tstRTBitOperationsPIC3 \ 197 tstRTInlineAsmPIC \ 198 tstRTInlineAsmPIC3 199 PROGRAMS.solaris += \ 200 tstRTCoreDump 201 PROGRAMS.darwin += \ 202 tstDarwinSched \ 203 tstRTDarwinMachKernel 204 ifdef VBOX_WITH_LIBCURL 42 # 43 # Include the Validation Kit configuration to make use of build templates needed 44 # for testcases to be included on the Validation Kit .ISO. 45 # 46 ifdef VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING 47 ifndef VBOX_VALIDATIONKIT_CONFIG_KMK_INCLUDED 48 include $(PATH_ROOT)/src/VBox/ValidationKit/Config.kmk 49 endif 50 endif 51 52 53 # 54 # Globals 55 # 56 # WARNING: Careful with this wrt to the other sub-makefiles this joins. 57 # 58 TEMPLATE = VBoxR3TstExe 59 60 # Defined by the parent makefile as well (for errmsgdata.h). 61 IPRT_OUT_DIR ?= $(PATH_TARGET)/Runtime 62 63 64 # 65 # Target lists 66 # 67 ifndef VBOX_ONLY_VALIDATIONKIT 205 68 PROGRAMS += \ 206 tstRTHttp-1 \ 207 tstRTCRest-1 208 endif 209 210 if1of ($(KBUILD_TARGET_ARCH), x86 amd64) 211 PROGRAMS += \ 212 tstNoCrt-1 213 if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), win.amd64) ## Build and test x86 too! 214 PROGRAMS += tstRTNoCrt-2 215 endif 216 if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), win.x86 win.amd64) 217 PROGRAMS += tstRTNoCrt-3 tstRTNoCrt-3r tstRTNoCrt-4 218 endif 219 endif 220 221 if defined(VBOX_WITH_R0_MODULES) 222 PROGRAMS += \ 223 tstLdr-2 \ 224 tstLdr-3 \ 225 tstLdr-4 \ 226 tstTSC 227 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 69 tstRTAssertCompile \ 70 tstRTAvl \ 71 tstRTBase64 \ 72 tstRTBitOperations \ 73 tstRTBigNum \ 74 tstRTCidr \ 75 tstRTCritSect \ 76 tstRTCritSectRw \ 77 tstRTCrPkix-1 \ 78 tstRTCrX509-1 \ 79 tstRTCType \ 80 tstRTDigest \ 81 tstRTDigest-2 \ 82 tstDir \ 83 tstDir-2 \ 84 tstDir-3 \ 85 tstRTDvm \ 86 tstRTEnv \ 87 tstRTErr-1 \ 88 tstFile \ 89 tstRTFileAio \ 90 tstRTFileAppend-1 \ 91 tstRTFileQuerySize-1 \ 92 tstRTFileModeStringToFlags \ 93 tstFileLock \ 94 tstRTFileOpenEx-1 \ 95 tstFork \ 96 tstRTFsQueries \ 97 tstRTFilesystem \ 98 tstRTExprEval \ 99 tstRTGetOpt \ 100 tstRTGetOptArgv \ 101 tstHandleTable \ 102 tstRTHeapOffset \ 103 tstRTHeapSimple \ 104 tstRTInlineAsm \ 105 tstIprtList \ 106 tstIprtMiniList \ 107 tstIprtMiniString \ 108 tstLdr \ 109 tstLdrLoad \ 110 tstRTLocalIpc \ 111 tstRTLdrVerifyPeImage \ 112 tstRTList \ 113 tstRTLockValidator \ 114 tstLog \ 115 tstRTMath \ 116 tstRTMemEf \ 117 tstRTMemCache \ 118 tstRTMemPool \ 119 tstRTMemWipe \ 120 tstRTMemSafer \ 121 tstMove \ 122 tstRTMp-1 \ 123 tstRTNetIPv4 \ 124 tstRTNetIPv6 \ 125 tstOnce \ 126 tstRTPath \ 127 tstRTPathGlob \ 128 tstRTPathQueryInfo \ 129 tstRTPipe \ 130 tstRTPoll \ 131 tstRTPrfIO \ 132 tstRTProcCreateEx \ 133 tstRTProcCreatePrf \ 134 tstRTProcQueryUsername \ 135 tstPrfRT \ 136 tstRand \ 137 tstRTReqPool \ 138 tstRTSemEvent \ 139 tstRTSemEventMulti \ 140 tstSemMutex \ 141 tstSemPingPong \ 142 tstRTSemRW \ 143 tstRTSemXRoads \ 144 tstRTSort \ 145 tstRTStrAlloc \ 146 tstRTStrCache \ 147 tstRTStrCatCopy \ 148 tstRTStrFormat \ 149 tstRTStrSplit \ 150 tstRTStrSimplePattern \ 151 tstStrToNum \ 152 tstRTStrVersion \ 153 tstRTSymlink \ 154 tstRTSystemQueryDmi \ 155 tstRTSystemQueryFirmware \ 156 tstRTSystemQueryOsInfo \ 157 tstRTTcp-1 \ 158 tstRTTemp \ 159 tstRTDirCreateUniqueNumbered \ 160 tstTermCallbacks \ 161 tstThread-1 \ 162 tstRTThreadPoke \ 163 tstRTThreadExecutionTime \ 164 tstRTTime \ 165 tstTime-2 \ 166 tstTime-3 \ 167 tstTime-4 \ 168 tstTimer \ 169 tstRTTimerLR \ 170 tstRTTimeSpec \ 171 tstRTTls-1 \ 172 tstRTTraceLog \ 173 tstRTUdp-1 \ 174 tstUtf8 \ 175 tstRTUuid \ 176 tstRTCircBuf \ 177 tstRTManifest \ 178 tstRTUri \ 179 tstVector \ 180 tstRTVfs \ 181 tstRTZip \ 182 tstRTJson \ 183 tstRTShMem 184 185 PROGRAMS.win += \ 186 tstRTCritSectW32 \ 187 tstRTProcWait \ 188 tstFileAppendWin-1 \ 189 tstRTNtPath-1 \ 190 ntGetTimerResolution \ 191 tstRTDarwinMachKernel 192 193 PROGRAMS.linux += \ 194 tstRTProcWait \ 195 tstRTProcIsRunningByName \ 196 tstRTBitOperationsPIC3 \ 197 tstRTInlineAsmPIC \ 198 tstRTInlineAsmPIC3 199 PROGRAMS.solaris += \ 200 tstRTCoreDump 201 PROGRAMS.darwin += \ 202 tstDarwinSched \ 203 tstRTDarwinMachKernel 204 ifdef VBOX_WITH_LIBCURL 228 205 PROGRAMS += \ 229 tstRTR0MemUserKernelDriverHardened \ 230 tstRTR0SemMutexDriverHardened \ 231 tstRTR0TimerDriverHardened \ 232 tstRTR0ThreadPreemptionDriverHardened \ 233 tstRTR0ThreadDriverHardened 234 DLLS += \ 235 tstRTR0MemUserKernelDriver \ 236 tstRTR0SemMutexDriver \ 237 tstRTR0TimerDriver \ 238 tstRTR0ThreadPreemptionDriver \ 239 tstRTR0ThreadDriver 240 else 206 tstRTHttp-1 \ 207 tstRTCRest-1 208 endif 209 210 if1of ($(KBUILD_TARGET_ARCH), x86 amd64) 241 211 PROGRAMS += \ 242 tstRTR0MemUserKernelDriver \ 243 tstRTR0SemMutexDriver \ 244 tstRTR0TimerDriver \ 245 tstRTR0ThreadPreemptionDriver \ 246 tstRTR0ThreadDriver 247 endif 248 if1of ($(KBUILD_TARGET_ARCH), $(VBOX_SUPPORTED_HOST_ARCHS)) 212 tstNoCrt-1 213 if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), win.amd64) ## Build and test x86 too! 214 PROGRAMS += tstRTNoCrt-2 215 endif 216 if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), win.x86 win.amd64) 217 PROGRAMS += tstRTNoCrt-3 tstRTNoCrt-3r tstRTNoCrt-4 218 endif 219 endif 220 221 if defined(VBOX_WITH_R0_MODULES) 222 PROGRAMS += \ 223 tstLdr-2 \ 224 tstLdr-3 \ 225 tstLdr-4 \ 226 tstTSC 227 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 228 PROGRAMS += \ 229 tstRTR0MemUserKernelDriverHardened \ 230 tstRTR0SemMutexDriverHardened \ 231 tstRTR0TimerDriverHardened \ 232 tstRTR0ThreadPreemptionDriverHardened \ 233 tstRTR0ThreadDriverHardened 234 DLLS += \ 235 tstRTR0MemUserKernelDriver \ 236 tstRTR0SemMutexDriver \ 237 tstRTR0TimerDriver \ 238 tstRTR0ThreadPreemptionDriver \ 239 tstRTR0ThreadDriver 240 else 241 PROGRAMS += \ 242 tstRTR0MemUserKernelDriver \ 243 tstRTR0SemMutexDriver \ 244 tstRTR0TimerDriver \ 245 tstRTR0ThreadPreemptionDriver \ 246 tstRTR0ThreadDriver 247 endif 248 if1of ($(KBUILD_TARGET_ARCH), $(VBOX_SUPPORTED_HOST_ARCHS)) 249 $(if-expr defined(VBOX_WITH_VBOXR0_AS_DLL),DLLS,SYSMODS) += \ 250 tstLdrObjR0 251 ifdef VBOX_WITH_RAW_MODE 252 SYSMODS += tstLdrObj 253 endif 254 endif 249 255 $(if-expr defined(VBOX_WITH_VBOXR0_AS_DLL),DLLS,SYSMODS) += \ 250 tstLdrObjR0 251 ifdef VBOX_WITH_RAW_MODE 252 SYSMODS += tstLdrObj 253 endif 254 endif 255 $(if-expr defined(VBOX_WITH_VBOXR0_AS_DLL),DLLS,SYSMODS) += \ 256 tstRTR0MemUserKernel \ 257 tstRTR0SemMutex \ 258 tstRTR0Timer \ 259 tstRTR0ThreadPreemption \ 260 tstRTR0Thread 261 if1of ($(KBUILD_TARGET), solaris darwin) 262 PROGRAMS += tstRTR0DbgKrnlInfoDriver 263 $(if-expr defined(VBOX_WITH_VBOXR0_AS_DLL),DLLS,SYSMODS) += tstRTR0DbgKrnlInfo 264 endif # VBOX_SUPPORTED_HOST_ARCHS only 265 266 endif 267 if1of ($(VBOX_LDR_FMT)), lx pe) 268 LIBRARIES += \ 269 tstLdr-4Imp 270 endif 271 272 endif # !VBOX_ONLY_VALIDATIONKIT 273 274 275 # 276 # Target configs in almost alphabetical order. 277 # 278 279 tstRTAssertCompile_TEMPLATE = VBoxR3TstExe 280 tstRTAssertCompile_INSTTYPE = none 281 tstRTAssertCompile_SOURCES = tstRTAssertCompile.cpp 282 283 tstRTAvl_TEMPLATE = VBoxR3TstExe 284 tstRTAvl_SOURCES = tstRTAvl.cpp 285 286 tstRTBase64_TEMPLATE = VBoxR3TstExe 287 tstRTBase64_SOURCES = tstRTBase64.cpp 288 289 tstRTBigNum_TEMPLATE = VBoxR3TstExe 290 tstRTBigNum_SOURCES = tstRTBigNum.cpp 291 tstRTBigNum_SDKS = VBoxOpenSsl 292 tstRTBigNum_CXXFLAGS.win = -bigobj 293 294 tstRTBitOperations_TEMPLATE = VBoxR3TstExe 295 tstRTBitOperations_SOURCES = tstRTBitOperations.cpp 296 297 tstRTBitOperationsPIC3_TEMPLATE = VBoxR3TstExe 298 tstRTBitOperationsPIC3_SOURCES = tstRTBitOperations.cpp 299 tstRTBitOperationsPIC3_CXXFLAGS = -fPIC -fomit-frame-pointer -O3 300 tstRTBitOperationsPIC3_DEFS = PIC 301 302 tstRTCidr_TEMPLATE = VBoxR3TstExe 303 tstRTCidr_SOURCES = tstRTCidr.cpp 304 305 tstRTCritSect_TEMPLATE = VBoxR3TstExe 306 tstRTCritSect_SOURCES = tstRTCritSect.cpp 307 308 tstRTCritSectRw_TEMPLATE = VBoxR3TstExe 309 tstRTCritSectRw_SOURCES = tstRTCritSectRw.cpp 310 311 tstRTCritSectW32_TEMPLATE = VBoxR3TstExe 312 tstRTCritSectW32_SOURCES = tstRTCritSect.cpp 313 tstRTCritSectW32_DEFS = TRY_WIN32_CRIT 314 315 tstRTCrPkix-1_TEMPLATE = VBoxR3TstExe 316 tstRTCrPkix-1_SOURCES = tstRTCrPkix-1.cpp 317 318 ifndef VBOX_ONLY_VALIDATIONKIT 319 tstRTCrX509-1_TEMPLATE = VBoxR3TstExe 320 tstRTCrX509-1_SOURCES = tstRTCrX509-1.cpp 321 tstRTCrX509-1_INCS = $(tstRTCrX509-1_0_OUTDIR) 322 tstRTCrX509-1_CLEAN = $(tstRTCrX509-1_0_OUTDIR)/tstRTCrX509-1.h 323 tstRTCrX509-1_INTERMEDIATES = $(tstRTCrX509-1_0_OUTDIR)/tstRTCrX509-1.h 324 tstRTCrX509-1_VBOX_FILES := \ 325 Pem_md4=$(PATH_SUB_CURRENT)/tstRTCrX509-md4.pem \ 326 Pem_md5=$(PATH_SUB_CURRENT)/tstRTCrX509-md5.pem \ 327 Pem_sha1=$(PATH_SUB_CURRENT)/tstRTCrX509-sha1.pem \ 328 Pem_sha224=$(PATH_SUB_CURRENT)/tstRTCrX509-sha224.pem \ 329 Pem_sha256=$(PATH_SUB_CURRENT)/tstRTCrX509-sha256.pem \ 330 Pem_sha384=$(PATH_SUB_CURRENT)/tstRTCrX509-sha384.pem \ 331 Pem_sha512=$(PATH_SUB_CURRENT)/tstRTCrX509-sha512.pem \ 332 Pem_cert1=$(PATH_SUB_CURRENT)/tstRTCrX509-cert1.pem \ 333 \ 334 Der_md4=$(PATH_SUB_CURRENT)/tstRTCrX509-md4-cert.der \ 335 Der_md5=$(PATH_SUB_CURRENT)/tstRTCrX509-md5-cert.der \ 336 Der_sha1=$(PATH_SUB_CURRENT)/tstRTCrX509-sha1-cert.der \ 337 Der_sha224=$(PATH_SUB_CURRENT)/tstRTCrX509-sha224-cert.der \ 338 Der_sha256=$(PATH_SUB_CURRENT)/tstRTCrX509-sha256-cert.der \ 339 Der_sha384=$(PATH_SUB_CURRENT)/tstRTCrX509-sha384-cert.der \ 340 Der_sha512=$(PATH_SUB_CURRENT)/tstRTCrX509-sha512-cert.der \ 341 Der_cert1=$(PATH_SUB_CURRENT)/tstRTCrX509-cert1.der \ 342 $(NO_SUCH_VARIABLE) 343 $$(tstRTCrX509-1_0_OUTDIR)/tstRTCrX509-1.h: \ 344 $(foreach file,$(tstRTCrX509-1_VBOX_FILES),$(lastword $(subst =,$(SP) ,$(file)))) \ 345 $(VBOX_BIN2C) \ 346 | $$(dir $$@) 256 tstRTR0MemUserKernel \ 257 tstRTR0SemMutex \ 258 tstRTR0Timer \ 259 tstRTR0ThreadPreemption \ 260 tstRTR0Thread 261 if1of ($(KBUILD_TARGET), solaris darwin) 262 PROGRAMS += tstRTR0DbgKrnlInfoDriver 263 $(if-expr defined(VBOX_WITH_VBOXR0_AS_DLL),DLLS,SYSMODS) += tstRTR0DbgKrnlInfo 264 endif # VBOX_SUPPORTED_HOST_ARCHS only 265 266 endif 267 if1of ($(VBOX_LDR_FMT)), lx pe) 268 LIBRARIES += \ 269 tstLdr-4Imp 270 endif 271 272 endif # !VBOX_ONLY_VALIDATIONKIT 273 274 275 # 276 # Target configs in almost alphabetical order. 277 # 278 279 tstRTAssertCompile_TEMPLATE = VBoxR3TstExe 280 tstRTAssertCompile_INSTTYPE = none 281 tstRTAssertCompile_SOURCES = tstRTAssertCompile.cpp 282 283 tstRTAvl_TEMPLATE = VBoxR3TstExe 284 tstRTAvl_SOURCES = tstRTAvl.cpp 285 286 tstRTBase64_TEMPLATE = VBoxR3TstExe 287 tstRTBase64_SOURCES = tstRTBase64.cpp 288 289 tstRTBigNum_TEMPLATE = VBoxR3TstExe 290 tstRTBigNum_SOURCES = tstRTBigNum.cpp 291 tstRTBigNum_SDKS = VBoxOpenSsl 292 tstRTBigNum_CXXFLAGS.win = -bigobj 293 294 tstRTBitOperations_TEMPLATE = VBoxR3TstExe 295 tstRTBitOperations_SOURCES = tstRTBitOperations.cpp 296 297 tstRTBitOperationsPIC3_TEMPLATE = VBoxR3TstExe 298 tstRTBitOperationsPIC3_SOURCES = tstRTBitOperations.cpp 299 tstRTBitOperationsPIC3_CXXFLAGS = -fPIC -fomit-frame-pointer -O3 300 tstRTBitOperationsPIC3_DEFS = PIC 301 302 tstRTCidr_TEMPLATE = VBoxR3TstExe 303 tstRTCidr_SOURCES = tstRTCidr.cpp 304 305 tstRTCritSect_TEMPLATE = VBoxR3TstExe 306 tstRTCritSect_SOURCES = tstRTCritSect.cpp 307 308 tstRTCritSectRw_TEMPLATE = VBoxR3TstExe 309 tstRTCritSectRw_SOURCES = tstRTCritSectRw.cpp 310 311 tstRTCritSectW32_TEMPLATE = VBoxR3TstExe 312 tstRTCritSectW32_SOURCES = tstRTCritSect.cpp 313 tstRTCritSectW32_DEFS = TRY_WIN32_CRIT 314 315 tstRTCrPkix-1_TEMPLATE = VBoxR3TstExe 316 tstRTCrPkix-1_SOURCES = tstRTCrPkix-1.cpp 317 318 ifndef VBOX_ONLY_VALIDATIONKIT 319 tstRTCrX509-1_TEMPLATE = VBoxR3TstExe 320 tstRTCrX509-1_SOURCES = tstRTCrX509-1.cpp 321 tstRTCrX509-1_INCS = $(tstRTCrX509-1_0_OUTDIR) 322 tstRTCrX509-1_CLEAN = $(tstRTCrX509-1_0_OUTDIR)/tstRTCrX509-1.h 323 tstRTCrX509-1_INTERMEDIATES = $(tstRTCrX509-1_0_OUTDIR)/tstRTCrX509-1.h 324 tstRTCrX509-1_VBOX_FILES := \ 325 Pem_md4=$(PATH_SUB_CURRENT)/tstRTCrX509-md4.pem \ 326 Pem_md5=$(PATH_SUB_CURRENT)/tstRTCrX509-md5.pem \ 327 Pem_sha1=$(PATH_SUB_CURRENT)/tstRTCrX509-sha1.pem \ 328 Pem_sha224=$(PATH_SUB_CURRENT)/tstRTCrX509-sha224.pem \ 329 Pem_sha256=$(PATH_SUB_CURRENT)/tstRTCrX509-sha256.pem \ 330 Pem_sha384=$(PATH_SUB_CURRENT)/tstRTCrX509-sha384.pem \ 331 Pem_sha512=$(PATH_SUB_CURRENT)/tstRTCrX509-sha512.pem \ 332 Pem_cert1=$(PATH_SUB_CURRENT)/tstRTCrX509-cert1.pem \ 333 \ 334 Der_md4=$(PATH_SUB_CURRENT)/tstRTCrX509-md4-cert.der \ 335 Der_md5=$(PATH_SUB_CURRENT)/tstRTCrX509-md5-cert.der \ 336 Der_sha1=$(PATH_SUB_CURRENT)/tstRTCrX509-sha1-cert.der \ 337 Der_sha224=$(PATH_SUB_CURRENT)/tstRTCrX509-sha224-cert.der \ 338 Der_sha256=$(PATH_SUB_CURRENT)/tstRTCrX509-sha256-cert.der \ 339 Der_sha384=$(PATH_SUB_CURRENT)/tstRTCrX509-sha384-cert.der \ 340 Der_sha512=$(PATH_SUB_CURRENT)/tstRTCrX509-sha512-cert.der \ 341 Der_cert1=$(PATH_SUB_CURRENT)/tstRTCrX509-cert1.der \ 342 $(NO_SUCH_VARIABLE) 343 $$(tstRTCrX509-1_0_OUTDIR)/tstRTCrX509-1.h: \ 344 $(foreach file,$(tstRTCrX509-1_VBOX_FILES),$(lastword $(subst =,$(SP) ,$(file)))) \ 345 $(VBOX_BIN2C) \ 346 | $$(dir $$@) 347 347 $(RM) -f -- "$@" 348 348 $(foreach file,$(tstRTCrX509-1_VBOX_FILES) \ … … 351 351 "$(lastword $(subst =,$(SP) ,$(file)))" \ 352 352 "$@") 353 endif # !VBOX_ONLY_VALIDATIONKIT 354 355 356 tstRTCType_TEMPLATE = VBoxR3TstExe 357 tstRTCType_SOURCES = tstRTCType.cpp 358 359 ifdef VBOX_WITH_LIBCURL 360 tstRTCRest-1_TEMPLATE = VBoxR3TstExe 361 tstRTCRest-1_SOURCES = tstRTCRest-1.cpp 362 endif 363 364 tstRTDigest_TEMPLATE = VBoxR3TstExe 365 tstRTDigest_SOURCES = tstRTDigest.cpp 366 367 tstRTDigest-2_TEMPLATE = VBoxR3TstExe 368 ifndef VBOX_WITH_ALT_HASH_CODE 369 tstRTDigest-2_DEFS = IPRT_WITHOUT_SHA512T224 IPRT_WITHOUT_SHA512T256 370 endif 371 tstRTDigest-2_SOURCES = tstRTDigest-2.cpp 372 373 ifdef VBOX_WITH_LIBCURL 374 tstRTHttp-1_TEMPLATE = VBoxR3TstExe 375 tstRTHttp-1_SOURCES = tstRTHttp-1.cpp 376 tstRTHttp-1_SDKS = VBoxLibCurl 377 endif 378 379 tstDir_TEMPLATE = VBoxR3TstExe 380 tstDir_SOURCES = tstDir.cpp 381 382 tstDir-2_TEMPLATE = VBoxR3TstExe 383 tstDir-2_SOURCES = tstDir-2.cpp 384 385 tstDir-3_TEMPLATE = VBoxR3TstExe 386 tstDir-3_SOURCES = tstDir-3.cpp 387 388 tstRTDvm_TEMPLATE = VBoxR3TstExe 389 tstRTDvm_SOURCES = tstRTDvm.cpp 390 391 tstRTEnv_TEMPLATE = VBoxR3TstExe 392 tstRTEnv_SOURCES = tstRTEnv.cpp 393 394 tstRTErr-1_TEMPLATE = VBoxR3TstExe 395 tstRTErr-1_SOURCES = tstRTErr-1.cpp 396 397 tstFile_TEMPLATE = VBoxR3TstExe 398 tstFile_SOURCES = tstFile.cpp 399 400 tstRTFileAio_SOURCES = VBoxR3TstExe 401 tstRTFileAio_SOURCES = tstRTFileAio.cpp 402 403 tstRTFileAppend-1_TEMPLATE = VBoxR3TstExe 404 tstRTFileAppend-1_SOURCES = tstRTFileAppend-1.cpp 405 406 tstRTFileQuerySize-1_TEMPLATE = VBoxR3TstExe 407 tstRTFileQuerySize-1_SOURCES = tstRTFileQuerySize-1.cpp 408 409 tstRTFileModeStringToFlags_TEMPLATE = VBoxR3TstExe 410 tstRTFileModeStringToFlags_SOURCES = tstRTFileModeStringToFlags.cpp 411 412 tstRTFileOpenEx-1_TEMPLATE = VBoxR3TstExe 413 tstRTFileOpenEx-1_SOURCES = tstRTFileOpenEx-1.cpp 414 415 tstFileAppendWin-1_TEMPLATE = VBoxR3TstExe 416 tstFileAppendWin-1_SOURCES = tstFileAppendWin-1.cpp 417 418 tstFileLock_TEMPLATE = VBoxR3TstExe 419 tstFileLock_SOURCES = tstFileLock.cpp 420 421 tstFork_TEMPLATE = VBoxR3TstExe 422 tstFork_SOURCES = tstFork.cpp 423 424 tstRTFsQueries_TEMPLATE = VBoxR3TstExe 425 tstRTFsQueries_SOURCES = tstRTFsQueries.cpp 426 427 tstRTFilesystem_TEMPLATE = VBoxR3TstExe 428 tstRTFilesystem_SOURCES = tstRTFilesystem.cpp 429 430 tstRTExprEval_TEMPLATE = VBoxR3TstExe 431 tstRTExprEval_SOURCES = tstRTExprEval.cpp 432 433 tstRTGetOpt_TEMPLATE = VBoxR3TstExe 434 tstRTGetOpt_SOURCES = tstRTGetOpt.cpp 435 436 tstRTGetOptArgv_TEMPLATE = VBoxR3TstExe 437 tstRTGetOptArgv_SOURCES = tstRTGetOptArgv.cpp 438 439 tstHandleTable_SOURCES = tstHandleTable.cpp 440 441 tstRTHeapOffset_TEMPLATE = VBoxR3TstExe 442 tstRTHeapOffset_SOURCES = tstRTHeapOffset.cpp 443 444 tstRTHeapSimple_TEMPLATE = VBoxR3TstExe 445 tstRTHeapSimple_SOURCES = tstRTHeapSimple.cpp 446 447 tstRTInlineAsm_TEMPLATE = VBoxR3TstExe 448 tstRTInlineAsm_SOURCES = tstRTInlineAsm.cpp 449 450 tstRTInlineAsmPIC_TEMPLATE = VBoxR3TstExe 451 tstRTInlineAsmPIC_SOURCES = tstRTInlineAsm.cpp 452 tstRTInlineAsmPIC_CXXFLAGS = -fPIC 453 tstRTInlineAsmPIC_DEFS = PIC 454 455 tstRTInlineAsmPIC3_TEMPLATE = VBoxR3TstExe 456 tstRTInlineAsmPIC3_SOURCES = tstRTInlineAsm.cpp 457 tstRTInlineAsmPIC3_CXXFLAGS = -fPIC -fomit-frame-pointer -O3 458 tstRTInlineAsmPIC3_DEFS = PIC 459 460 tstIprtList_TEMPLATE = VBoxR3TstExe 461 tstIprtList_SOURCES = tstIprtList.cpp 462 463 tstIprtMiniList_TEMPLATE = VBoxR3TstExe 464 tstIprtMiniList_SOURCES = tstIprtMiniList.cpp 465 466 tstIprtMiniString_TEMPLATE = VBoxR3TstExe 467 tstIprtMiniString_SOURCES = tstIprtMiniString.cpp 468 469 tstLdr_TEMPLATE = VBoxR3TstExe 470 tstLdr_SOURCES = tstLdr.cpp 471 472 tstLdr-2_TEMPLATE = VBoxR3TstExe 473 tstLdr-2_SOURCES = tstLdr-2.cpp 474 tstLdr-2_DEFS = IN_DIS 475 tstLdr-2_LIBS = \ 476 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB) 477 478 ifdef VBOX_WITH_RAW_MODE 479 tstLdrObj_TEMPLATE = VBoxRc 480 tstLdrObj_INST = $(INST_TESTCASE) 481 tstLdrObj_SYSSUFF = .gc 482 tstLdrObj_SOURCES = tstLdrObj.cpp 483 tstLdrObj_DEFS = IN_DIS IN_RT_RC DIS_CORE_ONLY 353 endif # !VBOX_ONLY_VALIDATIONKIT 354 355 356 tstRTCType_TEMPLATE = VBoxR3TstExe 357 tstRTCType_SOURCES = tstRTCType.cpp 358 359 ifdef VBOX_WITH_LIBCURL 360 tstRTCRest-1_TEMPLATE = VBoxR3TstExe 361 tstRTCRest-1_SOURCES = tstRTCRest-1.cpp 362 endif 363 364 tstRTDigest_TEMPLATE = VBoxR3TstExe 365 tstRTDigest_SOURCES = tstRTDigest.cpp 366 367 tstRTDigest-2_TEMPLATE = VBoxR3TstExe 368 ifndef VBOX_WITH_ALT_HASH_CODE 369 tstRTDigest-2_DEFS = IPRT_WITHOUT_SHA512T224 IPRT_WITHOUT_SHA512T256 370 endif 371 tstRTDigest-2_SOURCES = tstRTDigest-2.cpp 372 373 ifdef VBOX_WITH_LIBCURL 374 tstRTHttp-1_TEMPLATE = VBoxR3TstExe 375 tstRTHttp-1_SOURCES = tstRTHttp-1.cpp 376 tstRTHttp-1_SDKS = VBoxLibCurl 377 endif 378 379 tstDir_TEMPLATE = VBoxR3TstExe 380 tstDir_SOURCES = tstDir.cpp 381 382 tstDir-2_TEMPLATE = VBoxR3TstExe 383 tstDir-2_SOURCES = tstDir-2.cpp 384 385 tstDir-3_TEMPLATE = VBoxR3TstExe 386 tstDir-3_SOURCES = tstDir-3.cpp 387 388 tstRTDvm_TEMPLATE = VBoxR3TstExe 389 tstRTDvm_SOURCES = tstRTDvm.cpp 390 391 tstRTEnv_TEMPLATE = VBoxR3TstExe 392 tstRTEnv_SOURCES = tstRTEnv.cpp 393 394 tstRTErr-1_TEMPLATE = VBoxR3TstExe 395 tstRTErr-1_SOURCES = tstRTErr-1.cpp 396 397 tstFile_TEMPLATE = VBoxR3TstExe 398 tstFile_SOURCES = tstFile.cpp 399 400 tstRTFileAio_SOURCES = VBoxR3TstExe 401 tstRTFileAio_SOURCES = tstRTFileAio.cpp 402 403 tstRTFileAppend-1_TEMPLATE = VBoxR3TstExe 404 tstRTFileAppend-1_SOURCES = tstRTFileAppend-1.cpp 405 406 tstRTFileQuerySize-1_TEMPLATE = VBoxR3TstExe 407 tstRTFileQuerySize-1_SOURCES = tstRTFileQuerySize-1.cpp 408 409 tstRTFileModeStringToFlags_TEMPLATE = VBoxR3TstExe 410 tstRTFileModeStringToFlags_SOURCES = tstRTFileModeStringToFlags.cpp 411 412 tstRTFileOpenEx-1_TEMPLATE = VBoxR3TstExe 413 tstRTFileOpenEx-1_SOURCES = tstRTFileOpenEx-1.cpp 414 415 tstFileAppendWin-1_TEMPLATE = VBoxR3TstExe 416 tstFileAppendWin-1_SOURCES = tstFileAppendWin-1.cpp 417 418 tstFileLock_TEMPLATE = VBoxR3TstExe 419 tstFileLock_SOURCES = tstFileLock.cpp 420 421 tstFork_TEMPLATE = VBoxR3TstExe 422 tstFork_SOURCES = tstFork.cpp 423 424 tstRTFsQueries_TEMPLATE = VBoxR3TstExe 425 tstRTFsQueries_SOURCES = tstRTFsQueries.cpp 426 427 tstRTFilesystem_TEMPLATE = VBoxR3TstExe 428 tstRTFilesystem_SOURCES = tstRTFilesystem.cpp 429 430 tstRTExprEval_TEMPLATE = VBoxR3TstExe 431 tstRTExprEval_SOURCES = tstRTExprEval.cpp 432 433 tstRTGetOpt_TEMPLATE = VBoxR3TstExe 434 tstRTGetOpt_SOURCES = tstRTGetOpt.cpp 435 436 tstRTGetOptArgv_TEMPLATE = VBoxR3TstExe 437 tstRTGetOptArgv_SOURCES = tstRTGetOptArgv.cpp 438 439 tstHandleTable_SOURCES = tstHandleTable.cpp 440 441 tstRTHeapOffset_TEMPLATE = VBoxR3TstExe 442 tstRTHeapOffset_SOURCES = tstRTHeapOffset.cpp 443 444 tstRTHeapSimple_TEMPLATE = VBoxR3TstExe 445 tstRTHeapSimple_SOURCES = tstRTHeapSimple.cpp 446 447 tstRTInlineAsm_TEMPLATE = VBoxR3TstExe 448 tstRTInlineAsm_SOURCES = tstRTInlineAsm.cpp 449 450 tstRTInlineAsmPIC_TEMPLATE = VBoxR3TstExe 451 tstRTInlineAsmPIC_SOURCES = tstRTInlineAsm.cpp 452 tstRTInlineAsmPIC_CXXFLAGS = -fPIC 453 tstRTInlineAsmPIC_DEFS = PIC 454 455 tstRTInlineAsmPIC3_TEMPLATE = VBoxR3TstExe 456 tstRTInlineAsmPIC3_SOURCES = tstRTInlineAsm.cpp 457 tstRTInlineAsmPIC3_CXXFLAGS = -fPIC -fomit-frame-pointer -O3 458 tstRTInlineAsmPIC3_DEFS = PIC 459 460 tstIprtList_TEMPLATE = VBoxR3TstExe 461 tstIprtList_SOURCES = tstIprtList.cpp 462 463 tstIprtMiniList_TEMPLATE = VBoxR3TstExe 464 tstIprtMiniList_SOURCES = tstIprtMiniList.cpp 465 466 tstIprtMiniString_TEMPLATE = VBoxR3TstExe 467 tstIprtMiniString_SOURCES = tstIprtMiniString.cpp 468 469 tstLdr_TEMPLATE = VBoxR3TstExe 470 tstLdr_SOURCES = tstLdr.cpp 471 472 tstLdr-2_TEMPLATE = VBoxR3TstExe 473 tstLdr-2_SOURCES = tstLdr-2.cpp 474 tstLdr-2_DEFS = IN_DIS 475 tstLdr-2_LIBS = \ 476 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB) 477 478 ifdef VBOX_WITH_RAW_MODE 479 tstLdrObj_TEMPLATE = VBoxRc 480 tstLdrObj_INST = $(INST_TESTCASE) 481 tstLdrObj_SYSSUFF = .gc 482 tstLdrObj_SOURCES = tstLdrObj.cpp 483 tstLdrObj_DEFS = IN_DIS IN_RT_RC DIS_CORE_ONLY 484 ifeq ($(VBOX_LDR_FMT32),elf) 485 tstLdrObj_DEFS += VBOX_SOME_IMPORT_FUNCTION 486 endif 487 tstLdrObj_LIBS = \ 488 $(PATH_STAGE_LIB)/DisasmRC$(VBOX_SUFF_LIB) \ 489 $(PATH_STAGE_LIB)/RuntimeRC$(VBOX_SUFF_LIB) 490 if1of ($(VBOX_LDR_FMT32), lx pe) 491 tstLdrObj_LIBS += \ 492 $(PATH_STAGE_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB) \ 493 $(PATH_STAGE_LIB)/VMMRCImp$(VBOX_SUFF_LIB) 494 endif 495 endif # VBOX_WITH_RAW_MODE 496 497 tstLdr-3_TEMPLATE = VBoxR3TstExe 498 tstLdr-3_SOURCES = tstLdr-3.cpp 499 tstLdr-3_DEFS = IN_DIS 500 tstLdr-3_LIBS = \ 501 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB) 502 503 tstLdr-4Imp_TEMPLATE = VBoxR0 504 ifeq ($(VBOX_LDR_FMT),lx) 505 tstLdr-4Imp_SOURCES = tstLdr-4Imp-os2.def 506 else ifeq ($(VBOX_LDR_FMT),pe) 507 tstLdr-4Imp_SOURCES.win = tstLdr-4Imp-win.def 508 endif 509 510 tstLdrObjR0_TEMPLATE = VBoxR0 511 tstLdrObjR0_INST = $(INST_TESTCASE) 512 tstLdrObjR0_SYSSUFF = .r0 513 tstLdrObjR0_SOURCES = tstLdrObjR0.cpp tstLdrDisasmTest.cpp 514 tstLdrObjR0_DEFS = IN_DIS IN_RT_R0 DIS_CORE_ONLY 484 515 ifeq ($(VBOX_LDR_FMT32),elf) 485 tstLdrObj_DEFS += VBOX_SOME_IMPORT_FUNCTION 486 endif 487 tstLdrObj_LIBS = \ 488 $(PATH_STAGE_LIB)/DisasmRC$(VBOX_SUFF_LIB) \ 489 $(PATH_STAGE_LIB)/RuntimeRC$(VBOX_SUFF_LIB) 490 if1of ($(VBOX_LDR_FMT32),lx pe) 491 tstLdrObj_LIBS += \ 492 $(PATH_STAGE_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB) \ 493 $(PATH_STAGE_LIB)/VMMRCImp$(VBOX_SUFF_LIB) 494 endif 495 endif # VBOX_WITH_RAW_MODE 496 497 tstLdr-3_TEMPLATE = VBoxR3TstExe 498 tstLdr-3_SOURCES = tstLdr-3.cpp 499 tstLdr-3_DEFS = IN_DIS 500 tstLdr-3_LIBS = \ 501 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB) 502 503 tstLdr-4Imp_TEMPLATE = VBoxR0 504 ifeq ($(VBOX_LDR_FMT),lx) 505 tstLdr-4Imp_SOURCES = tstLdr-4Imp-os2.def 506 else ifeq ($(VBOX_LDR_FMT),pe) 507 tstLdr-4Imp_SOURCES.win = tstLdr-4Imp-win.def 508 endif 509 510 tstLdrObjR0_TEMPLATE = VBoxR0 511 tstLdrObjR0_INST = $(INST_TESTCASE) 512 tstLdrObjR0_SYSSUFF = .r0 513 tstLdrObjR0_SOURCES = tstLdrObjR0.cpp tstLdrDisasmTest.cpp 514 tstLdrObjR0_DEFS = IN_DIS IN_RT_R0 DIS_CORE_ONLY 515 ifeq ($(VBOX_LDR_FMT32),elf) 516 tstLdrObjR0_DEFS += VBOX_SOME_IMPORT_FUNCTION 517 endif 518 ifn1of ($(KBUILD_TARGET), win) 519 tstLdrObjR0_CXXFLAGS = $(VBOX_GCC_Wno-array_bounds) 520 endif 521 tstLdrObjR0_LIBS = \ 522 $(PATH_STAGE_LIB)/DisasmR0$(VBOX_SUFF_LIB) \ 523 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 524 $(VBOX_LIB_SUPR0) 525 if1of ($(VBOX_LDR_FMT),pe lx) 526 tstLdrObjR0_LIBS += \ 527 $(TARGET_tstLdr-4Imp) 528 endif 529 530 tstLdr-4_TEMPLATE = VBoxR3TstExe 531 tstLdr-4_SOURCES = tstLdr-4.cpp tstLdrDisasmTest.cpp 532 tstLdr-4_DEFS = IN_DIS 533 tstLdr-4_LIBS = \ 534 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB) 535 536 tstLdrLoad_TEMPLATE = VBoxR3TstExe 537 tstLdrLoad_SOURCES = tstLdrLoad.cpp 538 539 tstRTLdrVerifyPeImage_TEMPLATE = VBoxR3TstExe 540 tstRTLdrVerifyPeImage_SOURCES = tstRTLdrVerifyPeImage.cpp 541 542 tstRTList_TEMPLATE = VBoxR3TstExe 543 tstRTList_SOURCES = tstRTList.cpp 544 545 tstRTLocalIpc_TEMPLATE = VBoxR3TstExe 546 tstRTLocalIpc_SOURCES = tstRTLocalIpc.cpp 547 548 tstRTLockValidator_TEMPLATE = VBoxR3TstExe 549 tstRTLockValidator_SOURCES = tstRTLockValidator.cpp 550 551 ifndef VBOX_ONLY_VALIDATIONKIT 552 tstLog_TEMPLATE = VBoxR3TstExe 553 tstLog_SOURCES = tstLog.cpp 554 tstLog_INCS = $(tstLog_0_OUTDIR) 555 tstLog_INTERMEDIATES = $(tstLog_0_OUTDIR)/tstLogGroups.h 556 tstLog_CLEAN = $(tstLog_0_OUTDIR)/tstLogGroups.h 557 $$(tstLog_0_OUTDIR)/tstLogGroups.h: $(PATH_ROOT)/include/VBox/log.h 516 tstLdrObjR0_DEFS += VBOX_SOME_IMPORT_FUNCTION 517 endif 518 ifn1of ($(KBUILD_TARGET), win) 519 tstLdrObjR0_CXXFLAGS = $(VBOX_GCC_Wno-array_bounds) 520 endif 521 tstLdrObjR0_LIBS = \ 522 $(PATH_STAGE_LIB)/DisasmR0$(VBOX_SUFF_LIB) \ 523 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 524 $(VBOX_LIB_SUPR0) 525 if1of ($(VBOX_LDR_FMT), pe lx) 526 tstLdrObjR0_LIBS += \ 527 $(TARGET_tstLdr-4Imp) 528 endif 529 530 tstLdr-4_TEMPLATE = VBoxR3TstExe 531 tstLdr-4_SOURCES = tstLdr-4.cpp tstLdrDisasmTest.cpp 532 tstLdr-4_DEFS = IN_DIS 533 tstLdr-4_LIBS = \ 534 $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB) 535 536 tstLdrLoad_TEMPLATE = VBoxR3TstExe 537 tstLdrLoad_SOURCES = tstLdrLoad.cpp 538 539 tstRTLdrVerifyPeImage_TEMPLATE = VBoxR3TstExe 540 tstRTLdrVerifyPeImage_SOURCES = tstRTLdrVerifyPeImage.cpp 541 542 tstRTList_TEMPLATE = VBoxR3TstExe 543 tstRTList_SOURCES = tstRTList.cpp 544 545 tstRTLocalIpc_TEMPLATE = VBoxR3TstExe 546 tstRTLocalIpc_SOURCES = tstRTLocalIpc.cpp 547 548 tstRTLockValidator_TEMPLATE = VBoxR3TstExe 549 tstRTLockValidator_SOURCES = tstRTLockValidator.cpp 550 551 ifndef VBOX_ONLY_VALIDATIONKIT 552 tstLog_TEMPLATE = VBoxR3TstExe 553 tstLog_SOURCES = tstLog.cpp 554 tstLog_INCS = $(tstLog_0_OUTDIR) 555 tstLog_INTERMEDIATES = $(tstLog_0_OUTDIR)/tstLogGroups.h 556 tstLog_CLEAN = $(tstLog_0_OUTDIR)/tstLogGroups.h 557 $$(tstLog_0_OUTDIR)/tstLogGroups.h: $(PATH_ROOT)/include/VBox/log.h 558 558 $(call MSG_GENERATE,,$@,$<) 559 559 $(QUIET)$(RM) -f -- "$@" 560 560 $(QUIET)$(SED) -n -e 's/^ *LOG_GROUP_\([A-Z0-9_]*\),.*$(DOLLAR)/{ LOG_GROUP_\1, "\1" },/p' --output "$@" "$<" 561 endif # !VBOX_ONLY_VALIDATIONKIT562 563 tstRTMemEf_TEMPLATE = VBoxR3TstExe564 tstRTMemEf_SOURCES = tstRTMemEf.cpp565 566 tstRTMemCache_TEMPLATE = VBoxR3TstExe567 tstRTMemCache_SOURCES = tstRTMemCache.cpp568 569 tstRTMemPool_TEMPLATE = VBoxR3TstExe570 tstRTMemPool_SOURCES = tstRTMemPool.cpp571 572 tstRTMemWipe_TEMPLATE = VBoxR3TstExe573 tstRTMemWipe_SOURCES = tstRTMemWipe.cpp574 575 tstRTMemSafer_TEMPLATE = VBoxR3TstExe576 tstRTMemSafer_SOURCES = tstRTMemSafer.cpp577 578 tstMove_TEMPLATE = VBoxR3TstExe579 tstMove_SOURCES = tstMove.cpp580 581 tstRTMp-1_TEMPLATE = VBoxR3TstExe582 tstRTMp-1_SOURCES = tstRTMp-1.cpp583 584 tstRTNetIPv4_TEMPLATE = VBoxR3TstExe585 tstRTNetIPv4_SOURCES = tstRTNetIPv4.cpp586 587 tstRTNetIPv6_TEMPLATE = VBoxR3TstExe588 tstRTNetIPv6_SOURCES = tstRTNetIPv6.cpp589 590 tstNoCrt-1_TEMPLATE = VBoxR3TstExe591 tstNoCrt-1_DEFS = RT_WITHOUT_NOCRT_WRAPPER_ALIASES592 tstNoCrt-1_SOURCES = \593 tstNoCrt-1.cpp \594 ../common/string/memcpy.asm \595 ../common/string/mempcpy.asm \596 ../common/string/memmove.asm \597 ../common/string/memset.asm \598 ../common/string/memchr.asm \599 ../common/string/memcmp.asm \600 ../common/string/strchr.asm \601 ../common/string/strcmp.asm \602 ../common/string/strcpy.asm \603 ../common/string/strlen.asm \604 ../common/string/wcslen.asm605 606 tstRTNoCrt-2_TEMPLATE = VBoxR3TstExe607 tstRTNoCrt-2_DEFS = RT_WITHOUT_NOCRT_WRAPPER_ALIASES608 tstRTNoCrt-2_INCS = ../include609 tstRTNoCrt-2_SDKS = VBoxSoftFloatR3Shared610 tstRTNoCrt-2_SOURCES = \611 tstRTNoCrt-2.cpp \612 613 ../common/math/copysign.cpp \614 ../common/math/copysignf.cpp \615 ../common/math/copysignl.cpp \616 ../common/math/fma.cpp \617 ../common/math/fmaf.cpp \618 ../common/math/fmax.cpp \619 ../common/math/fmaxf.cpp \620 ../common/math/fmaxl.cpp \621 ../common/math/fmin.cpp \622 ../common/math/fminf.cpp \623 ../common/math/fminl.cpp \624 ../common/math/isinf.cpp \625 ../common/math/isnan.cpp \626 ../common/math/isnanf.cpp \627 ../common/math/llround.cpp \628 ../common/math/llroundf.cpp \629 ../common/math/lround.cpp \630 ../common/math/lroundf.cpp \631 ../common/math/nocrt-abs.cpp \632 ../common/math/nocrt-labs.cpp \633 ../common/math/nocrt-llabs.cpp \634 ../common/math/round.cpp \635 ../common/math/roundf.cpp \636 ../common/math/frexp.cpp \637 ../common/math/frexpf.cpp \638 ../common/math/frexpl.cpp \639 ../common/math/__fpclassifyd.cpp \640 ../common/math/__fpclassifyf.cpp \641 ../common/math/__fpclassifyl.cpp \642 ../common/math/__isfinite.cpp \643 ../common/math/__isfinitef.cpp \644 ../common/math/__isfinitel.cpp \645 ../common/math/__isinff.cpp \646 ../common/math/__isinfl.cpp \647 ../common/math/__isnanl.cpp \648 ../common/math/__isnormal.cpp \649 ../common/math/__isnormalf.cpp \650 ../common/math/__isnormall.cpp \651 ../common/math/__signbit.cpp \652 ../common/math/__signbitf.cpp \653 ../common/math/__signbitl.cpp654 655 if1of ($(KBUILD_TARGET_ARCH), x86 amd64)656 tstRTNoCrt-2_SOURCES.x86 += \561 endif # !VBOX_ONLY_VALIDATIONKIT 562 563 tstRTMemEf_TEMPLATE = VBoxR3TstExe 564 tstRTMemEf_SOURCES = tstRTMemEf.cpp 565 566 tstRTMemCache_TEMPLATE = VBoxR3TstExe 567 tstRTMemCache_SOURCES = tstRTMemCache.cpp 568 569 tstRTMemPool_TEMPLATE = VBoxR3TstExe 570 tstRTMemPool_SOURCES = tstRTMemPool.cpp 571 572 tstRTMemWipe_TEMPLATE = VBoxR3TstExe 573 tstRTMemWipe_SOURCES = tstRTMemWipe.cpp 574 575 tstRTMemSafer_TEMPLATE = VBoxR3TstExe 576 tstRTMemSafer_SOURCES = tstRTMemSafer.cpp 577 578 tstMove_TEMPLATE = VBoxR3TstExe 579 tstMove_SOURCES = tstMove.cpp 580 581 tstRTMp-1_TEMPLATE = VBoxR3TstExe 582 tstRTMp-1_SOURCES = tstRTMp-1.cpp 583 584 tstRTNetIPv4_TEMPLATE = VBoxR3TstExe 585 tstRTNetIPv4_SOURCES = tstRTNetIPv4.cpp 586 587 tstRTNetIPv6_TEMPLATE = VBoxR3TstExe 588 tstRTNetIPv6_SOURCES = tstRTNetIPv6.cpp 589 590 tstNoCrt-1_TEMPLATE = VBoxR3TstExe 591 tstNoCrt-1_DEFS = RT_WITHOUT_NOCRT_WRAPPER_ALIASES 592 tstNoCrt-1_SOURCES = \ 593 tstNoCrt-1.cpp \ 594 ../common/string/memcpy.asm \ 595 ../common/string/mempcpy.asm \ 596 ../common/string/memmove.asm \ 597 ../common/string/memset.asm \ 598 ../common/string/memchr.asm \ 599 ../common/string/memcmp.asm \ 600 ../common/string/strchr.asm \ 601 ../common/string/strcmp.asm \ 602 ../common/string/strcpy.asm \ 603 ../common/string/strlen.asm \ 604 ../common/string/wcslen.asm 605 606 tstRTNoCrt-2_TEMPLATE = VBoxR3TstExe 607 tstRTNoCrt-2_DEFS = RT_WITHOUT_NOCRT_WRAPPER_ALIASES 608 tstRTNoCrt-2_INCS = ../include 609 tstRTNoCrt-2_SDKS = VBoxSoftFloatR3Shared 610 tstRTNoCrt-2_SOURCES = \ 611 tstRTNoCrt-2.cpp \ 612 \ 613 ../common/math/copysign.cpp \ 614 ../common/math/copysignf.cpp \ 615 ../common/math/copysignl.cpp \ 616 ../common/math/fma.cpp \ 617 ../common/math/fmaf.cpp \ 618 ../common/math/fmax.cpp \ 619 ../common/math/fmaxf.cpp \ 620 ../common/math/fmaxl.cpp \ 621 ../common/math/fmin.cpp \ 622 ../common/math/fminf.cpp \ 623 ../common/math/fminl.cpp \ 624 ../common/math/isinf.cpp \ 625 ../common/math/isnan.cpp \ 626 ../common/math/isnanf.cpp \ 627 ../common/math/llround.cpp \ 628 ../common/math/llroundf.cpp \ 629 ../common/math/lround.cpp \ 630 ../common/math/lroundf.cpp \ 631 ../common/math/nocrt-abs.cpp \ 632 ../common/math/nocrt-labs.cpp \ 633 ../common/math/nocrt-llabs.cpp \ 634 ../common/math/round.cpp \ 635 ../common/math/roundf.cpp \ 636 ../common/math/frexp.cpp \ 637 ../common/math/frexpf.cpp \ 638 ../common/math/frexpl.cpp \ 639 ../common/math/__fpclassifyd.cpp \ 640 ../common/math/__fpclassifyf.cpp \ 641 ../common/math/__fpclassifyl.cpp \ 642 ../common/math/__isfinite.cpp \ 643 ../common/math/__isfinitef.cpp \ 644 ../common/math/__isfinitel.cpp \ 645 ../common/math/__isinff.cpp \ 646 ../common/math/__isinfl.cpp \ 647 ../common/math/__isnanl.cpp \ 648 ../common/math/__isnormal.cpp \ 649 ../common/math/__isnormalf.cpp \ 650 ../common/math/__isnormall.cpp \ 651 ../common/math/__signbit.cpp \ 652 ../common/math/__signbitf.cpp \ 653 ../common/math/__signbitl.cpp 654 655 if1of ($(KBUILD_TARGET_ARCH), x86 amd64) 656 tstRTNoCrt-2_SOURCES.x86 += \ 657 657 ../common/math/rtNoCrtHasSse.asm 658 tstRTNoCrt-2_SOURCES += \659 ../common/math/atan.asm \660 ../common/math/atan2.asm \661 ../common/math/atan2f.asm \662 ../common/math/atanf.asm \663 ../common/math/ceil.asm \664 ../common/math/ceilf.asm \665 ../common/math/cos.asm \666 ../common/math/cosf.asm \667 ../common/math/cosl.asm \668 ../common/math/exp.asm \669 ../common/math/expf.asm \670 ../common/math/exp2.asm \671 ../common/math/exp2f.asm \672 ../common/math/fabs.asm \673 ../common/math/fabsf.asm \658 tstRTNoCrt-2_SOURCES += \ 659 ../common/math/atan.asm \ 660 ../common/math/atan2.asm \ 661 ../common/math/atan2f.asm \ 662 ../common/math/atanf.asm \ 663 ../common/math/ceil.asm \ 664 ../common/math/ceilf.asm \ 665 ../common/math/cos.asm \ 666 ../common/math/cosf.asm \ 667 ../common/math/cosl.asm \ 668 ../common/math/exp.asm \ 669 ../common/math/expf.asm \ 670 ../common/math/exp2.asm \ 671 ../common/math/exp2f.asm \ 672 ../common/math/fabs.asm \ 673 ../common/math/fabsf.asm \ 674 674 ../common/math/fegetenv.asm \ 675 675 ../common/math/fesetenv.asm \ … … 687 687 ../common/math/fetestexcept.asm \ 688 688 ../common/math/feraiseexcept.asm \ 689 ../common/math/floor.asm \ 690 ../common/math/floorf.asm \ 691 ../common/math/fma-asm.asm \ 692 ../common/math/fmaf-asm.asm \ 693 ../common/math/ldexp.asm \ 694 ../common/math/ldexpf.asm \ 695 ../common/math/llrint.asm \ 696 ../common/math/llrintf.asm \ 697 ../common/math/log.asm \ 698 ../common/math/logf.asm \ 699 ../common/math/log2.asm \ 700 ../common/math/log2f.asm \ 701 ../common/math/lrint.asm \ 702 ../common/math/lrintf.asm \ 703 ../common/math/pow.asm \ 704 ../common/math/powf.asm \ 705 ../common/math/powcore.asm \ 706 ../common/math/remainder.asm \ 707 ../common/math/remainderf.asm \ 708 ../common/math/rint.asm \ 709 ../common/math/rintf.asm \ 710 ../common/math/sin.asm \ 711 ../common/math/sinf.asm \ 712 ../common/math/sincore.asm \ 713 ../common/math/sqrt.asm \ 714 ../common/math/sqrtf.asm \ 715 ../common/math/tan.asm \ 716 ../common/math/tanf.asm \ 717 ../common/math/trunc.asm \ 718 ../common/math/truncf.asm 719 endif 720 721 # 722 # For testing no-CRT exception handling we need to use the static build, 723 # assuming ofc that VBOX_WITH_NOCRT_STATIC is in effect. 724 # 725 TEMPLATE_VBoxR3TstExeStatic := Testcase for the static (no-CRT) libraries. 726 TEMPLATE_VBoxR3TstExeStatic_EXTENDS := VBoxR3Static 727 TEMPLATE_VBoxR3TstExeStatic_INST = $(INST_TESTCASE) 728 729 tstRTNoCrt-3_TEMPLATE := VBoxR3TstExeStatic 730 tstRTNoCrt-3_SOURCES := tstRTNoCrt-3.cpp 731 732 tstRTNoCrt-3r_TEMPLATE := VBoxR3TstExe 733 tstRTNoCrt-3r_SOURCES := tstRTNoCrt-3.cpp 734 735 tstRTNoCrt-4_TEMPLATE := VBoxR3TstExe 736 tstRTNoCrt-4_SOURCES := tstRTNoCrt-4.cpp 737 738 tstRTNtPath-1_TEMPLATE = VBoxR3TstExe 739 tstRTNtPath-1_SOURCES = tstRTNtPath-1.cpp 740 741 tstOnce_TEMPLATE = VBoxR3TstExe 742 tstOnce_SOURCES = tstOnce.cpp 743 744 tstRTPath_TEMPLATE = VBoxR3TstExe 745 tstRTPath_SOURCES = tstRTPath.cpp 746 747 tstRTPathFindCommon_TEMPLATE = VBoxR3TstExe 748 tstRTPathFindCommon_SOURCES = tstRTPathFindCommon.cpp 749 750 tstRTPathGlob_TEMPLATE = VBoxR3TstExe 751 tstRTPathGlob_SOURCES = tstRTPathGlob.cpp 752 753 tstRTPathQueryInfo_TEMPLATE = VBoxR3TstExe 754 tstRTPathQueryInfo_SOURCES = tstRTPathQueryInfo.cpp 755 756 tstRTPipe_TEMPLATE = VBoxR3TstExe 757 tstRTPipe_SOURCES = tstRTPipe.cpp 758 759 tstRTPoll_TEMPLATE = VBoxR3TstExe 760 tstRTPoll_SOURCES = tstRTPoll.cpp 761 762 tstPrfRT_TEMPLATE = VBoxR3TstExe 763 tstPrfRT_SOURCES = tstPrfRT.cpp 764 tstPrfRT_SOURCES.x86 = tstRTPrfA.asm 765 tstPrfRT_SOURCES.amd64 = tstRTPrfA.asm 766 767 tstRTPrfIO_TEMPLATE = VBoxR3TstExe 768 tstRTPrfIO_SOURCES = tstRTPrfIO.cpp 769 770 tstRTProcCreateEx_TEMPLATE = VBoxR3TstExe 771 tstRTProcCreateEx_SOURCES = tstRTProcCreateEx.cpp 772 773 tstRTProcCreatePrf_TEMPLATE = VBoxR3TstExe 774 tstRTProcCreatePrf_SOURCES = tstRTProcCreatePrf.cpp 775 776 tstRTProcQueryUsername_TEMPLATE = VBoxR3TstExe 777 tstRTProcQueryUsername_SOURCES = tstRTProcQueryUsername.cpp 778 779 tstRTProcWait_TEMPLATE = VBoxR3TstExe 780 tstRTProcWait_SOURCES = tstRTProcWait.cpp 781 782 tstRTProcIsRunningByName_TEMPLATE = VBoxR3TstExe 783 tstRTProcIsRunningByName_SOURCES = tstRTProcIsRunningByName.cpp 784 785 tstRand_TEMPLATE = VBoxR3TstExe 786 tstRand_SOURCES = tstRand.cpp 787 788 tstRTReqPool_TEMPLATE = VBoxR3TstExe 789 tstRTReqPool_SOURCES = tstRTReqPool.cpp 790 791 tstSemMutex_TEMPLATE = VBoxR3TstExe 792 tstSemMutex_SOURCES = tstSemMutex.cpp 793 794 tstRTSemEvent_TEMPLATE = VBoxR3TstExe 795 tstRTSemEvent_SOURCES = tstRTSemEvent.cpp 796 797 tstRTSemEventMulti_TEMPLATE = VBoxR3TstExe 798 tstRTSemEventMulti_SOURCES = tstRTSemEventMulti.cpp 799 800 tstRTSemRW_TEMPLATE = VBoxR3TstExe 801 tstRTSemRW_SOURCES = tstRTSemRW.cpp 802 803 tstSemPingPong_TEMPLATE = VBoxR3TstExe 804 tstSemPingPong_SOURCES = tstSemPingPong.cpp 805 806 tstRTSemXRoads_TEMPLATE = VBoxR3TstExe 807 tstRTSemXRoads_SOURCES = tstRTSemXRoads.cpp 808 809 tstRTSort_TEMPLATE = VBoxR3TstExe 810 tstRTSort_SOURCES = tstRTSort.cpp 811 812 tstRTStrAlloc_TEMPLATE = VBoxR3TstExe 813 tstRTStrAlloc_SOURCES = tstRTStrAlloc.cpp 814 815 tstRTStrCache_TEMPLATE = VBoxR3TstExe 816 tstRTStrCache_SOURCES = tstRTStrCache.cpp 817 818 tstRTStrCatCopy_TEMPLATE = VBoxR3TstExe 819 tstRTStrCatCopy_SOURCES = tstRTStrCatCopy.cpp 820 821 tstRTStrFormat_TEMPLATE = VBoxR3TstExe 822 tstRTStrFormat_SOURCES = tstRTStrFormat.cpp 823 824 tstRTStrSplit_TEMPLATE = VBoxR3TstExe 825 tstRTStrSplit_SOURCES = tstRTStrSplit.cpp 826 827 tstRTStrSimplePattern_TEMPLATE = VBoxR3TstExe 828 tstRTStrSimplePattern_SOURCES = tstRTStrSimplePattern.cpp 829 830 tstStrToNum_TEMPLATE = VBoxR3TstExe 831 tstStrToNum_SOURCES = tstStrToNum.cpp 832 833 tstRTStrVersion_TEMPLATE = VBoxR3TstExe 834 tstRTStrVersion_SOURCES = tstRTStrVersion.cpp 835 836 tstRTSymlink_TEMPLATE = VBoxR3TstExe 837 tstRTSymlink_SOURCES = tstRTSymlink.cpp 838 839 tstRTSystemQueryDmi_TEMPLATE = VBoxR3TstExe 840 tstRTSystemQueryDmi_SOURCES = tstRTSystemQueryDmi.cpp 841 842 tstRTSystemQueryFirmware_TEMPLATE = VBoxR3TstExe 843 tstRTSystemQueryFirmware_SOURCES = tstRTSystemQueryFirmware.cpp 844 845 tstRTSystemQueryOsInfo_TEMPLATE = VBoxR3TstExe 846 tstRTSystemQueryOsInfo_SOURCES = tstRTSystemQueryOsInfo.cpp 847 848 tstRTTcp-1_TEMPLATE = VBoxR3TstExe 849 tstRTTcp-1_SOURCES = tstRTTcp-1.cpp 850 851 tstRTTemp_TEMPLATE = VBoxR3TstExe 852 tstRTTemp_SOURCES = tstRTTemp.cpp 853 854 tstRTDirCreateUniqueNumbered_TEMPLATE = VBoxR3TstExe 855 tstRTDirCreateUniqueNumbered_SOURCES = tstRTDirCreateUniqueNumbered.cpp 856 857 tstTermCallbacks_TEMPLATE = VBoxR3TstExe 858 tstTermCallbacks_SOURCES = tstTermCallbacks.cpp 859 860 tstThread-1_TEMPLATE = VBoxR3TstExe 861 tstThread-1_SOURCES = tstThread-1.cpp 862 863 tstRTThreadPoke_TEMPLATE = VBoxR3TstExe 864 tstRTThreadPoke_SOURCES = tstRTThreadPoke.cpp 865 866 tstRTThreadExecutionTime_TEMPLATE = VBoxR3TstExe 867 tstRTThreadExecutionTime_SOURCES = tstRTThreadExecutionTime.cpp 868 869 tstRTTime_TEMPLATE = VBoxR3TstExe 870 tstRTTime_SOURCES = tstRTTime.cpp 871 872 tstRTTls-1_TEMPLATE = VBoxR3TstExe 873 tstRTTls-1_SOURCES = tstRTTls-1.cpp 874 875 tstRTTraceLog_TEMPLATE = VBoxR3TstExe 876 tstRTTraceLog_SOURCES = tstRTTraceLog.cpp 877 878 tstTime-2_TEMPLATE = VBoxR3TstExe 879 tstTime-2_SOURCES = tstTime-2.cpp 880 881 tstTime-3_TEMPLATE = VBoxR3TstExe 882 tstTime-3_SOURCES = tstTime-3.cpp 883 884 tstTime-4_TEMPLATE = VBoxR3TstExe 885 tstTime-4_SOURCES = tstTime-4.cpp 886 887 tstTimer_TEMPLATE = VBoxR3TstExe 888 tstTimer_SOURCES = tstTimer.cpp 889 890 tstRTTimerLR_TEMPLATE = VBoxR3TstExe 891 tstRTTimerLR_SOURCES = tstRTTimerLR.cpp 892 893 tstRTTimeSpec_TEMPLATE = VBoxR3TstExe 894 tstRTTimeSpec_SOURCES = tstRTTimeSpec.cpp 895 896 tstTSC_SOURCES = tstTSC.cpp 897 tstTSC_CXXFLAGS.linux += -O3 898 899 tstRTUuid_TEMPLATE = VBoxR3TstExe 900 tstRTUuid_SOURCES = tstRTUuid.cpp 901 902 tstRTUdp-1_TEMPLATE = VBoxR3TstExe 903 tstRTUdp-1_SOURCES = tstRTUdp-1.cpp 904 905 tstUtf8_TEMPLATE = VBoxR3TstExe 906 tstUtf8_SOURCES = tstUtf8.cpp 907 908 tstRTCircBuf_TEMPLATE = VBoxR3TstExe 909 tstRTCircBuf_SOURCES = tstRTCircBuf.cpp 910 911 tstRTManifest_TEMPLATE = VBoxR3TstExe 912 tstRTManifest_SOURCES = tstRTManifest.cpp 913 914 tstRTMath_TEMPLATE = VBoxR3TstExe 915 tstRTMath_SOURCES = \ 916 tstRTMath.cpp \ 917 ../common/math/gcc/udivmoddi4.c 918 919 tstRTUri_TEMPLATE = VBoxR3TstExe 920 tstRTUri_SOURCES = tstRTUri.cpp 921 922 tstRTVfs_TEMPLATE = VBoxR3TstExe 923 tstRTVfs_SOURCES = tstRTVfs.cpp 924 925 tstRTCoreDump_TEMPLACE = VBoxR3TstExe 926 tstRTCoreDump_SOURCES = tstRTCoreDump.cpp 927 928 tstVector_TEMPLATE = VBoxR3TstExe 929 tstVector_SOURCES = tstVector.cpp 930 931 932 tstRTZip_TEMPLATE = VBoxR3TstExe 933 tstRTZip_SOURCES = tstRTZip.cpp 934 935 tstRTJson_TEMPLATE = VBoxR3TstExe 936 tstRTJson_SOURCES = tstRTJson.cpp 937 938 tstRTShMem_TEMPLATE = VBoxR3TstExe 939 tstRTShMem_SOURCES = tstRTShMem.cpp 940 941 # 942 # Ring-0 testcases. 943 # 944 945 ## @todo create a template for compiling the ring-0 part. 946 tstRTR0DbgKrnlInfo_TEMPLATE = VBoxR0 947 tstRTR0DbgKrnlInfo_INST = $(INST_TESTCASE) 948 tstRTR0DbgKrnlInfo_DEFS = IN_RT_R0 949 tstRTR0DbgKrnlInfo_SYSSUFF = .r0 950 tstRTR0DbgKrnlInfo_SOURCES = tstRTR0DbgKrnlInfo.cpp 951 tstRTR0DbgKrnlInfo_LIBS = \ 952 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 953 $(VBOX_LIB_SUPR0) 954 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 955 tstRTR0DbgKrnlInfoDriverHardened_TEMPLATE = VBoxR3HardenedTstExe 956 tstRTR0DbgKrnlInfoDriverHardened_NAME = tstRTR0DbgKrnlInfoDriver 957 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 958 tstRTR0DbgKrnlInfoDriverHardened_DEFS = PROGRAM_NAME_STR="tstRTR0DbgKrnlInfoDriver" 689 ../common/math/floor.asm \ 690 ../common/math/floorf.asm \ 691 ../common/math/fma-asm.asm \ 692 ../common/math/fmaf-asm.asm \ 693 ../common/math/ldexp.asm \ 694 ../common/math/ldexpf.asm \ 695 ../common/math/llrint.asm \ 696 ../common/math/llrintf.asm \ 697 ../common/math/log.asm \ 698 ../common/math/logf.asm \ 699 ../common/math/log2.asm \ 700 ../common/math/log2f.asm \ 701 ../common/math/lrint.asm \ 702 ../common/math/lrintf.asm \ 703 ../common/math/pow.asm \ 704 ../common/math/powf.asm \ 705 ../common/math/powcore.asm \ 706 ../common/math/remainder.asm \ 707 ../common/math/remainderf.asm \ 708 ../common/math/rint.asm \ 709 ../common/math/rintf.asm \ 710 ../common/math/sin.asm \ 711 ../common/math/sinf.asm \ 712 ../common/math/sincore.asm \ 713 ../common/math/sqrt.asm \ 714 ../common/math/sqrtf.asm \ 715 ../common/math/tan.asm \ 716 ../common/math/tanf.asm \ 717 ../common/math/trunc.asm \ 718 ../common/math/truncf.asm 719 endif 720 721 # 722 # For testing no-CRT exception handling we need to use the static build, 723 # assuming ofc that VBOX_WITH_NOCRT_STATIC is in effect. 724 # 725 TEMPLATE_VBoxR3TstExeStatic := Testcase for the static (no-CRT) libraries. 726 TEMPLATE_VBoxR3TstExeStatic_EXTENDS := VBoxR3Static 727 TEMPLATE_VBoxR3TstExeStatic_INST = $(INST_TESTCASE) 728 729 tstRTNoCrt-3_TEMPLATE := VBoxR3TstExeStatic 730 tstRTNoCrt-3_SOURCES := tstRTNoCrt-3.cpp 731 732 tstRTNoCrt-3r_TEMPLATE := VBoxR3TstExe 733 tstRTNoCrt-3r_SOURCES := tstRTNoCrt-3.cpp 734 735 tstRTNoCrt-4_TEMPLATE := VBoxR3TstExe 736 tstRTNoCrt-4_SOURCES := tstRTNoCrt-4.cpp 737 738 tstRTNtPath-1_TEMPLATE = VBoxR3TstExe 739 tstRTNtPath-1_SOURCES = tstRTNtPath-1.cpp 740 741 tstOnce_TEMPLATE = VBoxR3TstExe 742 tstOnce_SOURCES = tstOnce.cpp 743 744 tstRTPath_TEMPLATE = VBoxR3TstExe 745 tstRTPath_SOURCES = tstRTPath.cpp 746 747 tstRTPathFindCommon_TEMPLATE = VBoxR3TstExe 748 tstRTPathFindCommon_SOURCES = tstRTPathFindCommon.cpp 749 750 tstRTPathGlob_TEMPLATE = VBoxR3TstExe 751 tstRTPathGlob_SOURCES = tstRTPathGlob.cpp 752 753 tstRTPathQueryInfo_TEMPLATE = VBoxR3TstExe 754 tstRTPathQueryInfo_SOURCES = tstRTPathQueryInfo.cpp 755 756 tstRTPipe_TEMPLATE = VBoxR3TstExe 757 tstRTPipe_SOURCES = tstRTPipe.cpp 758 759 tstRTPoll_TEMPLATE = VBoxR3TstExe 760 tstRTPoll_SOURCES = tstRTPoll.cpp 761 762 tstPrfRT_TEMPLATE = VBoxR3TstExe 763 tstPrfRT_SOURCES = tstPrfRT.cpp 764 tstPrfRT_SOURCES.x86 = tstRTPrfA.asm 765 tstPrfRT_SOURCES.amd64 = tstRTPrfA.asm 766 767 tstRTPrfIO_TEMPLATE = VBoxR3TstExe 768 tstRTPrfIO_SOURCES = tstRTPrfIO.cpp 769 770 tstRTProcCreateEx_TEMPLATE = VBoxR3TstExe 771 tstRTProcCreateEx_SOURCES = tstRTProcCreateEx.cpp 772 773 tstRTProcCreatePrf_TEMPLATE = VBoxR3TstExe 774 tstRTProcCreatePrf_SOURCES = tstRTProcCreatePrf.cpp 775 776 tstRTProcQueryUsername_TEMPLATE = VBoxR3TstExe 777 tstRTProcQueryUsername_SOURCES = tstRTProcQueryUsername.cpp 778 779 tstRTProcWait_TEMPLATE = VBoxR3TstExe 780 tstRTProcWait_SOURCES = tstRTProcWait.cpp 781 782 tstRTProcIsRunningByName_TEMPLATE = VBoxR3TstExe 783 tstRTProcIsRunningByName_SOURCES = tstRTProcIsRunningByName.cpp 784 785 tstRand_TEMPLATE = VBoxR3TstExe 786 tstRand_SOURCES = tstRand.cpp 787 788 tstRTReqPool_TEMPLATE = VBoxR3TstExe 789 tstRTReqPool_SOURCES = tstRTReqPool.cpp 790 791 tstSemMutex_TEMPLATE = VBoxR3TstExe 792 tstSemMutex_SOURCES = tstSemMutex.cpp 793 794 tstRTSemEvent_TEMPLATE = VBoxR3TstExe 795 tstRTSemEvent_SOURCES = tstRTSemEvent.cpp 796 797 tstRTSemEventMulti_TEMPLATE = VBoxR3TstExe 798 tstRTSemEventMulti_SOURCES = tstRTSemEventMulti.cpp 799 800 tstRTSemRW_TEMPLATE = VBoxR3TstExe 801 tstRTSemRW_SOURCES = tstRTSemRW.cpp 802 803 tstSemPingPong_TEMPLATE = VBoxR3TstExe 804 tstSemPingPong_SOURCES = tstSemPingPong.cpp 805 806 tstRTSemXRoads_TEMPLATE = VBoxR3TstExe 807 tstRTSemXRoads_SOURCES = tstRTSemXRoads.cpp 808 809 tstRTSort_TEMPLATE = VBoxR3TstExe 810 tstRTSort_SOURCES = tstRTSort.cpp 811 812 tstRTStrAlloc_TEMPLATE = VBoxR3TstExe 813 tstRTStrAlloc_SOURCES = tstRTStrAlloc.cpp 814 815 tstRTStrCache_TEMPLATE = VBoxR3TstExe 816 tstRTStrCache_SOURCES = tstRTStrCache.cpp 817 818 tstRTStrCatCopy_TEMPLATE = VBoxR3TstExe 819 tstRTStrCatCopy_SOURCES = tstRTStrCatCopy.cpp 820 821 tstRTStrFormat_TEMPLATE = VBoxR3TstExe 822 tstRTStrFormat_SOURCES = tstRTStrFormat.cpp 823 824 tstRTStrSplit_TEMPLATE = VBoxR3TstExe 825 tstRTStrSplit_SOURCES = tstRTStrSplit.cpp 826 827 tstRTStrSimplePattern_TEMPLATE = VBoxR3TstExe 828 tstRTStrSimplePattern_SOURCES = tstRTStrSimplePattern.cpp 829 830 tstStrToNum_TEMPLATE = VBoxR3TstExe 831 tstStrToNum_SOURCES = tstStrToNum.cpp 832 833 tstRTStrVersion_TEMPLATE = VBoxR3TstExe 834 tstRTStrVersion_SOURCES = tstRTStrVersion.cpp 835 836 tstRTSymlink_TEMPLATE = VBoxR3TstExe 837 tstRTSymlink_SOURCES = tstRTSymlink.cpp 838 839 tstRTSystemQueryDmi_TEMPLATE = VBoxR3TstExe 840 tstRTSystemQueryDmi_SOURCES = tstRTSystemQueryDmi.cpp 841 842 tstRTSystemQueryFirmware_TEMPLATE = VBoxR3TstExe 843 tstRTSystemQueryFirmware_SOURCES = tstRTSystemQueryFirmware.cpp 844 845 tstRTSystemQueryOsInfo_TEMPLATE = VBoxR3TstExe 846 tstRTSystemQueryOsInfo_SOURCES = tstRTSystemQueryOsInfo.cpp 847 848 tstRTTcp-1_TEMPLATE = VBoxR3TstExe 849 tstRTTcp-1_SOURCES = tstRTTcp-1.cpp 850 851 tstRTTemp_TEMPLATE = VBoxR3TstExe 852 tstRTTemp_SOURCES = tstRTTemp.cpp 853 854 tstRTDirCreateUniqueNumbered_TEMPLATE = VBoxR3TstExe 855 tstRTDirCreateUniqueNumbered_SOURCES = tstRTDirCreateUniqueNumbered.cpp 856 857 tstTermCallbacks_TEMPLATE = VBoxR3TstExe 858 tstTermCallbacks_SOURCES = tstTermCallbacks.cpp 859 860 tstThread-1_TEMPLATE = VBoxR3TstExe 861 tstThread-1_SOURCES = tstThread-1.cpp 862 863 tstRTThreadPoke_TEMPLATE = VBoxR3TstExe 864 tstRTThreadPoke_SOURCES = tstRTThreadPoke.cpp 865 866 tstRTThreadExecutionTime_TEMPLATE = VBoxR3TstExe 867 tstRTThreadExecutionTime_SOURCES = tstRTThreadExecutionTime.cpp 868 869 tstRTTime_TEMPLATE = VBoxR3TstExe 870 tstRTTime_SOURCES = tstRTTime.cpp 871 872 tstRTTls-1_TEMPLATE = VBoxR3TstExe 873 tstRTTls-1_SOURCES = tstRTTls-1.cpp 874 875 tstRTTraceLog_TEMPLATE = VBoxR3TstExe 876 tstRTTraceLog_SOURCES = tstRTTraceLog.cpp 877 878 tstTime-2_TEMPLATE = VBoxR3TstExe 879 tstTime-2_SOURCES = tstTime-2.cpp 880 881 tstTime-3_TEMPLATE = VBoxR3TstExe 882 tstTime-3_SOURCES = tstTime-3.cpp 883 884 tstTime-4_TEMPLATE = VBoxR3TstExe 885 tstTime-4_SOURCES = tstTime-4.cpp 886 887 tstTimer_TEMPLATE = VBoxR3TstExe 888 tstTimer_SOURCES = tstTimer.cpp 889 890 tstRTTimerLR_TEMPLATE = VBoxR3TstExe 891 tstRTTimerLR_SOURCES = tstRTTimerLR.cpp 892 893 tstRTTimeSpec_TEMPLATE = VBoxR3TstExe 894 tstRTTimeSpec_SOURCES = tstRTTimeSpec.cpp 895 896 tstTSC_SOURCES = tstTSC.cpp 897 tstTSC_CXXFLAGS.linux += -O3 898 899 tstRTUuid_TEMPLATE = VBoxR3TstExe 900 tstRTUuid_SOURCES = tstRTUuid.cpp 901 902 tstRTUdp-1_TEMPLATE = VBoxR3TstExe 903 tstRTUdp-1_SOURCES = tstRTUdp-1.cpp 904 905 tstUtf8_TEMPLATE = VBoxR3TstExe 906 tstUtf8_SOURCES = tstUtf8.cpp 907 908 tstRTCircBuf_TEMPLATE = VBoxR3TstExe 909 tstRTCircBuf_SOURCES = tstRTCircBuf.cpp 910 911 tstRTManifest_TEMPLATE = VBoxR3TstExe 912 tstRTManifest_SOURCES = tstRTManifest.cpp 913 914 tstRTMath_TEMPLATE = VBoxR3TstExe 915 tstRTMath_SOURCES = \ 916 tstRTMath.cpp \ 917 ../common/math/gcc/udivmoddi4.c 918 919 tstRTUri_TEMPLATE = VBoxR3TstExe 920 tstRTUri_SOURCES = tstRTUri.cpp 921 922 tstRTVfs_TEMPLATE = VBoxR3TstExe 923 tstRTVfs_SOURCES = tstRTVfs.cpp 924 925 tstRTCoreDump_TEMPLACE = VBoxR3TstExe 926 tstRTCoreDump_SOURCES = tstRTCoreDump.cpp 927 928 tstVector_TEMPLATE = VBoxR3TstExe 929 tstVector_SOURCES = tstVector.cpp 930 931 932 tstRTZip_TEMPLATE = VBoxR3TstExe 933 tstRTZip_SOURCES = tstRTZip.cpp 934 935 tstRTJson_TEMPLATE = VBoxR3TstExe 936 tstRTJson_SOURCES = tstRTJson.cpp 937 938 tstRTShMem_TEMPLATE = VBoxR3TstExe 939 tstRTShMem_SOURCES = tstRTShMem.cpp 940 941 # 942 # Ring-0 testcases. 943 # 944 945 ## @todo create a template for compiling the ring-0 part. 946 tstRTR0DbgKrnlInfo_TEMPLATE = VBoxR0 947 tstRTR0DbgKrnlInfo_INST = $(INST_TESTCASE) 948 tstRTR0DbgKrnlInfo_DEFS = IN_RT_R0 949 tstRTR0DbgKrnlInfo_SYSSUFF = .r0 950 tstRTR0DbgKrnlInfo_SOURCES = tstRTR0DbgKrnlInfo.cpp 951 tstRTR0DbgKrnlInfo_LIBS = \ 952 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 953 $(VBOX_LIB_SUPR0) 954 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 955 tstRTR0DbgKrnlInfoDriverHardened_TEMPLATE = VBoxR3HardenedTstExe 956 tstRTR0DbgKrnlInfoDriverHardened_NAME = tstRTR0DbgKrnlInfoDriver 957 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 958 tstRTR0DbgKrnlInfoDriverHardened_DEFS = PROGRAM_NAME_STR="tstRTR0DbgKrnlInfoDriver" 959 else 960 tstRTR0DbgKrnlInfoDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0DbgKrnlInfoDriver\" 961 endif 962 tstRTR0DbgKrnlInfoDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp 963 tstRTR0DbgKrnlInfoDriver_TEMPLATE = VBoxR3HardenedTstDll 959 964 else 960 tstRTR0DbgKrnlInfoDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0DbgKrnlInfoDriver\" 961 endif 962 tstRTR0DbgKrnlInfoDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp 963 tstRTR0DbgKrnlInfoDriver_TEMPLATE = VBoxR3HardenedTstDll 964 else 965 tstRTR0DbgKrnlInfoDriver_TEMPLATE = VBoxR3TstExe 966 endif 965 967 tstRTR0DbgKrnlInfoDriver_TEMPLATE = VBoxR3TstExe 966 endif 967 tstRTR0DbgKrnlInfoDriver_TEMPLATE = VBoxR3TstExe 968 tstRTR0DbgKrnlInfoDriver_SOURCES = tstRTR0DbgKrnlInfoDriver.cpp 969 970 971 tstRTR0MemUserKernel_TEMPLATE = VBoxR0 972 tstRTR0MemUserKernel_INST = $(INST_TESTCASE) 973 tstRTR0MemUserKernel_DEFS = IN_RT_R0 974 tstRTR0MemUserKernel_SYSSUFF = .r0 975 tstRTR0MemUserKernel_SOURCES = tstRTR0MemUserKernel.cpp 976 tstRTR0MemUserKernel_LIBS = \ 977 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 978 $(VBOX_LIB_SUPR0) 979 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 980 tstRTR0MemUserKernelDriverHardened_TEMPLATE = VBoxR3HardenedTstExe 981 tstRTR0MemUserKernelDriverHardened_NAME = tstRTR0MemUserKernelDriver 982 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 983 tstRTR0MemUserKernelDriverHardened_DEFS = PROGRAM_NAME_STR="tstRTR0MemUserKernelDriver" 968 tstRTR0DbgKrnlInfoDriver_SOURCES = tstRTR0DbgKrnlInfoDriver.cpp 969 970 971 tstRTR0MemUserKernel_TEMPLATE = VBoxR0 972 tstRTR0MemUserKernel_INST = $(INST_TESTCASE) 973 tstRTR0MemUserKernel_DEFS = IN_RT_R0 974 tstRTR0MemUserKernel_SYSSUFF = .r0 975 tstRTR0MemUserKernel_SOURCES = tstRTR0MemUserKernel.cpp 976 tstRTR0MemUserKernel_LIBS = \ 977 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 978 $(VBOX_LIB_SUPR0) 979 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 980 tstRTR0MemUserKernelDriverHardened_TEMPLATE = VBoxR3HardenedTstExe 981 tstRTR0MemUserKernelDriverHardened_NAME = tstRTR0MemUserKernelDriver 982 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 983 tstRTR0MemUserKernelDriverHardened_DEFS = PROGRAM_NAME_STR="tstRTR0MemUserKernelDriver" 984 else 985 tstRTR0MemUserKernelDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0MemUserKernelDriver\" 986 endif 987 tstRTR0MemUserKernelDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp 988 tstRTR0MemUserKernelDriver_TEMPLATE = VBoxR3HardenedTstDll 984 989 else 985 tstRTR0MemUserKernelDriver Hardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0MemUserKernelDriver\"986 endif 987 tstRTR0MemUserKernelDriver Hardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp988 tstRTR0MemUserKernelDriver_TEMPLATE = VBoxR3HardenedTstDll 989 else 990 tstRTR0 MemUserKernelDriver_TEMPLATE = VBoxR3TstExe991 endif 992 tstRTR0MemUserKernelDriver_SOURCES = tstRTR0MemUserKernelDriver.cpp 993 994 995 tstRTR0SemMutex_TEMPLATE = VBoxR0 996 tstRTR0SemMutex_INST = $(INST_TESTCASE) 997 tstRTR0SemMutex_DEFS = IN_RT_R0 998 tstRTR0SemMutex_SYSSUFF = .r0 999 tstRTR0SemMutex_SOURCES = tstRTR0SemMutex.cpp 1000 tstRTR0SemMutex_LIBS = \ 1001 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 1002 $(VBOX_LIB_SUPR0) 1003 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 1004 tstRTR0SemMutexDriverHardened_TEMPLATE = VBoxR3HardenedTstExe1005 tstRTR0SemMutexDriverHardened_NAME = tstRTR0SemMutexDriver1006 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING1007 tstRTR0SemMutexDriver Hardened_DEFS = PROGRAM_NAME_STR="tstRTR0SemMutexDriver"990 tstRTR0MemUserKernelDriver_TEMPLATE = VBoxR3TstExe 991 endif 992 tstRTR0MemUserKernelDriver_SOURCES = tstRTR0MemUserKernelDriver.cpp 993 994 995 tstRTR0SemMutex_TEMPLATE = VBoxR0 996 tstRTR0SemMutex_INST = $(INST_TESTCASE) 997 tstRTR0SemMutex_DEFS = IN_RT_R0 998 tstRTR0SemMutex_SYSSUFF = .r0 999 tstRTR0SemMutex_SOURCES = tstRTR0SemMutex.cpp 1000 tstRTR0SemMutex_LIBS = \ 1001 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 1002 $(VBOX_LIB_SUPR0) 1003 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 1004 tstRTR0SemMutexDriverHardened_TEMPLATE = VBoxR3HardenedTstExe 1005 tstRTR0SemMutexDriverHardened_NAME = tstRTR0SemMutexDriver 1006 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 1007 tstRTR0SemMutexDriverHardened_DEFS = PROGRAM_NAME_STR="tstRTR0SemMutexDriver" 1008 else 1009 tstRTR0SemMutexDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0SemMutexDriver\" 1010 endif 1011 tstRTR0SemMutexDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp 1012 tstRTR0SemMutexDriver_TEMPLATE = VBoxR3HardenedTstDll 1008 1013 else 1009 tstRTR0SemMutexDriver Hardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0SemMutexDriver\"1010 endif 1011 tstRTR0SemMutexDriver Hardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp1012 tstRTR0SemMutexDriver_TEMPLATE = VBoxR3HardenedTstDll 1013 else 1014 tstRTR0 SemMutexDriver_TEMPLATE = VBoxR3TstExe1015 endif 1016 tstRTR0SemMutexDriver_SOURCES = tstRTR0SemMutexDriver.cpp 1017 1018 1019 tstRTR0Thread_TEMPLATE = VBoxR0 1020 tstRTR0Thread_INST = $(INST_TESTCASE) 1021 tstRTR0Thread_DEFS = IN_RT_R0 1022 tstRTR0Thread_SYSSUFF = .r0 1023 tstRTR0Thread_SOURCES = tstRTR0Thread.cpp 1024 tstRTR0Thread_LIBS = \ 1025 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 1026 $(VBOX_LIB_SUPR0) 1027 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 1028 tstRTR0ThreadDriverHardened_TEMPLATE = VBoxR3HardenedTstExe1029 tstRTR0ThreadDriverHardened_NAME = tstRTR0ThreadDriver1030 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING1031 tstRTR0ThreadDriver Hardened_DEFS = PROGRAM_NAME_STR="tstRTR0ThreadDriver"1014 tstRTR0SemMutexDriver_TEMPLATE = VBoxR3TstExe 1015 endif 1016 tstRTR0SemMutexDriver_SOURCES = tstRTR0SemMutexDriver.cpp 1017 1018 1019 tstRTR0Thread_TEMPLATE = VBoxR0 1020 tstRTR0Thread_INST = $(INST_TESTCASE) 1021 tstRTR0Thread_DEFS = IN_RT_R0 1022 tstRTR0Thread_SYSSUFF = .r0 1023 tstRTR0Thread_SOURCES = tstRTR0Thread.cpp 1024 tstRTR0Thread_LIBS = \ 1025 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 1026 $(VBOX_LIB_SUPR0) 1027 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 1028 tstRTR0ThreadDriverHardened_TEMPLATE = VBoxR3HardenedTstExe 1029 tstRTR0ThreadDriverHardened_NAME = tstRTR0ThreadDriver 1030 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 1031 tstRTR0ThreadDriverHardened_DEFS = PROGRAM_NAME_STR="tstRTR0ThreadDriver" 1032 else 1033 tstRTR0ThreadDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0ThreadDriver\" 1034 endif 1035 tstRTR0ThreadDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp 1036 tstRTR0ThreadDriver_TEMPLATE = VBoxR3HardenedTstDll 1032 1037 else 1033 tstRTR0ThreadDriver Hardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0ThreadDriver\"1034 endif 1035 tstRTR0ThreadDriver Hardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp1036 tstRTR0ThreadDriver_TEMPLATE = VBoxR3HardenedTstDll 1037 else 1038 tstRTR0T hreadDriver_TEMPLATE = VBoxR3TstExe1039 endif 1040 tstRTR0ThreadDriver_SOURCES = tstRTR0ThreadDriver.cpp 1041 1042 1043 tstRTR0Timer_TEMPLATE = VBoxR0 1044 tstRTR0Timer_INST = $(INST_TESTCASE) 1045 tstRTR0Timer_DEFS = IN_RT_R0 1046 tstRTR0Timer_SYSSUFF = .r0 1047 tstRTR0Timer_SOURCES = tstRTR0Timer.cpp 1048 tstRTR0Timer_LIBS = \ 1049 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 1050 $(VBOX_LIB_SUPR0) 1051 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 1052 tstRTR0TimerDriverHardened_TEMPLATE = VBoxR3HardenedTstExe1053 tstRTR0TimerDriverHardened_NAME = tstRTR0TimerDriver1054 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING1055 tstRTR0TimerDriver Hardened_DEFS = PROGRAM_NAME_STR="tstRTR0TimerDriver"1038 tstRTR0ThreadDriver_TEMPLATE = VBoxR3TstExe 1039 endif 1040 tstRTR0ThreadDriver_SOURCES = tstRTR0ThreadDriver.cpp 1041 1042 1043 tstRTR0Timer_TEMPLATE = VBoxR0 1044 tstRTR0Timer_INST = $(INST_TESTCASE) 1045 tstRTR0Timer_DEFS = IN_RT_R0 1046 tstRTR0Timer_SYSSUFF = .r0 1047 tstRTR0Timer_SOURCES = tstRTR0Timer.cpp 1048 tstRTR0Timer_LIBS = \ 1049 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 1050 $(VBOX_LIB_SUPR0) 1051 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 1052 tstRTR0TimerDriverHardened_TEMPLATE = VBoxR3HardenedTstExe 1053 tstRTR0TimerDriverHardened_NAME = tstRTR0TimerDriver 1054 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 1055 tstRTR0TimerDriverHardened_DEFS = PROGRAM_NAME_STR="tstRTR0TimerDriver" 1056 else 1057 tstRTR0TimerDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0TimerDriver\" 1058 endif 1059 tstRTR0TimerDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp 1060 tstRTR0TimerDriver_TEMPLATE = VBoxR3HardenedTstDll 1056 1061 else 1057 tstRTR0TimerDriver Hardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0TimerDriver\"1058 endif 1059 tstRTR0TimerDriver Hardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp1060 tstRTR0TimerDriver_TEMPLATE = VBoxR3HardenedTstDll 1061 else 1062 tstRTR0T imerDriver_TEMPLATE = VBoxR3TstExe1063 endif 1064 tstRTR0TimerDriver_SOURCES = tstRTR0TimerDriver.cpp 1065 1066 1067 tstRTR0ThreadPreemption_TEMPLATE = VBoxR0 1068 tstRTR0ThreadPreemption_INST = $(INST_TESTCASE) 1069 tstRTR0ThreadPreemption_DEFS = IN_RT_R0 1070 tstRTR0ThreadPreemption_SYSSUFF = .r0 1071 tstRTR0ThreadPreemption_SOURCES = tstRTR0ThreadPreemption.cpp 1072 tstRTR0ThreadPreemption_LIBS = \ 1073 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 1074 $(VBOX_LIB_SUPR0) 1075 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 1076 tstRTR0ThreadPreemptionDriverHardened_TEMPLATE = VBoxR3HardenedTstExe1077 tstRTR0ThreadPreemptionDriverHardened_NAME = tstRTR0ThreadPreemptionDriver1078 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING1079 tstRTR0ThreadPreemptionDriver Hardened_DEFS = PROGRAM_NAME_STR="tstRTR0ThreadPreemptionDriver"1062 tstRTR0TimerDriver_TEMPLATE = VBoxR3TstExe 1063 endif 1064 tstRTR0TimerDriver_SOURCES = tstRTR0TimerDriver.cpp 1065 1066 1067 tstRTR0ThreadPreemption_TEMPLATE = VBoxR0 1068 tstRTR0ThreadPreemption_INST = $(INST_TESTCASE) 1069 tstRTR0ThreadPreemption_DEFS = IN_RT_R0 1070 tstRTR0ThreadPreemption_SYSSUFF = .r0 1071 tstRTR0ThreadPreemption_SOURCES = tstRTR0ThreadPreemption.cpp 1072 tstRTR0ThreadPreemption_LIBS = \ 1073 $(PATH_STAGE_LIB)/RuntimeR0$(VBOX_SUFF_LIB) \ 1074 $(VBOX_LIB_SUPR0) 1075 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 1076 tstRTR0ThreadPreemptionDriverHardened_TEMPLATE = VBoxR3HardenedTstExe 1077 tstRTR0ThreadPreemptionDriverHardened_NAME = tstRTR0ThreadPreemptionDriver 1078 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 1079 tstRTR0ThreadPreemptionDriverHardened_DEFS = PROGRAM_NAME_STR="tstRTR0ThreadPreemptionDriver" 1080 else 1081 tstRTR0ThreadPreemptionDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0ThreadPreemptionDriver\" 1082 endif 1083 tstRTR0ThreadPreemptionDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp 1084 tstRTR0ThreadPreemptionDriver_TEMPLATE = VBoxR3HardenedTstDll 1080 1085 else 1081 tstRTR0ThreadPreemptionDriverHardened_DEFS = PROGRAM_NAME_STR=\"tstRTR0ThreadPreemptionDriver\" 1082 endif 1083 tstRTR0ThreadPreemptionDriverHardened_SOURCES = ../../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp 1084 tstRTR0ThreadPreemptionDriver_TEMPLATE = VBoxR3HardenedTstDll 1085 else 1086 tstRTR0ThreadPreemptionDriver_TEMPLATE = VBoxR3TstExe 1087 endif 1088 tstRTR0ThreadPreemptionDriver_SOURCES = tstRTR0ThreadPreemptionDriver.cpp 1089 1090 1091 # 1092 # Odds and ends. 1093 # 1094 1095 tstDarwinSched_TEMPLATE = VBoxR3TstExe 1096 tstDarwinSched_SOURCES = tstDarwinSched.cpp 1097 1098 tstRTDarwinMachKernel_TEMPLATE = VBoxR3TstExe 1099 tstRTDarwinMachKernel_INCS = ../include 1100 tstRTDarwinMachKernel_SOURCES = \ 1101 tstRTDarwinMachKernel.cpp \ 1102 ../r0drv/darwin/dbgkrnlinfo-r0drv-darwin.cpp 1103 1104 ntGetTimerResolution_SOURCES = ntGetTimerResolution.cpp 1105 ntGetTimerResolution_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK) VBoxNtDll 1106 1107 1108 # 1109 # ValKit versions of selected tests. 1110 # 1111 ifdef VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING 1112 define def_valkit_unittest_iprt 1113 PROGRAMS += $(unittest)-ValKit 1114 $(unittest)-ValKit_TEMPLATE := VBoxValidationKitR3TstExe 1115 $(unittest)-ValKit_EXTENDS := $(unittest) 1116 $(unittest)-ValKit_NAME := $(unittest) 1117 endef 1118 $(foreach unittest, $(VALKIT_UNITTESTS_WHITELIST_IPRT) $($(VALKIT_UNITTESTS_WHITELIST_IPRT).$(KBUILD_TARGET)) \ 1086 tstRTR0ThreadPreemptionDriver_TEMPLATE = VBoxR3TstExe 1087 endif 1088 tstRTR0ThreadPreemptionDriver_SOURCES = tstRTR0ThreadPreemptionDriver.cpp 1089 1090 1091 # 1092 # Odds and ends. 1093 # 1094 1095 tstDarwinSched_TEMPLATE = VBoxR3TstExe 1096 tstDarwinSched_SOURCES = tstDarwinSched.cpp 1097 1098 tstRTDarwinMachKernel_TEMPLATE = VBoxR3TstExe 1099 tstRTDarwinMachKernel_INCS = ../include 1100 tstRTDarwinMachKernel_SOURCES = \ 1101 tstRTDarwinMachKernel.cpp \ 1102 ../r0drv/darwin/dbgkrnlinfo-r0drv-darwin.cpp 1103 1104 ntGetTimerResolution_SOURCES = ntGetTimerResolution.cpp 1105 ntGetTimerResolution_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK) VBoxNtDll 1106 1107 1108 # 1109 # ValKit versions of selected tests. 1110 # 1111 ifdef VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING 1112 define def_valkit_unittest_iprt 1113 PROGRAMS += $(unittest)-ValKit 1114 $(unittest)-ValKit_TEMPLATE := VBoxValidationKitR3TstExe 1115 $(unittest)-ValKit_EXTENDS := $(unittest) 1116 $(unittest)-ValKit_NAME := $(unittest) 1117 endef 1118 $(foreach unittest, $(VALKIT_UNITTESTS_WHITELIST_IPRT) $($(VALKIT_UNITTESTS_WHITELIST_IPRT).$(KBUILD_TARGET)) \ 1119 1119 ,$(evalcall2 def_valkit_unittest_iprt)) 1120 endif1120 endif 1121 1121 1122 1122 endif # VBOX_WITH_TESTCASES
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器