VirtualBox

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


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

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

File:
1 edited

Legend:

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

    r83687 r83688  
    2121if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
    2222
    23  PROGRAMS += tstClipboardServiceHost tstClipboardServiceImpl
     23 PROGRAMS += tstClipboardServiceHost
     24 TESTING  += $(tstClipboardServiceHost_0_OUTDIR)/tstClipboardServiceHost.run
     25 OTHERS   += $(tstClipboardServiceHost_0_OUTDIR)/tstClipboardServiceHost.run
    2426
    25  tstClipboardServiceHost_TEMPLATE = VBOXR3TSTEXE
     27 tstClipboardServiceHost_TEMPLATE = VBOXR3AUTOTST
    2628 tstClipboardServiceHost_DEFS     = VBOX_WITH_HGCM UNIT_TEST
    2729 tstClipboardServiceHost_SOURCES  = \
     
    3032        $(PATH_ROOT)/src/VBox/HostServices/common/message.cpp \
    3133        tstClipboardServiceHost.cpp
     34 tstClipboardServiceHost_LIBS     = $(LIB_RUNTIME)
     35 tstClipboardServiceHost_CLEAN    = $(tstClipboardServiceHost_0_OUTDIR)/tstClipboardServiceHost.run
    3236
    3337 $$(tstClipboardServiceHost_0_OUTDIR)/tstClipboardServiceHost.run: $$(tstClipboardServiceHost_1_STAGE_TARGET)
    3438        export VBOX_LOG_DEST=nofile; $(tstClipboardServiceHost_1_STAGE_TARGET) quiet
    3539        $(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
    4140
    4241 if defined(VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS)
     
    4847 endif
    4948
    50  tstClipboardServiceImpl_TEMPLATE = VBOXR3TSTEXE
     49 PROGRAMS += tstClipboardServiceImpl
     50 TESTING  += $(tstClipboardServiceImpl_0_OUTDIR)/tstClipboardServiceImpl.run
     51 OTHERS   += $(tstClipboardServiceImpl_0_OUTDIR)/tstClipboardServiceImpl.run
     52
     53 tstClipboardServiceImpl_TEMPLATE = VBOXR3AUTOTST
    5154 tstClipboardServiceImpl_DEFS     = VBOX_WITH_HGCM UNIT_TEST
    5255 tstClipboardServiceImpl_SOURCES  = \
     
    5558        $(PATH_ROOT)/src/VBox/HostServices/common/message.cpp \
    5659        tstClipboardServiceImpl.cpp
     60 tstClipboardServiceImpl_LIBS     = $(LIB_RUNTIME)
     61 tstClipboardServiceImpl_CLEAN    = $(tstClipboardServiceImpl_0_OUTDIR)/tstClipboardServiceImpl.run
    5762
    5863 $$(tstClipboardServiceImpl_0_OUTDIR)/tstClipboardServiceImpl.run: $$(tstClipboardServiceImpl_1_STAGE_TARGET)
     
    6065        $(QUIET)$(APPEND) -t "$@" "done"
    6166
    62  TESTING += $(tstClipboardServiceImpl_0_OUTDIR)/tstClipboardServiceImpl.run
    63  ifndef VBOX_ONLY_SDK
    64   OTHERS += $(tstClipboardServiceImpl_0_OUTDIR)/tstClipboardServiceImpl.run
    65  endif
    66 
    67  if defined(VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS)
     67  if defined(VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS)
    6868  PROGRAMS += tstClipboardTransfers
    6969  tstClipboardTransfers_TEMPLATE = VBOXR3TSTEXE
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