VirtualBox

Changeset 21075 in vbox


Ignore:
Timestamp:
Jun 30, 2009 3:17:01 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49333
Message:

HostServices/SharedClipboard: change the procedure to make the unit test auto-run

File:
1 edited

Legend:

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

    r20450 r21075  
    7171ifdef VBOX_WITH_TESTCASES
    7272 ifndef VBOX_ONLY_ADDITIONS
    73 #
    74 # Case conversion testcase.
    75 #
    7673  if1of ($(KBUILD_TARGET),freebsd linux netbsd openbsd solaris)
    77    PROGRAMS += tstClipboardX11-2
    78    tstClipboardX11-2_TEMPLATE = VBOXR3TSTEXE
    79    tstClipboardX11-2_DEFS     = VBOX_WITH_HGCM TESTCASE
    80    tstClipboardX11-2_SOURCES  = x11-clipboard.cpp
    81    tstClipboardX11-2_LIBS     = $(LIB_RUNTIME)
     74   ifndef VBOX_ONLY_SDK
    8275
    8376# Set this in LocalConfig.kmk if you are working on the X11 clipboard service
    84 # to automatically run the testcase at build time.
    85    ifdef VBOX_RUN_X11_CLIPBOARD_TEST
    86     ifndef VBOX_ONLY_SDK
    87      TESTING  += $(PATH_tstClipboardX11-2)/tstClipboardX11-2.run
    88      OTHERS += $(PATH_tstClipboardX11-2)/tstClipboardX11-2.run
     77# to automatically run the unit test at build time.
     78#       OTHERS += $(PATH_tstClipboardX11-2)/tstClipboardX11-2.run
     79
     80    PROGRAMS += tstClipboardX11-2
     81    tstClipboardX11-2_TEMPLATE = VBOXR3TSTEXE
     82    tstClipboardX11-2_DEFS     = VBOX_WITH_HGCM TESTCASE
     83    tstClipboardX11-2_SOURCES  = x11-clipboard.cpp
     84    tstClipboardX11-2_LIBS     = $(LIB_RUNTIME)
     85
     86    TESTING  += $(PATH_tstClipboardX11-2)/tstClipboardX11-2.run
    8987$$(PATH_tstClipboardX11-2)/tstClipboardX11-2.run: \
    9088        $$(INSTARGET_tstClipboardX11-2)
    9189        export VBOX_LOG_DEST=nofile; $(INSTARGET_tstClipboardX11-2) quiet
    9290        $(QUIET)$(APPEND) -t "$@" "done"
    93     endif
    94    endif
    9591
     92   endif # ! VBOX_WITH_SDK
    9693  endif # 1of ($(KBUILD_TARGET),freebsd linux netbsd openbsd solaris)
    9794 endif # ! VBOX_ONLY_ADDITIONS
Note: See TracChangeset for help on using the changeset viewer.

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