1 | # $Id: Makefile.kmk 107087 2024-11-21 14:39:10Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the VBox driver installation testcases.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2024 Oracle and/or its affiliates.
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox base platform packages, as
|
---|
10 | # available from https://www.alldomusa.eu.org.
|
---|
11 | #
|
---|
12 | # This program is free software; you can redistribute it and/or
|
---|
13 | # modify it under the terms of the GNU General Public License
|
---|
14 | # as published by the Free Software Foundation, in version 3 of the
|
---|
15 | # License.
|
---|
16 | #
|
---|
17 | # This program is distributed in the hope that it will be useful, but
|
---|
18 | # WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
20 | # General Public License for more details.
|
---|
21 | #
|
---|
22 | # You should have received a copy of the GNU General Public License
|
---|
23 | # along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
24 | #
|
---|
25 | # SPDX-License-Identifier: GPL-3.0-only
|
---|
26 | #
|
---|
27 |
|
---|
28 | SUB_DEPTH = ../../../../..
|
---|
29 | include $(KBUILD_PATH)/subheader.kmk
|
---|
30 |
|
---|
31 | if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
|
---|
32 | PROGRAMS.win += tstVBoxWinDrvInstInf
|
---|
33 | TESTING.win += $(tstVBoxWinDrvInstInf_0_OUTDIR)/tstVBoxWinDrvInstInf.run
|
---|
34 |
|
---|
35 | tstVBoxWinDrvInstInf_TEMPLATE = VBoxR3TstExe
|
---|
36 | # Only test AMD64 on all platform for now, as the INF test files have the architecture hardcoded.
|
---|
37 | tstVBoxWinDrvInstInf_DEFS = TESTCASE VBOXWINDRVINF_NATIVE_ARCH_STR="AMD64"
|
---|
38 | tstVBoxWinDrvInstInf_SOURCES = \
|
---|
39 | tstVBoxWinDrvInstInf.cpp \
|
---|
40 | ../VBoxWinDrvCommon.cpp \
|
---|
41 | ../VBoxWinDrvStore.cpp \
|
---|
42 | ../VBoxWinDrvInst.cpp
|
---|
43 | tstVBoxWinDrvInstInf_INCS += ../
|
---|
44 |
|
---|
45 | # Install required INF files into testcase/ directory.
|
---|
46 | INSTALLS.win += tstVBoxWinDrvInstInfFiles
|
---|
47 | tstVBoxWinDrvInstInfFiles_INST = $(INST_TESTCASE)inf/
|
---|
48 | tstVBoxWinDrvInstInfFiles_SOURCES := $(wildcard $(PATH_SUB_CURRENT)/inf/*.inf)
|
---|
49 |
|
---|
50 | endif
|
---|
51 |
|
---|
52 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|