Changeset 98415 in vbox for trunk/src/VBox
- Timestamp:
- Feb 1, 2023 4:24:09 PM (23 months ago)
- Location:
- trunk/src/VBox/HostServices
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/DragAndDrop/Makefile.kmk
r98133 r98415 50 50 51 51 VBoxDragAndDropSvc_SOURCES += \ 52 53 52 ../common/client.cpp \ 53 ../common/message.cpp 54 54 55 55 VBoxDragAndDropSvc_SOURCES.win = \ -
trunk/src/VBox/HostServices/GuestControl/testcase/Makefile.kmk
r98169 r98415 43 43 tstGuestControlSvc_DEFS = VBOX_WITH_HGCM VBOX_GUEST_CONTROL_TEST_NOTHREAD 44 44 tstGuestControlSvc_SOURCES = \ 45 ../VBoxGuestControlSvc.cpp \46 tstGuestControlSvc.cpp45 ../VBoxGuestControlSvc.cpp \ 46 tstGuestControlSvc.cpp 47 47 tstGuestControlSvc_LIBS = $(LIB_RUNTIME) 48 48 49 $$(tstGuestControlSvc_0_OUTDIR)/tstGuestControlSvc.run: $$(tstGuestControlSvc_1_STAGE_TARGET)49 $$(tstGuestControlSvc_0_OUTDIR)/tstGuestControlSvc.run: $$(tstGuestControlSvc_1_STAGE_TARGET) 50 50 export VBOX_LOG_DEST=nofile; $(tstGuestControlSvc_1_STAGE_TARGET) quiet 51 51 $(QUIET)$(APPEND) -t "$@" "done" -
trunk/src/VBox/HostServices/GuestProperties/testcase/Makefile.kmk
r98169 r98415 43 43 tstGuestPropSvc_DEFS = VBOX_WITH_HGCM VBOX_GUEST_PROP_TEST_NOTHREAD 44 44 tstGuestPropSvc_SOURCES = \ 45 tstGuestPropSvc.cpp \46 ../VBoxGuestPropSvc.cpp45 tstGuestPropSvc.cpp \ 46 ../VBoxGuestPropSvc.cpp 47 47 tstGuestPropSvc_LIBS = $(LIB_RUNTIME) 48 48 49 $$(tstGuestPropSvc_0_OUTDIR)/tstGuestPropSvc.run: $$(tstGuestPropSvc_1_STAGE_TARGET)49 $$(tstGuestPropSvc_0_OUTDIR)/tstGuestPropSvc.run: $$(tstGuestPropSvc_1_STAGE_TARGET) 50 50 export VBOX_LOG_DEST=nofile; $(tstGuestPropSvc_1_STAGE_TARGET) quiet 51 51 $(QUIET)$(APPEND) -t "$@" "done" -
trunk/src/VBox/HostServices/SharedClipboard/Makefile.kmk
r98169 r98415 58 58 VBoxSharedClipboard_DEFS += VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS_HTTP 59 59 VBoxSharedClipboard_SOURCES += \ 60 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers-http.cpp60 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers-http.cpp 61 61 endif 62 62 VBoxSharedClipboard_DEFS += VBOX_WITH_SHARED_CLIPBOARD_HOST 63 63 VBoxSharedClipboard_SOURCES += \ 64 VBoxSharedClipboardSvc-transfers.cpp \65 VBoxSharedClipboardSvc-utils.cpp \66 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardPath.cpp \67 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp64 VBoxSharedClipboardSvc-transfers.cpp \ 65 VBoxSharedClipboardSvc-utils.cpp \ 66 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardPath.cpp \ 67 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp 68 68 VBoxSharedClipboard_SOURCES.win += \ 69 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardDataObjectImpl-win.cpp \70 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardEnumFormatEtcImpl-win.cpp \71 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardStreamImpl-win.cpp69 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardDataObjectImpl-win.cpp \ 70 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardEnumFormatEtcImpl-win.cpp \ 71 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardStreamImpl-win.cpp 72 72 endif 73 73 if1of ($(KBUILD_TARGET), linux solaris freebsd) ## @todo X11 74 74 ifndef VBOX_HEADLESS 75 75 VBoxSharedClipboard_SOURCES += \ 76 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-x11.cpp \77 VBoxSharedClipboardSvc-x11.cpp76 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-x11.cpp \ 77 VBoxSharedClipboardSvc-x11.cpp 78 78 else 79 79 VBoxSharedClipboard_SOURCES += \ 80 VBoxSharedClipboardSvc-x11-stubs.cpp80 VBoxSharedClipboardSvc-x11-stubs.cpp 81 81 endif 82 82 endif … … 87 87 ifndef VBOX_HEADLESS 88 88 VBoxSharedClipboard_LIBPATH = \ 89 $(VBOX_LIBPATH_X11)89 $(VBOX_LIBPATH_X11) 90 90 VBoxSharedClipboard_LIBS += \ 91 Xt \92 X1191 Xt \ 92 X11 93 93 endif 94 94 endif … … 99 99 if 0 ## Disabled for now; needs to be adapted to the new protocol first. 100 100 if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK) 101 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)102 #103 # Set this in LocalConfig.kmk if you are working on the X11 clipboard service104 # to automatically run the unit test at build time.105 # OTHERS += $(tstClipboardX11-2_0_OUTDIR)/tstClipboardX11-2.run106 PROGRAMS += tstClipboardX11-2107 TESTING += $(tstClipboardX11-2_0_OUTDIR)/tstClipboardX11-2.run108 tstClipboardX11-2_TEMPLATE = VBoxR3TstExe109 tstClipboardX11-2_DEFS= VBOX_WITH_HGCM TESTCASE110 tstClipboardX11-2_SOURCES= VBoxSharedClipboardSvc-x11.cpp111 tstClipboardX11-2_LIBS= $(LIB_RUNTIME)112 tstClipboardX11-2_CLEAN= $(tstClipboardX11-2_0_OUTDIR)/tstClipboardX11-2.run101 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) 102 # 103 # Set this in LocalConfig.kmk if you are working on the X11 clipboard service 104 # to automatically run the unit test at build time. 105 # OTHERS += $(tstClipboardX11-2_0_OUTDIR)/tstClipboardX11-2.run 106 PROGRAMS += tstClipboardX11-2 107 TESTING += $(tstClipboardX11-2_0_OUTDIR)/tstClipboardX11-2.run 108 tstClipboardX11-2_TEMPLATE = VBoxR3TstExe 109 tstClipboardX11-2_DEFS = VBOX_WITH_HGCM TESTCASE 110 tstClipboardX11-2_SOURCES = VBoxSharedClipboardSvc-x11.cpp 111 tstClipboardX11-2_LIBS = $(LIB_RUNTIME) 112 tstClipboardX11-2_CLEAN = $(tstClipboardX11-2_0_OUTDIR)/tstClipboardX11-2.run 113 113 114 $$(tstClipboardX11-2_0_OUTDIR)/tstClipboardX11-2.run: $$(tstClipboardX11-2_1_STAGE_TARGET)114 $$(tstClipboardX11-2_0_OUTDIR)/tstClipboardX11-2.run: $$(tstClipboardX11-2_1_STAGE_TARGET) 115 115 export VBOX_LOG_DEST=nofile; $(tstClipboardX11-2_1_STAGE_TARGET) quiet 116 116 $(QUIET)$(APPEND) -t "$@" "done" -
trunk/src/VBox/HostServices/SharedClipboard/testcase/Makefile.kmk
r98169 r98415 31 31 if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK) 32 32 33 #34 # Testcase which mocks HGCM to also test the VbglR3-side of Shared Clipboard.35 #36 # Goal is to use and test as much guest side code as possible as a self-contained37 # binary on the host here.38 #39 # Note: No #ifdef TESTCASE hacks or similar allowed, has to run40 # without #ifdef modifications to the core code!41 #42 tstClipboardMockHGCM_TEMPLATE = VBoxR3TstExe43 tstClipboardMockHGCM_DEFS= VBOX_WITH_HGCM VBOX_WITH_SHARED_CLIPBOARD44 tstClipboardMockHGCM_SOURCES= \45 ../VBoxSharedClipboardSvc.cpp \46 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \47 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibClipboard.cpp \48 $(PATH_ROOT)/src/VBox/HostServices/common/message.cpp \49 tstClipboardMockHGCM.cpp50 tstClipboardMockHGCM_LIBS= $(LIB_RUNTIME)33 # 34 # Testcase which mocks HGCM to also test the VbglR3-side of Shared Clipboard. 35 # 36 # Goal is to use and test as much guest side code as possible as a self-contained 37 # binary on the host here. 38 # 39 # Note: No #ifdef TESTCASE hacks or similar allowed, has to run 40 # without #ifdef modifications to the core code! 41 # 42 tstClipboardMockHGCM_TEMPLATE = VBoxR3TstExe 43 tstClipboardMockHGCM_DEFS = VBOX_WITH_HGCM VBOX_WITH_SHARED_CLIPBOARD 44 tstClipboardMockHGCM_SOURCES = \ 45 ../VBoxSharedClipboardSvc.cpp \ 46 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \ 47 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibClipboard.cpp \ 48 $(PATH_ROOT)/src/VBox/HostServices/common/message.cpp \ 49 tstClipboardMockHGCM.cpp 50 tstClipboardMockHGCM_LIBS = $(LIB_RUNTIME) 51 51 52 if1of ($(KBUILD_TARGET), linux solaris)53 PROGRAMS += tstClipboardMockHGCM54 tstClipboardMockHGCM_SOURCES += \55 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-x11.cpp \56 ../VBoxSharedClipboardSvc-x11.cpp57 tstClipboardMockHGCM_LIBPATH= \58 $(VBOX_LIBPATH_X11)59 tstClipboardMockHGCM_LIBS+= \60 Xt \61 X1162 endif63 if1of ($(KBUILD_TARGET), win)64 PROGRAMS += tstClipboardMockHGCM65 tstClipboardMockHGCM_SOURCES += \66 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-win.cpp \67 ../VBoxSharedClipboardSvc-win.cpp68 endif52 if1of ($(KBUILD_TARGET), linux solaris) 53 PROGRAMS += tstClipboardMockHGCM 54 tstClipboardMockHGCM_SOURCES += \ 55 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-x11.cpp \ 56 ../VBoxSharedClipboardSvc-x11.cpp 57 tstClipboardMockHGCM_LIBPATH = \ 58 $(VBOX_LIBPATH_X11) 59 tstClipboardMockHGCM_LIBS += \ 60 Xt \ 61 X11 62 endif 63 if1of ($(KBUILD_TARGET), win) 64 PROGRAMS += tstClipboardMockHGCM 65 tstClipboardMockHGCM_SOURCES += \ 66 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-win.cpp \ 67 ../VBoxSharedClipboardSvc-win.cpp 68 endif 69 69 70 tstClipboardMockHGCM_CLEAN = $(tstClipboardMockHGCM_0_OUTDIR)/tstClipboardMockHGCM.run70 tstClipboardMockHGCM_CLEAN = $(tstClipboardMockHGCM_0_OUTDIR)/tstClipboardMockHGCM.run 71 71 72 if defined(VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS)73 tstClipboardMockHGCM_DEFS+= VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS74 tstClipboardMockHGCM_SOURCES += \75 ../VBoxSharedClipboardSvc-transfers.cpp \76 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp77 endif72 if defined(VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS) 73 tstClipboardMockHGCM_DEFS += VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS 74 tstClipboardMockHGCM_SOURCES += \ 75 ../VBoxSharedClipboardSvc-transfers.cpp \ 76 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp 77 endif 78 78 79 if 0 # Enable this if you want automatic runs after compilation.80 $$(tstClipboardMockHGCM_0_OUTDIR)/tstClipboardMockHGCM.run: $$(tstClipboardMockHGCM_1_STAGE_TARGET)79 if 0 # Enable this if you want automatic runs after compilation. 80 $$(tstClipboardMockHGCM_0_OUTDIR)/tstClipboardMockHGCM.run: $$(tstClipboardMockHGCM_1_STAGE_TARGET) 81 81 export VBOX_LOG_DEST=nofile; $(tstClipboardMockHGCM_1_STAGE_TARGET) quiet 82 82 $(QUIET)$(APPEND) -t "$@" "done" 83 OTHERS += $(tstClipboardMockHGCM_0_OUTDIR)/tstClipboardMockHGCM.run84 endif83 OTHERS += $(tstClipboardMockHGCM_0_OUTDIR)/tstClipboardMockHGCM.run 84 endif 85 85 86 86 # … … 91 91 tstClipboardServiceHost_DEFS = VBOX_WITH_HGCM UNIT_TEST 92 92 tstClipboardServiceHost_SOURCES = \ 93 ../VBoxSharedClipboardSvc.cpp \94 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \95 $(PATH_ROOT)/src/VBox/HostServices/common/message.cpp \96 tstClipboardServiceHost.cpp93 ../VBoxSharedClipboardSvc.cpp \ 94 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \ 95 $(PATH_ROOT)/src/VBox/HostServices/common/message.cpp \ 96 tstClipboardServiceHost.cpp 97 97 tstClipboardServiceHost_LIBS = $(LIB_RUNTIME) 98 98 tstClipboardServiceHost_CLEAN = $(tstClipboardServiceHost_0_OUTDIR)/tstClipboardServiceHost.run … … 101 101 tstClipboardServiceHost_DEFS += VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS 102 102 tstClipboardServiceHost_SOURCES += \ 103 ../VBoxSharedClipboardSvc-transfers.cpp \104 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp103 ../VBoxSharedClipboardSvc-transfers.cpp \ 104 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp 105 105 endif 106 106 … … 112 112 tstClipboardServiceImpl_DEFS = VBOX_WITH_HGCM UNIT_TEST 113 113 tstClipboardServiceImpl_SOURCES = \ 114 ../VBoxSharedClipboardSvc.cpp \115 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \116 $(PATH_ROOT)/src/VBox/HostServices/common/message.cpp \117 tstClipboardServiceImpl.cpp114 ../VBoxSharedClipboardSvc.cpp \ 115 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \ 116 $(PATH_ROOT)/src/VBox/HostServices/common/message.cpp \ 117 tstClipboardServiceImpl.cpp 118 118 tstClipboardServiceImpl_SOURCES.win = \ 119 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-win.cpp119 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-win.cpp 120 120 tstClipboardServiceImpl_LIBS = $(LIB_RUNTIME) 121 121 tstClipboardServiceImpl_CLEAN = $(tstClipboardServiceImpl_0_OUTDIR)/tstClipboardServiceImpl.run … … 129 129 tstClipboardTransfers_DEFS = VBOX_WITH_HGCM UNIT_TEST VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS 130 130 tstClipboardTransfers_SOURCES = \ 131 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \132 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp \133 tstClipboardTransfers.cpp131 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \ 132 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp \ 133 tstClipboardTransfers.cpp 134 134 endif 135 135 endif … … 141 141 if1of ($(KBUILD_TARGET), linux solaris win) 142 142 VALKIT_UNITTESTS_WHITELIST_GUEST_ADDITIONS += \ 143 tstClipboardMockHGCM143 tstClipboardMockHGCM 144 144 endif 145 145 endif # VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING -
trunk/src/VBox/HostServices/SharedFolders/testcase/Makefile.kmk
r98169 r98415 37 37 ifeq ($(KBUILD_TARGET),$(KBUILD_HOST)) 38 38 if1of ($(KBUILD_TARGET_ARCH).$(KBUILD_HOST_ARCH), x86.x86 amd64.amd64 x86.amd64) 39 OTHERS+= $(tstShflSizes_0_OUTDIR)/tstShflSizes.run39 OTHERS += $(tstShflSizes_0_OUTDIR)/tstShflSizes.run 40 40 endif 41 41 endif … … 52 52 53 53 ifdef VBOX_WITH_TESTCASES 54 #55 # Case conversion testcase.56 #57 PROGRAMS += tstShflCase58 tstShflCase_TEMPLATE = VBoxR3TstExe59 tstShflCase_DEFS= VBOX_WITH_HGCM60 tstShflCase_SOURCES= tstShflCase.cpp61 tstShflCase_LIBS= $(LIB_RUNTIME)54 # 55 # Case conversion testcase. 56 # 57 PROGRAMS += tstShflCase 58 tstShflCase_TEMPLATE = VBoxR3TstExe 59 tstShflCase_DEFS = VBOX_WITH_HGCM 60 tstShflCase_SOURCES = tstShflCase.cpp 61 tstShflCase_LIBS = $(LIB_RUNTIME) 62 62 63 #64 # HGCM service testcase.65 #63 # 64 # HGCM service testcase. 65 # 66 66 67 PROGRAMS += tstSharedFolderService68 tstSharedFolderService_TEMPLATE = VBoxR3TstExe69 tstSharedFolderService_DEFS= VBOX_WITH_HGCM UNITTEST70 tstSharedFolderService_INCS= ..71 tstSharedFolderService_SOURCES= \72 73 74 75 76 77 78 79 tstSharedFolderService_LDFLAGS.darwin = \80 -framework Carbon81 tstSharedFolderService_LIBS= $(LIB_RUNTIME)67 PROGRAMS += tstSharedFolderService 68 tstSharedFolderService_TEMPLATE = VBoxR3TstExe 69 tstSharedFolderService_DEFS = VBOX_WITH_HGCM UNITTEST 70 tstSharedFolderService_INCS = .. 71 tstSharedFolderService_SOURCES = \ 72 tstSharedFolderService.cpp \ 73 ../mappings.cpp \ 74 ../VBoxSharedFoldersSvc.cpp \ 75 ../shflhandle.cpp \ 76 ../vbsfpathabs.cpp \ 77 ../vbsfpath.cpp \ 78 ../vbsf.cpp 79 tstSharedFolderService_LDFLAGS.darwin = \ 80 -framework Carbon 81 tstSharedFolderService_LIBS = $(LIB_RUNTIME) 82 82 83 if 0 # Cannot define two RT_OS_XXX macros!84 # As there are differences between the Windows build of the service and others,85 # we do an additional build with RT_OS_WINDOWS defined on non-Windows targets.86 PROGRAMS += \87 88 89 tstSharedFolderService-win_TEMPLATE = $(tstSharedFolderService_TEMPLATE)90 tstSharedFolderService-win_DEFS= \91 92 93 tstSharedFolderService-win_INCS= $(tstSharedFolderService_INCS)94 tstSharedFolderService-win_SOURCES= $(tstSharedFolderService_SOURCES)95 tstSharedFolderService-win_LDFLAGS.darwin = \96 97 tstSharedFolderService-win_LIBS= $(tstSharedFolderService_LIBS)98 endif83 if 0 # Cannot define two RT_OS_XXX macros! 84 # As there are differences between the Windows build of the service and others, 85 # we do an additional build with RT_OS_WINDOWS defined on non-Windows targets. 86 PROGRAMS += \ 87 tstSharedFolderService \ 88 $(if $(eq $(KBUILD_TARGET),win),,tstSharedFolderService-win) 89 tstSharedFolderService-win_TEMPLATE = $(tstSharedFolderService_TEMPLATE) 90 tstSharedFolderService-win_DEFS = \ 91 $(tstSharedFolderService_DEFS) \ 92 RT_OS_WINDOWS 93 tstSharedFolderService-win_INCS = $(tstSharedFolderService_INCS) 94 tstSharedFolderService-win_SOURCES = $(tstSharedFolderService_SOURCES) 95 tstSharedFolderService-win_LDFLAGS.darwin = \ 96 $(tstSharedFolderService_LDFLAGS.darwin) 97 tstSharedFolderService-win_LIBS = $(tstSharedFolderService_LIBS) 98 endif 99 99 100 100 endif # VBOX_WITH_TESTCASES -
trunk/src/VBox/HostServices/testcase/Makefile.kmk
r98169 r98415 31 31 if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK) 32 32 33 34 35 36 37 38 PROGRAMS+= tstHGCMSvc39 TESTING+= $(tstHGCMSvc_0_OUTDIR)/tstHGCMSvc.run40 tstHGCMSvc_TEMPLATE= VBoxR3TstExe41 tstHGCMSvc_DEFS= VBOX_WITH_HGCM VBOX_TEST_HGCM_PARMS42 tstHGCMSvc_SOURCES= tstHGCMSvc.cpp43 tstHGCMSvc_CLEAN= $(tstHGCMSvc_0_OUTDIR)/tstHGCMSvc.run33 # 34 # Set this in LocalConfig.kmk if you are working on HGCM service internals 35 # to automatically run the unit test at build time: 36 # OTHERS += $(tstHGCMSvc_0_OUTDIR)/tstHGCMSvc.run 37 # 38 PROGRAMS += tstHGCMSvc 39 TESTING += $(tstHGCMSvc_0_OUTDIR)/tstHGCMSvc.run 40 tstHGCMSvc_TEMPLATE = VBoxR3TstExe 41 tstHGCMSvc_DEFS = VBOX_WITH_HGCM VBOX_TEST_HGCM_PARMS 42 tstHGCMSvc_SOURCES = tstHGCMSvc.cpp 43 tstHGCMSvc_CLEAN = $(tstHGCMSvc_0_OUTDIR)/tstHGCMSvc.run 44 44 45 $$(tstHGCMSvc_0_OUTDIR)/tstHGCMSvc.run: $$(tstHGCMSvc_1_STAGE_TARGET)45 $$(tstHGCMSvc_0_OUTDIR)/tstHGCMSvc.run: $$(tstHGCMSvc_1_STAGE_TARGET) 46 46 export VBOX_LOG_DEST=nofile; $(tstHGCMSvc_1_STAGE_TARGET) quiet 47 47 $(QUIET)$(APPEND) -t "$@" "done"
Note:
See TracChangeset
for help on using the changeset viewer.