VirtualBox

Changeset 83687 in vbox for trunk/src/VBox/HostServices


Ignore:
Timestamp:
Apr 14, 2020 11:27:20 AM (5 years ago)
Author:
vboxsync
Message:

Shared Clipboard/testcases: Added initial testcase for service implementations (backends) + automatically run host service testcases after compilation.

Location:
trunk/src/VBox/HostServices/SharedClipboard/testcase
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedClipboard/testcase/Makefile.kmk

    r82968 r83687  
    2121if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
    2222
    23  PROGRAMS += tstClipboardServiceHost
     23 PROGRAMS += tstClipboardServiceHost tstClipboardServiceImpl
    2424
    2525 tstClipboardServiceHost_TEMPLATE = VBOXR3TSTEXE
     
    3131        tstClipboardServiceHost.cpp
    3232
     33 $$(tstClipboardServiceHost_0_OUTDIR)/tstClipboardServiceHost.run: $$(tstClipboardServiceHost_1_STAGE_TARGET)
     34        export VBOX_LOG_DEST=nofile; $(tstClipboardServiceHost_1_STAGE_TARGET) quiet
     35        $(QUIET)$(APPEND) -t "$@" "done"
     36
     37 TESTING += $(tstClipboardServiceHost_0_OUTDIR)/tstClipboardServiceHost.run
     38 ifndef VBOX_ONLY_SDK
     39  OTHERS += $(tstClipboardServiceHost_0_OUTDIR)/tstClipboardServiceHost.run
     40 endif
     41
    3342 if defined(VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS)
    3443  tstClipboardServiceHost_DEFS    += VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS
     
    3746        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp \
    3847        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardArea.cpp
     48 endif
     49
     50 tstClipboardServiceImpl_TEMPLATE = VBOXR3TSTEXE
     51 tstClipboardServiceImpl_DEFS     = VBOX_WITH_HGCM UNIT_TEST
     52 tstClipboardServiceImpl_SOURCES  = \
     53        ../VBoxSharedClipboardSvc.cpp \
     54        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \
     55        $(PATH_ROOT)/src/VBox/HostServices/common/message.cpp \
     56        tstClipboardServiceImpl.cpp
     57
     58 $$(tstClipboardServiceImpl_0_OUTDIR)/tstClipboardServiceImpl.run: $$(tstClipboardServiceImpl_1_STAGE_TARGET)
     59        export VBOX_LOG_DEST=nofile; $(tstClipboardServiceImpl_1_STAGE_TARGET) quiet
     60        $(QUIET)$(APPEND) -t "$@" "done"
     61
     62 TESTING += $(tstClipboardServiceImpl_0_OUTDIR)/tstClipboardServiceImpl.run
     63 ifndef VBOX_ONLY_SDK
     64  OTHERS += $(tstClipboardServiceImpl_0_OUTDIR)/tstClipboardServiceImpl.run
    3965 endif
    4066
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette