VirtualBox

source: vbox/trunk/src/VBox/GuestHost/installation/testcase/Makefile.kmk@ 107076

Last change on this file since 107076 was 107076, checked in by vboxsync, 2 months ago

Windows driver installation: Added INF installation testcases (dry-run mode). bugref:10762

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.3 KB
Line 
1# $Id: Makefile.kmk 107076 2024-11-21 09:59:02Z 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.virtualbox.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
28SUB_DEPTH = ../../../../..
29include $(KBUILD_PATH)/subheader.kmk
30
31if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
32 PROGRAMS += tstVBoxWinDrvInstInf
33 TESTING += $(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_DEPS += $(wildcard $(PATH_SUB_CURRENT)/inf/*.inf)
44 tstVBoxWinDrvInstInf_INCS += ../
45 tstVBoxWinDrvInstInf_CLEAN = \
46 $(tstVBoxWinDrvInstInf_0_OUTDIR)/tstVBoxWinDrvInstInf.run \
47 $(INST_TESTCASE)inf/
48
49 # Install required INF files into testcase/ directory.
50 INSTALLS += tstVBoxWinDrvInstInfFiles
51 tstVBoxWinDrvInstInfFiles_INST = $(INST_TESTCASE)inf/
52 tstVBoxWinDrvInstInfFiles_SOURCES := $(wildcard $(PATH_SUB_CURRENT)/inf/*.inf)
53
54 $$(tstVBoxWinDrvInstInf_0_OUTDIR)/tstVBoxWinDrvInstInf.run: \
55 $$(tstVBoxWinDrvInstInf_1_STAGE_TARGET) $(wildcard $(PATH_SUB_CURRENT)/inf/*.inf)
56 export VBOX_LOG_DEST=nofile; $(tstVBoxWinDrvInstInf_1_STAGE_TARGET)
57 $(QUIET)$(APPEND) -t "$@" "done"
58
59 OTHERS += $(tstVBoxWinDrvInstInf_0_OUTDIR)/tstVBoxWinDrvInstInf.run
60
61endif
62
63include $(FILE_KBUILD_SUB_FOOTER)
Note: See TracBrowser for help on using the repository browser.

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