VirtualBox

Changeset 94430 in vbox


Ignore:
Timestamp:
Apr 1, 2022 10:09:35 AM (3 years ago)
Author:
vboxsync
Message:

Validation Kit/unit tests: Don't use wildcards anymore when including the unit tests. ​​bugref:10195

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/Makefile.kmk

    r94428 r94430  
    301301ifdef VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING
    302302
    303 # Only include testcases being on the whitelist. Wilcard (*) implicit.
     303# Only include testcases being on the whitelist.
    304304TMP_UNITTESTS_WHITELIST := \
    305305        tstFile \
     
    318318        tstTimer \
    319319        tstThread-1 \
    320         tstUtf
     320        tstUtf8
    321321
    322322#
    323323# Included needed dependencies like VBoxRT (VBoxVMM?).
    324324# Needs careful checking for each and every testcase being run.
    325 # Try to get and include what we have by using wildcards.
    326325#
    327326## @todo Also include R0 and hardening stuff?
     
    331330
    332331define def_vbox_validationkit_unittests
    333   TMP_UNITTESTS_PATH_BIN                 = $(PATH_OUT_BASE)/$(os).$(arch)/$(KBUILD_TYPE)/bin
    334   VBOX_VALIDATIONKIT_FILESPEC_UNITTESTS += \
     332  ifdef VBOX_WITH_VALIDATIONKIT_PACKING.$(os).$(arch)
     333   TMP_UNITTESTS_PATH_BIN                 = $(PATH_OUT_BASE)/$(os).$(arch)/$(KBUILD_TYPE)/bin
     334   VBOX_VALIDATIONKIT_FILESPEC_UNITTESTS += \
    335335        $(foreach test_whitelist, $(TMP_UNITTESTS_WHITELIST), \
    336         $$(wildcard $(TMP_UNITTESTS_PATH_BIN)/testcase/$(test_whitelist)$(TMP_SUFF_EXE)))
    337   VBOX_VALIDATIONKIT_FILESPEC_UNITTESTS += \
     336        $$(TMP_UNITTESTS_PATH_BIN)/testcase/$(test_whitelist)$(TMP_SUFF_EXE))
     337   VBOX_VALIDATIONKIT_FILESPEC_UNITTESTS += \
    338338        $(foreach file_dep, $(TMP_UNITTESTS_DEPS_LIB), \
    339         $$(wildcard $(TMP_UNITTESTS_PATH_BIN)/$(file_dep)$(TMP_SUFF_LIB)))
     339        $$(TMP_UNITTESTS_PATH_BIN)/$(file_dep)$(TMP_SUFF_LIB))
     340 endif
    340341endef
    341342
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette