VirtualBox

Changeset 98923 in vbox


Ignore:
Timestamp:
Mar 12, 2023 5:21:20 PM (21 months ago)
Author:
vboxsync
Message:

ValidationKit: Include arm64 (incomplete, no bootsector testcases), bugref:9898

File:
1 edited

Legend:

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

    r98439 r98923  
    119119        # Note: Exclude packing the testcase directory into .zip, as that directory only needs to be
    120120        #       included in VBoxValidationKit.iso.
    121         $(foreach os, darwin freebsd linux os2 solaris win,$(foreach arch, x86 amd64 \
     121        $(foreach os, darwin freebsd linux os2 solaris win,$(foreach arch, x86 amd64 arm64\
    122122        ,$(if-expr defined(VBOX_WITH_VALIDATIONKIT_PACKING.$(os).$(arch))\
    123123                ,$(NLTAB)$(QUIET)$(REDIRECT) -C $(PATH_OUT_BASE)/$(os).$(arch)/$(KBUILD_TYPE)/ \
     
    134134        $(call MSG_L1,Packing the TestBox Script files to $@)
    135135        $(QUIET)$(RM) -f $@
    136         $(foreach os, darwin freebsd linux os2 solaris win,$(foreach arch, x86 amd64 \
     136        $(foreach os, darwin freebsd linux os2 solaris win,$(foreach arch, x86 amd64 arm64\
    137137        ,$(if-expr defined(VBOX_WITH_VALIDATIONKIT_PACKING.$(os).$(arch))\
    138138                ,$(NLTAB)$(QUIET)$(REDIRECT) -C $(PATH_OUT_BASE)/$(os).$(arch)/$(KBUILD_TYPE)/ \
     
    183183
    184184# Generate VBOX_PATH_VALIDATIONKIT.os.arch variables.
    185 $(foreach os, darwin freebsd linux os2 solaris win,$(foreach arch, x86 amd64, \
     185$(foreach os, darwin freebsd linux os2 solaris win,$(foreach arch, x86 amd64 arm64, \
    186186        $(eval VBOX_PATH_VALIDATIONKIT.$(os).$(arch) = $(PATH_OUT_BASE)/$(os).$(arch)/$(KBUILD_TYPE)/$(INST_VALIDATIONKIT)$(os)/$(arch)) \
    187187        $(eval VBOX_PATH_VALIDATIONKIT_UNITTESTS.$(os).$(arch) = $(abspath $(VBOX_PATH_VALIDATIONKIT.$(os).$(arch))/../../testcase/$(os)/$(arch)/testcase)) \
     
    192192 ifdef VBOX_WITH_VALIDATIONKIT_PACKING.$(os).$(arch)
    193193  VBOX_VALIDATIONKIT_FILESPEC += \
    194         $$(VBOX_PATH_VALIDATIONKIT.$(os).$(arch))/exceptionsR3$(TMP_SUFF_EXE) \
    195194        $$(VBOX_PATH_VALIDATIONKIT.$(os).$(arch))/cpu-alloc-all-mem$(TMP_SUFF_EXE) \
    196195        $$(VBOX_PATH_VALIDATIONKIT.$(os).$(arch))/cpu-numa$(TMP_SUFF_EXE) \
     
    203202        $$(VBOX_PATH_VALIDATIONKIT.$(os).$(arch))/vts_rm$(TMP_SUFF_EXE) \
    204203        $$(VBOX_PATH_VALIDATIONKIT.$(os).$(arch))/vts_shutdown$(TMP_SUFF_EXE) \
    205         $$(VBOX_PATH_VALIDATIONKIT.$(os).$(arch))/vts_tar$(TMP_SUFF_EXE) \
    206         $$(VBOX_PATH_VALIDATIONKIT.$(os).$(arch))/xmmsaving$(TMP_SUFF_EXE)
     204        $$(VBOX_PATH_VALIDATIONKIT.$(os).$(arch))/vts_tar$(TMP_SUFF_EXE)
    207205  if1of ($(arch), amd64) ## HACK ALERT! This mirrors VBOX_WITH_R0_MODULES logic in /Config.kmk.
    208206   VBOX_VALIDATIONKIT_FILESPEC += \
    209207        $$(VBOX_PATH_VALIDATIONKIT.$(os).$(arch))/loadgeneratorR0.r0
    210208  endif
    211   ifn1of ($(os), os2) ## not compiling bootsectors, no yasm.  could fix this better.
     209  ifn1of ($(os).$(arch), os2.x86 os2.amd64 darwin.arm64) ## not compiling bootsectors, no yasm.  could fix this better.
    212210   VBOX_VALIDATIONKIT_FILESPEC += \
    213211        $$(VBOX_PATH_VALIDATIONKIT.$(os).$(arch))/bs3-timing-1$(TMP_SUFF_EXE)
     
    217215        $$(VBOX_PATH_VALIDATIONKIT.$(os).$(arch))/vkat$(TMP_SUFF_EXE)
    218216  endif
     217  ifn1of ($(arch), arm64)
     218   VBOX_VALIDATIONKIT_FILESPEC += \
     219        $$(VBOX_PATH_VALIDATIONKIT.$(os).$(arch))/exceptionsR3$(TMP_SUFF_EXE) \
     220        $$(VBOX_PATH_VALIDATIONKIT.$(os).$(arch))/xmmsaving$(TMP_SUFF_EXE)
     221  endif
    219222 endif
    220223endef
     
    225228))
    226229TMP_SUFF_EXE =
    227 $(foreach os, darwin freebsd linux solaris,$(foreach arch, x86 amd64, \
     230$(foreach os, darwin freebsd linux solaris,$(foreach arch, x86 amd64 arm64, \
    228231        $(eval $(def_vbox_validationkit_common_files)) \
    229232))
     
    334337 ))
    335338 TMP_SUFF_EXE =
    336  $(foreach os, darwin freebsd linux solaris,$(foreach arch, x86 amd64, \
     339 $(foreach os, darwin freebsd linux solaris,$(foreach arch, x86 amd64 arm64, \
    337340        $(eval $(def_vbox_validationkit_unittests)) \
    338341 ))
     
    385388endif
    386389ifdef VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING
    387         $(foreach os, darwin linux solaris win,$(foreach arch, x86 amd64, \
     390        $(foreach os, darwin linux solaris win,$(foreach arch, x86 amd64 arm64, \
    388391                $(call MSG_L1, VBOX_PATH_VALIDATIONKIT_UNITTESTS.$(os).$(arch): $(VBOX_PATH_VALIDATIONKIT_UNITTESTS.$(os).$(arch))) \
    389392        ))
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