VirtualBox

Changeset 96246 in vbox


Ignore:
Timestamp:
Aug 17, 2022 8:53:53 AM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
153058
Message:

IPRT,ValKit: Moved the whitelist to ValKit/Config.kmk so the IPRT testcase Makefile.kmk can use it to only build the necessary testcases and not waste time building anything irrelevant. Stripped down the stuff a bit too. bugref:10195

Location:
trunk/src/VBox
Files:
4 edited

Legend:

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

    r96240 r96246  
    5656 LIBRARIES.win.x86 += RuntimeR3VccTricks
    5757 include $(PATH_SUB_CURRENT)/tools/Makefile.kmk
    58  if defined(VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING)
    59   DLLS += VBoxRT
     58 ifdef VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING
    6059  include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
    6160 endif
  • trunk/src/VBox/Runtime/testcase/Makefile.kmk

    r96244 r96246  
    5555# Target lists
    5656#
    57 PROGRAMS += \
    58         tstRTAssertCompile \
    59         tstRTAvl \
    60         tstRTBase64 \
    61         tstRTBitOperations \
    62         tstRTBigNum \
    63         tstRTCidr \
    64         tstRTCritSect \
    65         tstRTCritSectRw \
    66         tstRTCrPkix-1 \
    67         tstRTCrX509-1 \
    68         tstRTCType \
    69         tstRTDigest \
    70         tstRTDigest-2 \
    71         tstDir \
    72         tstDir-2 \
    73         tstDir-3 \
    74         tstRTDvm \
    75         tstRTEnv \
    76         tstRTErr-1 \
    77         tstFile \
    78         tstRTFileAio \
    79         tstRTFileAppend-1 \
    80         tstRTFileQuerySize-1 \
    81         tstRTFileModeStringToFlags \
    82         tstFileLock \
    83         tstRTFileOpenEx-1 \
    84         tstFork \
    85         tstRTFsQueries \
    86         tstRTFilesystem \
    87         tstRTExprEval\
    88         tstRTGetOpt \
    89         tstRTGetOptArgv \
    90         tstHandleTable \
    91         tstRTHeapOffset \
    92         tstRTHeapSimple \
    93         tstIprtList \
    94         tstIprtMiniString \
    95         tstLdr \
    96         tstLdrLoad \
    97         tstRTLocalIpc \
    98         tstRTLdrVerifyPeImage \
    99         tstRTList \
    100         tstRTLockValidator \
    101         tstLog \
    102         tstRTMath \
    103         tstRTMemEf \
    104         tstRTMemCache \
    105         tstRTMemPool \
    106         tstRTMemWipe \
    107         tstRTMemSafer \
    108         tstMove \
    109         tstRTMp-1 \
    110         tstRTNetIPv4 \
    111         tstRTNetIPv6 \
    112         tstOnce \
    113         tstRTPath \
    114         tstRTPathGlob \
    115         tstRTPathQueryInfo \
    116         tstRTPipe \
    117         tstRTPoll \
    118         tstRTPrfIO \
    119         tstRTProcCreateEx \
    120         tstRTProcCreatePrf \
    121         tstRTProcQueryUsername \
    122         tstPrfRT \
    123         tstRand \
    124         tstRTReqPool \
    125         tstRTSemEvent \
    126         tstRTSemEventMulti \
    127         tstSemMutex \
    128         tstSemPingPong \
    129         tstRTSemRW \
    130         tstRTSemXRoads \
    131         tstRTSort \
    132         tstRTStrAlloc \
    133         tstRTStrCache \
    134         tstRTStrCatCopy \
    135         tstRTStrFormat \
    136         tstRTStrSplit \
    137         tstRTStrSimplePattern \
    138         tstStrToNum \
    139         tstRTStrVersion \
    140         tstRTSymlink \
    141         tstRTSystemQueryDmi \
    142         tstRTSystemQueryFirmware \
    143         tstRTSystemQueryOsInfo \
    144         tstRTTcp-1 \
    145         tstRTTemp \
    146         tstRTDirCreateUniqueNumbered \
    147         tstTermCallbacks \
    148         tstThread-1 \
    149         tstRTThreadPoke \
    150         tstRTThreadExecutionTime \
    151         tstRTTime \
    152         tstTime-2 \
    153         tstTime-3 \
    154         tstTime-4 \
    155         tstTimer \
    156         tstRTTimerLR \
    157         tstRTTimeSpec \
    158         tstRTTls-1 \
    159         tstRTTraceLog \
    160         tstRTUdp-1 \
    161         tstUtf8 \
    162         tstRTUuid \
    163         tstRTCircBuf \
    164         tstRTManifest \
    165         tstRTUri \
    166         tstVector \
    167         tstRTVfs \
    168         tstRTZip \
    169         tstRTJson \
    170         tstRTShMem
    171 
    172 PROGRAMS.win += \
    173         tstRTCritSectW32 \
    174         tstRTProcWait \
    175         tstFileAppendWin-1 \
    176         tstRTNtPath-1 \
    177         ntGetTimerResolution \
    178         tstRTDarwinMachKernel
    179 
    180 PROGRAMS.linux += \
    181         tstRTProcWait \
    182         tstRTProcIsRunningByName \
    183         tstRTBitOperationsPIC3
    184 PROGRAMS.solaris += \
    185         tstRTCoreDump
    186 PROGRAMS.darwin += \
    187         tstDarwinSched \
    188         tstRTDarwinMachKernel
    189 ifdef VBOX_WITH_LIBCURL
     57ifndef VBOX_ONLY_VALIDATIONKIT
    19058 PROGRAMS += \
    191         tstRTHttp-1 \
    192         tstRTCRest-1 \
    193         tstRTS3
    194 endif
    195 ifndef VBOX_ONLY_VALIDATIONKIT
    196  # Stuff which does not build yet with the Validation Kit build box. Skip those for now.
    197  PROGRAMS += \
    198         tstRTInlineAsm
     59        tstRTAssertCompile \
     60        tstRTAvl \
     61        tstRTBase64 \
     62        tstRTBitOperations \
     63        tstRTBigNum \
     64        tstRTCidr \
     65        tstRTCritSect \
     66        tstRTCritSectRw \
     67        tstRTCrPkix-1 \
     68        tstRTCrX509-1 \
     69        tstRTCType \
     70        tstRTDigest \
     71        tstRTDigest-2 \
     72        tstDir \
     73        tstDir-2 \
     74        tstDir-3 \
     75        tstRTDvm \
     76        tstRTEnv \
     77        tstRTErr-1 \
     78        tstFile \
     79        tstRTFileAio \
     80        tstRTFileAppend-1 \
     81        tstRTFileQuerySize-1 \
     82        tstRTFileModeStringToFlags \
     83        tstFileLock \
     84        tstRTFileOpenEx-1 \
     85        tstFork \
     86        tstRTFsQueries \
     87        tstRTFilesystem \
     88        tstRTExprEval\
     89        tstRTGetOpt \
     90        tstRTGetOptArgv \
     91        tstHandleTable \
     92        tstRTHeapOffset \
     93        tstRTHeapSimple \
     94        tstRTInlineAsm \
     95        tstIprtList \
     96        tstIprtMiniString \
     97        tstLdr \
     98        tstLdrLoad \
     99        tstRTLocalIpc \
     100        tstRTLdrVerifyPeImage \
     101        tstRTList \
     102        tstRTLockValidator \
     103        tstLog \
     104        tstRTMath \
     105        tstRTMemEf \
     106        tstRTMemCache \
     107        tstRTMemPool \
     108        tstRTMemWipe \
     109        tstRTMemSafer \
     110        tstMove \
     111        tstRTMp-1 \
     112        tstRTNetIPv4 \
     113        tstRTNetIPv6 \
     114        tstOnce \
     115        tstRTPath \
     116        tstRTPathGlob \
     117        tstRTPathQueryInfo \
     118        tstRTPipe \
     119        tstRTPoll \
     120        tstRTPrfIO \
     121        tstRTProcCreateEx \
     122        tstRTProcCreatePrf \
     123        tstRTProcQueryUsername \
     124        tstPrfRT \
     125        tstRand \
     126        tstRTReqPool \
     127        tstRTSemEvent \
     128        tstRTSemEventMulti \
     129        tstSemMutex \
     130        tstSemPingPong \
     131        tstRTSemRW \
     132        tstRTSemXRoads \
     133        tstRTSort \
     134        tstRTStrAlloc \
     135        tstRTStrCache \
     136        tstRTStrCatCopy \
     137        tstRTStrFormat \
     138        tstRTStrSplit \
     139        tstRTStrSimplePattern \
     140        tstStrToNum \
     141        tstRTStrVersion \
     142        tstRTSymlink \
     143        tstRTSystemQueryDmi \
     144        tstRTSystemQueryFirmware \
     145        tstRTSystemQueryOsInfo \
     146        tstRTTcp-1 \
     147        tstRTTemp \
     148        tstRTDirCreateUniqueNumbered \
     149        tstTermCallbacks \
     150        tstThread-1 \
     151        tstRTThreadPoke \
     152        tstRTThreadExecutionTime \
     153        tstRTTime \
     154        tstTime-2 \
     155        tstTime-3 \
     156        tstTime-4 \
     157        tstTimer \
     158        tstRTTimerLR \
     159        tstRTTimeSpec \
     160        tstRTTls-1 \
     161        tstRTTraceLog \
     162        tstRTUdp-1 \
     163        tstUtf8 \
     164        tstRTUuid \
     165        tstRTCircBuf \
     166        tstRTManifest \
     167        tstRTUri \
     168        tstVector \
     169        tstRTVfs \
     170        tstRTZip \
     171        tstRTJson \
     172        tstRTShMem
     173
     174 PROGRAMS.win += \
     175        tstRTCritSectW32 \
     176        tstRTProcWait \
     177        tstFileAppendWin-1 \
     178        tstRTNtPath-1 \
     179        ntGetTimerResolution \
     180        tstRTDarwinMachKernel
     181
    199182 PROGRAMS.linux += \
    200         tstRTInlineAsmPIC \
    201         tstRTInlineAsmPIC3
    202 endif
    203 
    204 if1of ($(KBUILD_TARGET_ARCH), x86 amd64)
    205  PROGRAMS += \
    206         tstNoCrt-1
    207  if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), win.amd64) ## Build and test x86 too!
     183        tstRTProcWait \
     184        tstRTProcIsRunningByName \
     185        tstRTBitOperationsPIC3 \
     186        tstRTInlineAsmPIC \
     187        tstRTInlineAsmPIC3
     188 PROGRAMS.solaris += \
     189        tstRTCoreDump
     190 PROGRAMS.darwin += \
     191        tstDarwinSched \
     192        tstRTDarwinMachKernel
     193 ifdef VBOX_WITH_LIBCURL
    208194  PROGRAMS += \
    209         tstRTNoCrt-2
    210  endif
    211 endif
    212 
    213 if defined(VBOX_WITH_R0_MODULES) && !defined(VBOX_ONLY_VALIDATIONKIT) # Not needed for the Validation Kit (yet).
    214  PROGRAMS += \
    215         tstLdr-2 \
    216         tstLdr-3 \
    217         tstLdr-4 \
    218         tstTSC
    219  if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win"
     195        tstRTHttp-1 \
     196        tstRTCRest-1 \
     197        tstRTS3
     198 endif
     199
     200 if1of ($(KBUILD_TARGET_ARCH), x86 amd64)
    220201  PROGRAMS += \
    221         tstRTR0MemUserKernelDriverHardened \
    222         tstRTR0SemMutexDriverHardened \
    223         tstRTR0TimerDriverHardened \
    224         tstRTR0ThreadPreemptionDriverHardened \
    225         tstRTR0ThreadDriverHardened
    226   DLLS     += \
    227         tstRTR0MemUserKernelDriver \
    228         tstRTR0SemMutexDriver \
    229         tstRTR0TimerDriver \
    230         tstRTR0ThreadPreemptionDriver \
    231         tstRTR0ThreadDriver
    232  else
     202        tstNoCrt-1
     203  if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), win.amd64) ## Build and test x86 too!
     204   PROGRAMS += \
     205        tstRTNoCrt-2
     206  endif
     207 endif
     208
     209 if defined(VBOX_WITH_R0_MODULES)
    233210  PROGRAMS += \
    234         tstRTR0MemUserKernelDriver \
    235         tstRTR0SemMutexDriver \
    236         tstRTR0TimerDriver \
    237         tstRTR0ThreadPreemptionDriver \
    238         tstRTR0ThreadDriver
    239  endif
    240  if1of ($(KBUILD_TARGET_ARCH), $(VBOX_SUPPORTED_HOST_ARCHS))
     211        tstLdr-2 \
     212        tstLdr-3 \
     213        tstLdr-4 \
     214        tstTSC
     215  if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win"
     216   PROGRAMS += \
     217        tstRTR0MemUserKernelDriverHardened \
     218        tstRTR0SemMutexDriverHardened \
     219        tstRTR0TimerDriverHardened \
     220        tstRTR0ThreadPreemptionDriverHardened \
     221        tstRTR0ThreadDriverHardened
     222   DLLS     += \
     223        tstRTR0MemUserKernelDriver \
     224        tstRTR0SemMutexDriver \
     225        tstRTR0TimerDriver \
     226        tstRTR0ThreadPreemptionDriver \
     227        tstRTR0ThreadDriver
     228  else
     229   PROGRAMS += \
     230        tstRTR0MemUserKernelDriver \
     231        tstRTR0SemMutexDriver \
     232        tstRTR0TimerDriver \
     233        tstRTR0ThreadPreemptionDriver \
     234        tstRTR0ThreadDriver
     235  endif
     236  if1of ($(KBUILD_TARGET_ARCH), $(VBOX_SUPPORTED_HOST_ARCHS))
     237   $(if-expr defined(VBOX_WITH_VBOXR0_AS_DLL),DLLS,SYSMODS) += \
     238        tstLdrObjR0
     239   ifdef VBOX_WITH_RAW_MODE
     240    SYSMODS += tstLdrObj
     241   endif
     242  endif
    241243  $(if-expr defined(VBOX_WITH_VBOXR0_AS_DLL),DLLS,SYSMODS) += \
    242         tstLdrObjR0
    243   ifdef VBOX_WITH_RAW_MODE
    244    SYSMODS += tstLdrObj
    245   endif
    246  endif
    247  $(if-expr defined(VBOX_WITH_VBOXR0_AS_DLL),DLLS,SYSMODS) += \
    248         tstRTR0MemUserKernel \
    249         tstRTR0SemMutex \
    250         tstRTR0Timer \
    251         tstRTR0ThreadPreemption \
    252         tstRTR0Thread
    253  if1of ($(KBUILD_TARGET), solaris darwin)
    254   PROGRAMS += tstRTR0DbgKrnlInfoDriver
    255   $(if-expr defined(VBOX_WITH_VBOXR0_AS_DLL),DLLS,SYSMODS) += tstRTR0DbgKrnlInfo
    256  endif # VBOX_SUPPORTED_HOST_ARCHS only
    257 
    258 endif
    259 if1of ($(VBOX_LDR_FMT)), lx pe)
    260  LIBRARIES += \
    261         tstLdr-4Imp
    262 endif
     244        tstRTR0MemUserKernel \
     245        tstRTR0SemMutex \
     246        tstRTR0Timer \
     247        tstRTR0ThreadPreemption \
     248        tstRTR0Thread
     249  if1of ($(KBUILD_TARGET), solaris darwin)
     250   PROGRAMS += tstRTR0DbgKrnlInfoDriver
     251   $(if-expr defined(VBOX_WITH_VBOXR0_AS_DLL),DLLS,SYSMODS) += tstRTR0DbgKrnlInfo
     252  endif # VBOX_SUPPORTED_HOST_ARCHS only
     253
     254 endif
     255 if1of ($(VBOX_LDR_FMT)), lx pe)
     256  LIBRARIES += \
     257        tstLdr-4Imp
     258 endif
     259
     260endif # !VBOX_ONLY_VALIDATIONKIT
    263261
    264262
     
    10631061ntGetTimerResolution_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK) VBOX_NTDLL
    10641062
    1065 #
    1066 # Filter out testcases which don't yet work when statically linked as Guest Additions R3 programs.
    1067 #
    1068 # We currently do this for running those via the Validation Kit on old / ancient guests.
    1069 # Note that we not necessarily run all unit tests available (white list).
    1070 #
    1071 # See @bugref:10195.
    1072 #
    1073 if defined(VBOX_ONLY_VALIDATIONKIT)
    1074  VBOX_VALIDATIONKIT_UNITTESTS_SKIP=\
    1075         tstIprtList \
    1076         tstIprtMiniString \
    1077         tstLdr \
    1078         tstLdrLoad \
    1079         tstRTBigNum \
    1080         tstRTCRest-1 \
    1081         tstRTCrPkix-1 \
    1082         tstRTCrX509-1 \
    1083         tstRTS3 \
    1084         tstRTHttp-1 \
    1085         tstRTInlineAsm \
    1086         tstRTInlineAsmPIC \
    1087         tstRTInlineAsmPIC3 \
    1088         tstRTLdrVerifyPeImage \
    1089         tstRTLocalIpc \
    1090         tstRTMemSafer \
    1091         tstRTMp-1 \
    1092         tstRTNtPath-1 \
    1093         tstRTSemEvent \
    1094         tstRTSemEventMulti \
    1095         tstRTSystemQueryDmi \
    1096         tstRTSystemQueryFirmware \
    1097         tstRTSystemQueryOsInfo \
    1098         tstRTTime \
    1099         tstRTTimerLR \
    1100         tstTime-2 \
    1101         tstTime-3 \
    1102         tstTime-4 \
    1103         tstTimer \
    1104         tstRTZip
    1105 
    1106  VBOX_VALIDATIONKIT_UNITTESTS_SKIP.win +=\
    1107         ntGetTimerResolution
    1108 
    1109  # Filter out all programs not starting with "tst", as there might be build-related
    1110  # programs like bldRTIsoMaker etc. not needed here.
    1111  VBOX_VALIDATIONKIT_UNITTESTS := $(filter tst%,$(PROGRAMS))
    1112 
    1113  # Filter out all unit tests we want to skip (see above).
    1114  VBOX_VALIDATIONKIT_UNITTESTS := $(filter-out $(VBOX_VALIDATIONKIT_UNITTESTS_SKIP),$(VBOX_VALIDATIONKIT_UNITTESTS))
    1115 
    1116  # Also apply filtering to the host's testcases.
    1117  PROGRAMS := $(filter-out $(VBOX_VALIDATIONKIT_UNITTESTS_SKIP),$(PROGRAMS))
    1118 
    1119  if defined(VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING)
    1120   ## @todo There might be a more elegant want of copying a target's stuff. Works for now.
    1121   define def_unittest_valkit
    1122    $(unittest)_ValKit_TEMPLATE       := VBoxValidationKitR3TstExe
    1123    $(unittest)_ValKit_SOURCES        += $$($(unittest)_SOURCES)
    1124    $(unittest)_ValKit_SOURCES.x86    += $$($(unittest)_SOURCES.x86)
    1125    $(unittest)_ValKit_SOURCES.amd64  += $$($(unittest)_SOURCES.amd64)
    1126    $(unittest)_ValKit_INCS           += $$($(unittest)_INCS)
    1127    $(unittest)_ValKit_INTERMEDIATES  += $$($(unittest)_INTERMEDIATES)
    1128    $(unittest)_ValKit_CLEAN          += $$($(unittest)_CLEAN)
    1129    $(unittest)_ValKit_NAME           := $(unittest)
    1130    PROGRAMS += $(unittest)_ValKit
    1131   endef
    1132  endif
    1133 
    1134  $(foreach unittest, $(VBOX_VALIDATIONKIT_UNITTESTS), \
    1135         $(eval $(call def_unittest_valkit)))
    1136 
    1137 endif # defined(VBOX_ONLY_VALIDATIONKIT) && defined(VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING)
     1063
     1064#
     1065# ValKit versions of selected tests.
     1066#
     1067ifdef VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING
     1068 define def_valkit_unittest_iprt
     1069  $(unittest)_ValKit_TEMPLATE := VBoxValidationKitR3TstExe
     1070  $(unittest)_ValKit_EXTENDS  := $(unittest)
     1071  $(unittest)_ValKit_NAME     := $(unittest)
     1072  PROGRAMS += $(unittest)_ValKit
     1073 endef
     1074 $(foreach unittest, $(VALKIT_UNITTESTS_WHITELIST_IPRT) $($(VALKIT_UNITTESTS_WHITELIST_IPRT).$(KBUILD_TARGET)), \
     1075        $(eval $(call def_valkit_unittest_iprt)))
     1076endif
    11381077
    11391078endif # VBOX_WITH_TESTCASES
  • trunk/src/VBox/ValidationKit/Config.kmk

    r94968 r96246  
    239239endef
    240240endif
     241
     242
     243#
     244# List of IPRT testcases that will be included in the ValKit.
     245#
     246ifdef 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
     265endif # VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING
     266
  • trunk/src/VBox/ValidationKit/Makefile.kmk

    r96245 r96246  
    308308#
    309309ifdef 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
    342311  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)), \
    344313                $$(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
    365325endif # VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING
    366326
Note: See TracChangeset for help on using the changeset viewer.

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