- Timestamp:
- Feb 22, 2022 9:48:43 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/Makefile.kmk
r93428 r93882 285 285 endif 286 286 287 # If enabled, this includes the unit tests located in the out/testcase directory. 288 # This is useful if we want to run those on platforms where we don't have / support 289 # any host support anymore (like Windows XP, for instance). 290 # 291 # Note that executing the tests require an additional component (tdUnitTest test driver) 292 # which runs as part of the Validation Kit. 293 # 294 # See @bugref{10195} 295 ifdef VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING 296 define def_vbox_validationkit_unittests 297 VBOX_VALIDATIONKIT_PATH_UNITTESTS:=$(PATH_OUT_BASE)/$(os).$(arch)/$(KBUILD_TYPE)/bin 298 VBOX_VALIDATIONKIT_FILESPEC_UNITTESTS += $$(wildcard $(VBOX_VALIDATIONKIT_PATH_UNITTESTS)/testcase/tst*$(TMP_SUFF_EXE)) 299 endef 300 301 TMP_SUFF_EXE=.exe 302 $(foreach os, win,$(foreach arch, x86 amd64, \ 303 $(eval $(def_vbox_validationkit_unittests)) \ 304 )) 305 TMP_SUFF_EXE= 306 $(foreach os, darwin freebsd linux solaris,$(foreach arch, x86 amd64, \ 307 $(eval $(def_vbox_validationkit_unittests)) \ 308 )) 309 endif 287 310 288 311 # … … 299 322 $(QUIET)$(ECHO) VBOX_VALIDATIONKIT_FILESPEC $(VBOX_VALIDATIONKIT_FILESPEC) 300 323 endif 324 $(QUIET)$(ECHO) VBOX_VALIDATIONKIT_FILESPEC_UNITTESTS $(VBOX_VALIDATIONKIT_FILESPEC_UNITTESTS) 301 325 $(VBOX_RTISOMAKER) \ 302 326 --output $@ \ … … 305 329 --joliet \ 306 330 --rational-attribs \ 307 331 --random-order-verification 2048 \ 308 332 $(foreach spec,$(VBOX_VALIDATIONKIT_FILESPEC) \ 309 333 ,$(if $(findstring =,$(spec)), $(spec), /$(lastword $(subst /$(INST_VALIDATIONKIT), ,$(spec))=$(spec))) ) \ 334 $(foreach spec,$(VBOX_VALIDATIONKIT_FILESPEC_UNITTESTS) \ 335 ,$(if $(findstring =,$(spec)), $(spec), /$(lastword $(subst $(PATH_OUT_BASE), testcase,$(spec))=$(spec))) ) \ 310 336 $(foreach spec,$(filter-out %.txt %.dll %.xml %.reg %.img, $(VBOX_VALIDATIONKIT_FILESPEC)) \ 311 337 ,--chmod=a+x:/$(lastword $(if $(findstring =,$(spec)), \ … … 313 339 $(subst /$(INST_VALIDATIONKIT), ,$(spec))))) \ 314 340 --volume-id "VBOXVALK_$(VBOX_SVN_REV)_$(VBOX_VERSION_STRING_RAW)" \ 315 341 --name-setup joliet \ 316 342 --volume-id "VBoxValK $(VBOX_SVN_REV)" 317 343
Note:
See TracChangeset
for help on using the changeset viewer.