VirtualBox

Changeset 66035 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Mar 10, 2017 1:43:46 PM (8 years ago)
Author:
vboxsync
Message:

add/linux/Makefile.kmk: Moved 'check' target to more appropriate place.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/Makefile.kmk

    r66034 r66035  
    2727 include $(PATH_SUB_CURRENT)/lightdm-greeter/Makefile.kmk
    2828endif
    29 
    30 #
    31 # Build test for the Guest Additions kernel modules
    32 #
    33 
    34 ifdef VBOX_WITH_TESTCASES
    35  ifndef VBOX_ONLY_SDK
    36   VBOX_LNX_ADD_TEST        = $(PATH_TARGET)/tstguest_mod
    37   VBOX_LNX_ADD_TEST_TARGET = $(PATH_TARGET)/tstguest_mod.run
    38   TESTING     += $(VBOX_LNX_ADD_TEST_TARGET)
    39   OTHERS      += $(VBOX_LNX_ADD_TEST_TARGET)
    40  $$(VBOX_LNX_ADD_TEST_TARGET): \
    41                 $$(vboxguest-src_2_STAGE_TARGETS) \
    42                 $$(vboxsf-mod_2_STAGE_TARGETS) \
    43                 $$(vboxvideo_drm-mod_2_STAGE_TARGETS) \
    44                 $$(GuestDrivers-src_2_STAGE_TARGETS)
    45         $(QUIET)$(call MSG_L1,Doing a test build of the guest kernel modules)
    46         $(QUIET)$(RM) -f -- "$@"
    47         $(QUIET)$(RM) -Rf -- "$(VBOX_LNX_ADD_TEST)"
    48         $(QUIET)$(MKDIR) -p -- "$(VBOX_LNX_ADD_TEST)"
    49         $(QUIET)$(CP) -R -- "$(PATH_STAGE_BIN)/additions/src/" "$(VBOX_LNX_ADD_TEST)/"
    50         + $(QUIET)make -C $(VBOX_LNX_ADD_TEST) clean
    51         + $(QUIET)make -C $(VBOX_LNX_ADD_TEST)
    52         $(QUIET)$(RM) -Rf -- $(VBOX_LNX_ADD_TEST)
    53         $(QUIET)$(APPEND) -t "$@" "done"
    54  endif
    55 endif
    56 
    5729
    5830
     
    395367        $(VBOX_LNX_ADD_INST_OUT_DIR)install.sh \
    396368        $(VBOX_LNX_ADD_INST_STAGE_DIR)install.sh
     369
     370
     371#
     372# Build test for the Guest Additions kernel modules (kmk check).
     373#
     374if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_SDK)
     375 VBOX_LNX_ADD_TEST        = $(PATH_TARGET)/tstguest_mod
     376 VBOX_LNX_ADD_TEST_TARGET = $(PATH_TARGET)/tstguest_mod.run
     377 TESTING     += $(VBOX_LNX_ADD_TEST_TARGET)
     378 OTHERS      += $(VBOX_LNX_ADD_TEST_TARGET)
     379 $$(VBOX_LNX_ADD_TEST_TARGET): \
     380                $$(vboxguest-src_2_STAGE_TARGETS) \
     381                $$(vboxsf-mod_2_STAGE_TARGETS) \
     382                $$(vboxvideo_drm-mod_2_STAGE_TARGETS) \
     383                $$(GuestDrivers-src_2_STAGE_TARGETS)
     384        $(QUIET)$(call MSG_L1,Doing a test build of the guest kernel modules)
     385        $(QUIET)$(RM) -f -- "$@"
     386        $(QUIET)$(RM) -Rf -- "$(VBOX_LNX_ADD_TEST)"
     387        $(QUIET)$(MKDIR) -p -- "$(VBOX_LNX_ADD_TEST)"
     388        $(QUIET)$(CP) -R -- "$(PATH_STAGE_BIN)/additions/src/" "$(VBOX_LNX_ADD_TEST)/"
     389        + $(QUIET)make -C $(VBOX_LNX_ADD_TEST) clean
     390        + $(QUIET)make -C $(VBOX_LNX_ADD_TEST)
     391        $(QUIET)$(RM) -Rf -- $(VBOX_LNX_ADD_TEST)
     392        $(QUIET)$(APPEND) -t "$@" "done"
     393endif
    397394
    398395
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