1 | # $Id: Makefile.kmk 13916 2008-11-06 13:48:05Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the Guest Properties Host Service testcases.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2007 Sun Microsystems, Inc.
|
---|
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 | # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
|
---|
18 | # Clara, CA 95054 USA or visit http://www.sun.com if you need
|
---|
19 | # additional information or have any questions.
|
---|
20 | #
|
---|
21 |
|
---|
22 | SUB_DEPTH = ../../../../..
|
---|
23 | include $(KBUILD_PATH)/subheader.kmk
|
---|
24 |
|
---|
25 | ifdef VBOX_WITH_TESTCASES
|
---|
26 | #
|
---|
27 | # Case conversion testcase.
|
---|
28 | #
|
---|
29 | PROGRAMS += tstGuestPropSvc
|
---|
30 | tstGuestPropSvc_TEMPLATE = VBOXR3TSTEXE
|
---|
31 | # The second define here is to ensure that the testcase will run fast, without
|
---|
32 | # waiting for any thread synchronisation.
|
---|
33 | tstGuestPropSvc_DEFS = VBOX_WITH_HGCM VBOX_GUEST_PROP_TEST_NOTHREAD
|
---|
34 | tstGuestPropSvc_SOURCES = tstGuestPropSvc.cpp ../service.cpp
|
---|
35 | tstGuestPropSvc_LIBS = $(LIB_RUNTIME)
|
---|
36 |
|
---|
37 | # Set this in LocalConfig.kmk if you are working on the guest property service
|
---|
38 | # to automatically run the testcase at build time.
|
---|
39 | ifdef VBOX_RUN_GUEST_PROPERTY_TEST
|
---|
40 | ifndef VBOX_ONLY_SDK
|
---|
41 | TESTING += $(PATH_tstGuestPropSvc)/tstGuestPropSvc.run
|
---|
42 | OTHERS += $(PATH_tstGuestPropSvc)/tstGuestPropSvc.run
|
---|
43 | $$(PATH_tstGuestPropSvc)/tstGuestPropSvc.run: $$(INSTARGET_tstGuestPropSvc)
|
---|
44 | export VBOX_LOG_DEST=nofile; $(INSTARGET_tstGuestPropSvc) quiet
|
---|
45 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
46 | endif
|
---|
47 | endif
|
---|
48 |
|
---|
49 | endif # VBOX_WITH_TESTCASES
|
---|
50 |
|
---|
51 |
|
---|
52 | include $(KBUILD_PATH)/subfooter.kmk
|
---|
53 |
|
---|