VirtualBox

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

Last change on this file since 85416 was 83707, checked in by vboxsync, 5 years ago

Shared Clipboard/testcase: Disabled automatically running testcases after compilation by default.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.3 KB
Line 
1# $Id: Makefile.kmk 83707 2020-04-15 16:06:12Z vboxsync $
2## @file
3# Sub-Makefile for the Shared Clipboard Host Service testcases.
4#
5
6#
7# Copyright (C) 2011-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
18SUB_DEPTH = ../../../../..
19include $(KBUILD_PATH)/subheader.kmk
20
21if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
22
23 PROGRAMS += tstClipboardServiceHost
24 ifn1of ($(KBUILD_TARGET), darwin)
25 TESTING += $(tstClipboardServiceHost_0_OUTDIR)/tstClipboardServiceHost.run
26 endif
27
28 tstClipboardServiceHost_TEMPLATE = VBOXR3AUTOTST
29 tstClipboardServiceHost_DEFS = VBOX_WITH_HGCM UNIT_TEST
30 tstClipboardServiceHost_SOURCES = \
31 ../VBoxSharedClipboardSvc.cpp \
32 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \
33 $(PATH_ROOT)/src/VBox/HostServices/common/message.cpp \
34 tstClipboardServiceHost.cpp
35 tstClipboardServiceHost_LIBS = $(LIB_RUNTIME)
36 tstClipboardServiceHost_CLEAN = $(tstClipboardServiceHost_0_OUTDIR)/tstClipboardServiceHost.run
37
38 $$(tstClipboardServiceHost_0_OUTDIR)/tstClipboardServiceHost.run: $$(tstClipboardServiceHost_1_STAGE_TARGET)
39 export VBOX_LOG_DEST=nofile; $(tstClipboardServiceHost_1_STAGE_TARGET) quiet
40 $(QUIET)$(APPEND) -t "$@" "done"
41
42 if defined(VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS)
43 tstClipboardServiceHost_DEFS += VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS
44 tstClipboardServiceHost_SOURCES += \
45 ../VBoxSharedClipboardSvc-transfers.cpp \
46 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp \
47 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardArea.cpp
48 endif
49
50 PROGRAMS += tstClipboardServiceImpl
51 ifn1of ($(KBUILD_TARGET), darwin)
52 TESTING += $(tstClipboardServiceImpl_0_OUTDIR)/tstClipboardServiceImpl.run
53 endif
54
55 tstClipboardServiceImpl_TEMPLATE = VBOXR3AUTOTST
56 tstClipboardServiceImpl_DEFS = VBOX_WITH_HGCM UNIT_TEST
57 tstClipboardServiceImpl_SOURCES = \
58 ../VBoxSharedClipboardSvc.cpp \
59 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \
60 $(PATH_ROOT)/src/VBox/HostServices/common/message.cpp \
61 tstClipboardServiceImpl.cpp
62 tstClipboardServiceImpl_LIBS = $(LIB_RUNTIME)
63 tstClipboardServiceImpl_CLEAN = $(tstClipboardServiceImpl_0_OUTDIR)/tstClipboardServiceImpl.run
64
65 $$(tstClipboardServiceImpl_0_OUTDIR)/tstClipboardServiceImpl.run: $$(tstClipboardServiceImpl_1_STAGE_TARGET)
66 export VBOX_LOG_DEST=nofile; $(tstClipboardServiceImpl_1_STAGE_TARGET) quiet
67 $(QUIET)$(APPEND) -t "$@" "done"
68
69 if defined(VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS)
70 PROGRAMS += tstClipboardTransfers
71 tstClipboardTransfers_TEMPLATE = VBOXR3TSTEXE
72 tstClipboardTransfers_DEFS = VBOX_WITH_HGCM UNIT_TEST VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS
73 tstClipboardTransfers_SOURCES = \
74 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \
75 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp \
76 tstClipboardTransfers.cpp
77 endif
78endif
79
80include $(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