1 | # $Id: Makefile.kmk 82968 2020-02-04 10:35:17Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the Guest Properties Host Service testcases.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2020 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 |
|
---|
18 | SUB_DEPTH = ../../../../..
|
---|
19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
20 |
|
---|
21 | if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
|
---|
22 |
|
---|
23 | # Set this in LocalConfig.kmk if you are working on the guest property
|
---|
24 | # service to automatically run the testcase at build time.
|
---|
25 | # OTHERS += $(tstGuestPropSvc_0_OUTDIR)/tstGuestPropSvc.run
|
---|
26 | #
|
---|
27 |
|
---|
28 | PROGRAMS += tstGuestPropSvc
|
---|
29 | TESTING += $(tstGuestPropSvc_0_OUTDIR)/tstGuestPropSvc.run
|
---|
30 | tstGuestPropSvc_TEMPLATE = VBOXR3TSTEXE
|
---|
31 | # The second define here is to ensure that the testcase will run fast,
|
---|
32 | # without waiting for any thread synchronisation.
|
---|
33 | tstGuestPropSvc_DEFS = VBOX_WITH_HGCM VBOX_GUEST_PROP_TEST_NOTHREAD
|
---|
34 | tstGuestPropSvc_SOURCES = \
|
---|
35 | tstGuestPropSvc.cpp \
|
---|
36 | ../VBoxGuestPropSvc.cpp
|
---|
37 | tstGuestPropSvc_LIBS = $(LIB_RUNTIME)
|
---|
38 |
|
---|
39 | $$(tstGuestPropSvc_0_OUTDIR)/tstGuestPropSvc.run: $$(tstGuestPropSvc_1_STAGE_TARGET)
|
---|
40 | export VBOX_LOG_DEST=nofile; $(tstGuestPropSvc_1_STAGE_TARGET) quiet
|
---|
41 | $(QUIET)$(APPEND) -t "$@" "done"
|
---|
42 |
|
---|
43 | endif
|
---|
44 |
|
---|
45 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
46 |
|
---|