Makefile.kmk revision 376e7522b2055ec5f2834c8e52dfefbee1c5ea8b
# $Id$
## @file
# Sub-Makefile for the VBox Linux installer testcase.
#
#
# Copyright (C) 2006-2012 Oracle Corporation
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify it under the terms of the GNU
# General Public License (GPL) as published by the Free Software
# Foundation, in version 2 as it comes in the "COPYING" file of the
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
#
SUB_DEPTH = ../../../../..
include $(KBUILD_PATH)/subheader.kmk
INSTALLS += tstInstallerLinux
TESTING += tstInstallerLinux
tstInstallerLinux_INST = $(INST_TESTCASE)
tstInstallerLinux_MODE = a+rx,u+w
tstInstallerLinux_SOURCES = $(tstInstallerLinux_0_OUTDIR)/tstInstallerLinux.sh
tstInstallerLinux_CLEAN = $(tstInstallerLinux_0_OUTDIR)/tstInstallerLinux.sh
$$(tstInstallerLinux_0_OUTDIR)/tstInstallerLinux.sh: \
$(PATH_SUB_CURRENT)/tstInstallerLinux.sh \
$(PATH_SUB_CURRENT)/../installer-common.sh \
| $$(dir $$@)
$(QUIET)$(SED) \
-e '/#include installer-common.sh/ {' \
-e "r $(PATH_ROOT)/src/VBox/Installer/linux/installer-common.sh" \
-e 'd' \
-e '}' \
--output $@ \
$<
$(QUIET)$(CHMOD) a+rx,u+w $@
INSTALLS += tstHeadlessXOrg
TESTING += tstHeadlessXOrg
tstHeadlessXOrg_INST = $(INST_TESTCASE)
tstHeadlessXOrg_MODE = a+rx,u+w
tstHeadlessXOrg_SOURCES = tstHeadlessXOrg.sh
INSTALLS += tstInstallInit
TESTING += tstInstallInit
tstHeadlessXOrg_INST = $(INST_TESTCASE)
tstHeadlessXOrg_MODE = a+rx,u+w
tstHeadlessXOrg_SOURCES = tstInstallInit.sh
include $(FILE_KBUILD_SUB_FOOTER)