Changeset 96246 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Aug 17, 2022 8:53:53 AM (2 years ago)
- Location:
- trunk/src/VBox/ValidationKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/Config.kmk
r94968 r96246 239 239 endef 240 240 endif 241 242 243 # 244 # List of IPRT testcases that will be included in the ValKit. 245 # 246 ifdef VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING 247 VALKIT_UNITTESTS_WHITELIST_IPRT := \ 248 tstFile \ 249 tstFileLock \ 250 tstRTPathQueryInfo \ 251 tstRTPipe \ 252 tstRTProcCreateEx \ 253 tstRTProcCreatePrf \ 254 tstRTProcQueryUsername \ 255 tstThread-1 \ 256 tstUtf8 257 258 VALKIT_UNITTESTS_WHITELIST_IPRT.linux += \ 259 tstRTProcWait \ 260 tstRTProcIsRunningByName 261 262 VALKIT_UNITTESTS_WHITELIST_IPRT.win += \ 263 tstRTProcWait 264 265 endif # VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING 266 -
trunk/src/VBox/ValidationKit/Makefile.kmk
r96245 r96246 308 308 # 309 309 ifdef VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING 310 311 # Only include testcases being on the whitelist. 312 VALKIT_UNITTESTS_WHITELIST_IPRT := \ 313 tstFile \ 314 tstFileLock \ 315 tstRTPathQueryInfo \ 316 tstRTPipe \ 317 tstRTProcCreateEx \ 318 tstRTProcCreatePrf \ 319 tstRTProcQueryUsername \ 320 tstThread-1 \ 321 tstUtf8 322 323 VALKIT_UNITTESTS_WHITELIST_IPRT.linux += \ 324 tstRTProcWait \ 325 tstRTProcIsRunningByName 326 327 VALKIT_UNITTESTS_WHITELIST_IPRT.win += \ 328 tstRTProcWait 329 330 # 331 # Note: We do not include VBoxRT and stuff here, as this wouldn't work because 332 # of CRTs on old / ancient guest OSes. See @bugref:10195. 333 # 334 # Needs careful checking for each and every testcase being run. 335 # Try to get and include what we have by using wildcards. 336 # 337 ## @todo Also include R0 and hardening stuff? 338 # 339 TMP_UNITTESTS_DEPS_LIB := 340 341 define def_vbox_validationkit_unittests 310 define def_vbox_validationkit_unittests 342 311 VBOX_VALIDATIONKIT_FILESPEC_UNITTESTS += \ 343 $(foreach whitelisted, $(VALKIT_UNITTESTS_WHITELIST_IPRT) $(VALKIT_UNITTESTS_WHITELIST_IPRT ).$(os), \312 $(foreach whitelisted, $(VALKIT_UNITTESTS_WHITELIST_IPRT) $(VALKIT_UNITTESTS_WHITELIST_IPRT.$(os)), \ 344 313 $$(wildcard $(VBOX_PATH_VALIDATIONKIT_UNITTESTS.$(os).$(arch))/$(whitelisted)$(TMP_SUFF_EXE))) 345 VBOX_VALIDATIONKIT_FILESPEC_UNITTESTS += \ 346 $(foreach file_dep, $(TMP_UNITTESTS_DEPS_LIB), \ 347 $$(wildcard $(VBOX_PATH_VALIDATIONKIT.$(os).$(arch))/$(file_dep)$(TMP_SUFF_LIB))) 348 endef 349 350 TMP_SUFF_EXE=.exe 351 TMP_SUFF_LIB=.dll 352 $(foreach os, win,$(foreach arch, x86 amd64, \ 353 $(eval $(def_vbox_validationkit_unittests)) \ 354 )) 355 TMP_SUFF_EXE= 356 TMP_SUFF_LIB=.so 357 $(foreach os, freebsd linux solaris,$(foreach arch, x86 amd64, \ 358 $(eval $(def_vbox_validationkit_unittests)) \ 359 )) 360 TMP_SUFF_EXE= 361 TMP_SUFF_LIB=.dylib 362 $(foreach os, darwin,$(foreach arch, amd64, \ 363 $(eval $(def_vbox_validationkit_unittests)) \ 364 )) 314 endef 315 316 TMP_SUFF_EXE=.exe 317 $(foreach os, win,$(foreach arch, x86 amd64, \ 318 $(eval $(def_vbox_validationkit_unittests)) \ 319 )) 320 TMP_SUFF_EXE= 321 $(foreach os, darwin freebsd linux solaris,$(foreach arch, x86 amd64, \ 322 $(eval $(def_vbox_validationkit_unittests)) \ 323 )) 324 365 325 endif # VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING 366 326
Note:
See TracChangeset
for help on using the changeset viewer.