VirtualBox

Changeset 1646 in kBuild


Ignore:
Timestamp:
May 21, 2008 12:42:00 AM (17 years ago)
Author:
bird
Message:

Added a 'testing' pass (non-default). Made all the pass aliases .PHONY.

Location:
trunk/kBuild
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/footer.kmk

    r1625 r1646  
    31013101endif
    31023102
     3103#
     3104# TESTING
     3105#
     3106_TESTING += $(TESTING) $(TESTING.$(KBUILD_TARGET)) $(TESTING.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) $(TESTING.$(KBUILD_TARGET_ARCH)) $(TESTING.$(KBUILD_TARGET_CPU))
     3107
    31033108
    31043109#
    31053110# PACKING
    31063111#
    3107 _PACKING += $(PACKING) $(PACKING.$(KBUILD_TARGET)) $(PACKING.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH))
     3112_PACKING += $(PACKING) $(PACKING.$(KBUILD_TARGET)) $(PACKING.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)) $(PACKING.$(KBUILD_TARGET_ARCH)) $(PACKING.$(KBUILD_TARGET_CPU))
    31083113
    31093114
  • trunk/kBuild/header.kmk

    r1621 r1646  
    893893## PASS: install
    894894# This pass installs the built entities to a sandbox area.
     895## @todo split this up into build install (to sandbox) and real installation.
    895896PASS_INSTALLS       := Install
    896897PASS_INSTALLS_trgs  :=
    897898PASS_INSTALLS_vars  := _INSTALLS_DIRS _INSTALLS _INSTALLS_FILES
    898899PASS_INSTALLS_pass  := installs
     900
     901## PASS: testing
     902# This pass processes custom rules for executing tests.
     903PASS_TESTING        := Tests
     904PASS_TESTING_trgs   :=
     905PASS_TESTING_vars   := _TESTING
     906PASS_TESTING_pass   := testing
     907# aliases
     908.PHONY: check test
     909check test: pass_testing
    899910
    900911## PASS: packing
     
    904915PASS_PACKING_vars   := _PACKING
    905916PASS_PACKING_pass   := packing
    906 #alias
     917# alias
     918.PHONY: packing
    907919packing: pass_packing
    908920
     
    914926PASS_CLEAN_pass     := clean
    915927# alias
     928.PHONY: clean
    916929clean: pass_clean
    917930
     
    923936PASS_NOTHING_pass   := nothing
    924937# alias
     938.PHONY: nothing
    925939nothing: pass_nothing
    926940
     
    932946# The passes that should be defined. This must include
    933947# all passes mentioned by DEFAULT_PASSES.
    934 PASSES := FETCHES PATCHES $(DEFAULT_PASSES) NOTHING CLEAN
     948PASSES := FETCHES PATCHES $(DEFAULT_PASSES) TESTING PACKING CLEAN NOTHING
    935949
    936950
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