VirtualBox

Changeset 47266 in vbox for trunk


Ignore:
Timestamp:
Jul 19, 2013 2:53:32 PM (12 years ago)
Author:
vboxsync
Message:

Config.kmk: new template for Main unit testing
Main/testcase: fix building of mouse unit test

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r47207 r47266  
    41454145TEMPLATE_VBOXMAINLIB_EXTENDS = VBOXMAINDLL
    41464146TEMPLATE_VBOXMAINLIB_LIBS =
     4147
     4148#
     4149# Main unit testing, for compiling API implementation files into a testcase.
     4150# This is the VBOXMAINEXE template only with a different install dir.
     4151#
     4152TEMPLATE_VBOXMAINTSTEXE  = VBox Main Testcase Exe
     4153TEMPLATE_VBOXMAINTSTEXE_EXTENDS = VBOXMAINEXE
     4154TEMPLATE_VBOXMAINTSTEXE_INST    = $(INST_TESTCASE)
     4155ifdef VBOX_WITH_RUNPATH
     4156 TEMPLATE_VBOXMAINTSTEXE_LDFLAGS = '$(VBOX_GCC_RPATH_OPT)$(VBOX_WITH_RUNPATH)' $(TEMPLATE_VBOXMAINEXE_LDFLAGS)
     4157else ifdef VBOX_WITH_RELATIVE_RUNPATH
     4158 TEMPLATE_VBOXMAINTSTEXE_LDFLAGS = '$(VBOX_GCC_RPATH_OPT)$(VBOX_WITH_RELATIVE_RUNPATH)/..' $(TEMPLATE_VBOXMAINEXE_LDFLAGS)
     4159endif
     4160if "$(KBUILD_TARGET)" == "win" && defined(VBOX_SIGNING_MODE)
     4161 TEMPLATE_VBOXMAINTSTEXE_POST_CMDS =
     4162endif
    41474163
    41484164#
  • trunk/src/VBox/Main/testcase/Makefile.kmk

    r47262 r47266  
    3232        $(if $(VBOX_WITH_GUEST_CONTROL),tstGuestCtrlParseBuffer,) \
    3333        $(if $(VBOX_WITH_GUEST_CONTROL),tstGuestCtrlContextID,) \
    34         $(if ,tstMouseImpl,)
     34        $(if true,tstMouseImpl,)
    3535  PROGRAMS.linux += \
    3636        $(if $(VBOX_WITH_USB),tstUSBProxyLinux,)
     
    212212# tstMouseImpl
    213213#
    214 # Not yet enabled, as I still haven't managed to wrap everything into the test
    215 # case.
    216 #
    217 tstMouseImpl_TEMPLATE = VBOXR3TSTEXE
     214tstMouseImpl_TEMPLATE = VBOXMAINTSTEXE
    218215tstMouseImpl_SOURCES  = \
    219216        tstMouseImpl.cpp \
     
    224221        $(VBOX_AUTOGEN_EVENT_CPP) \
    225222        $(VBOX_XML_SCHEMADEFS_CPP)
    226 tstMouseImpl_CFLAGS   += $(TEMPLATE_VBOXMAINEXE_CFLAGS)
    227 tstMouseImpl_CXXFLAGS += $(TEMPLATE_VBOXMAINEXE_CXXFLAGS)
    228 tstMouseImpl_DEFS     += $(TEMPLATE_VBOXMAINEXE_DEFS)
    229223tstMouseImpl_INCS      = ../include \
    230224    $(VBOX_PATH_SDK)/bindings/xpcom/include \
     
    232226    $(VBOX_PATH_SDK)/bindings/xpcom/include/xpcom \
    233227        $(dir $(VBOX_XML_SCHEMADEFS_H))
    234 tstMouseImpl_INCS     += $(TEMPLATE_VBOXMAINEXE_INCS)
    235228tstMouseImpl_LIBS      = $(PATH_STAGE_LIB)/VBoxAPIWrap$(VBOX_SUFF_LIB)
    236 tstMouseImpl_LIBS     += $(TEMPLATE_VBOXMAINEXE_LIBS)
    237229
    238230
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