VirtualBox

source: vbox/trunk/src/VBox/HostServices/testcase/Makefile.kmk@ 66832

Last change on this file since 66832 was 62489, checked in by vboxsync, 8 years ago

(C) 2016

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1# $Id: Makefile.kmk 62489 2016-07-22 18:41:09Z vboxsync $
2## @file
3# Sub-Makefile for the HGCM service testcase.
4#
5
6#
7# Copyright (C) 2009-2016 Oracle Corporation
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18SUB_DEPTH = ../../../..
19include $(KBUILD_PATH)/subheader.kmk
20
21if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
22
23 #
24 # Set this in LocalConfig.kmk if you are working on HGCM service internals
25 # to automatically run the unit test at build time:
26 # OTHERS += $(tstHGCMSvc_0_OUTDIR)/tstHGCMSvc.run
27 #
28 PROGRAMS += tstHGCMSvc
29 TESTING += $(tstHGCMSvc_0_OUTDIR)/tstHGCMSvc.run
30 tstHGCMSvc_TEMPLATE = VBOXR3TSTEXE
31 tstHGCMSvc_DEFS = VBOX_WITH_HGCM VBOX_TEST_HGCM_PARMS
32 tstHGCMSvc_SOURCES = tstHGCMSvc.cpp
33 tstHGCMSvc_CLEAN = $(tstHGCMSvc_0_OUTDIR)/tstHGCMSvc.run
34
35$$(tstHGCMSvc_0_OUTDIR)/tstHGCMSvc.run: $$(tstHGCMSvc_1_STAGE_TARGET)
36 export VBOX_LOG_DEST=nofile; $(tstHGCMSvc_1_STAGE_TARGET) quiet
37 $(QUIET)$(APPEND) -t "$@" "done"
38
39endif # VBOX_WITH_TESTCASES
40
41include $(FILE_KBUILD_SUB_FOOTER)
42
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