VirtualBox

Changeset 21074 in vbox for trunk/src


Ignore:
Timestamp:
Jun 30, 2009 3:05:31 PM (16 years ago)
Author:
vboxsync
Message:

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

File:
1 edited

Legend:

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

    r19505 r21074  
    2424
    2525ifdef VBOX_WITH_TESTCASES
    26  ifndef VBOX_ONLY_ADDITIONS
    27 #
    28 # Case conversion testcase.
    29 #
    30   if1of ($(KBUILD_TARGET),freebsd linux netbsd openbsd solaris)
     26 if1of ($(KBUILD_TARGET),freebsd linux netbsd openbsd solaris)
     27  ifndef VBOX_ONLY_SDK
     28
     29# Set these in LocalConfig.kmk if you are working on the X11 clipboard service
     30# to automatically run the unit tests at build time:
     31#    OTHERS += $(PATH_tstClipboardX11)/tstClipboardX11.run
     32#    OTHERS += $(PATH_tstClipboardX11Smoke)/tstClipboardX11Smoke.run
     33
    3134   PROGRAMS += tstClipboardX11 tstClipboardX11Smoke
    3235   tstClipboardX11_TEMPLATE = VBOXR3TSTEXE
     
    4144   tstClipboardX11Smoke_LIBS     = $(LIB_RUNTIME) X11 Xt
    4245
    43 # Set this in LocalConfig.kmk if you are working on the X11 clipboard service
    44 # to automatically run the testcase at build time.
    45    ifdef VBOX_RUN_X11_CLIPBOARD_TEST
    46     ifndef VBOX_ONLY_SDK
    47      TESTING  += $(PATH_tstClipboardX11)/tstClipboardX11.run
    48      OTHERS += $(PATH_tstClipboardX11)/tstClipboardX11.run
     46   TESTING  += $(PATH_tstClipboardX11)/tstClipboardX11.run
    4947$$(PATH_tstClipboardX11)/tstClipboardX11.run: $$(INSTARGET_tstClipboardX11)
    5048        export VBOX_LOG_DEST=nofile; $(INSTARGET_tstClipboardX11) quiet
    5149        $(QUIET)$(APPEND) -t "$@" "done"
    5250
    53      TESTING  += $(PATH_tstClipboardX11Smoke)/tstClipboardX11Smoke.run
    54      OTHERS += $(PATH_tstClipboardX11Smoke)/tstClipboardX11Smoke.run
     51   TESTING  += $(PATH_tstClipboardX11Smoke)/tstClipboardX11Smoke.run
    5552$$(PATH_tstClipboardX11Smoke)/tstClipboardX11Smoke.run: \
    5653                $$(INSTARGET_tstClipboardX11)
    5754        export VBOX_LOG_DEST=nofile; $(INSTARGET_tstClipboardX11Smoke) quiet
    5855        $(QUIET)$(APPEND) -t "$@" "done"
    59     endif
    60    endif
    6156
    62   endif # 1of ($(KBUILD_TARGET),freebsd linux netbsd openbsd solaris)
    63  endif # ! VBOX_ONLY_ADDITIONS
     57  endif # ! VBOX_ONLY_SDK
     58 endif # 1of ($(KBUILD_TARGET),freebsd linux netbsd openbsd solaris)
    6459endif # VBOX_WITH_TESTCASES
    6560
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