make/MainSupport.gmk
changeset 38495 1df97b2627ec
parent 37974 05e1a65c1d56
child 41047 de6f69208f82
equal deleted inserted replaced
38494:52305229ea03 38495:1df97b2627ec
    28 ################################################################################
    28 ################################################################################
    29 
    29 
    30 ifndef _MAINSUPPORT_GMK
    30 ifndef _MAINSUPPORT_GMK
    31 _MAINSUPPORT_GMK := 1
    31 _MAINSUPPORT_GMK := 1
    32 
    32 
    33 # Run the tests specified by $1.
    33 # Run the tests specified by $1, with PRODUCT_HOME specified by $2
    34 define RunTests
    34 define RunTests
    35 	($(CD) $(SRC_ROOT)/test && $(MAKE) $(MAKE_ARGS) -j1 -k MAKEFLAGS= \
    35 	($(CD) $(SRC_ROOT)/test && $(MAKE) $(MAKE_ARGS) -j1 -k MAKEFLAGS= \
    36 	    JT_HOME=$(JT_HOME) PRODUCT_HOME=$(JDK_IMAGE_DIR) \
    36 	    JT_HOME=$(JT_HOME) PRODUCT_HOME=$(strip $2) \
    37 	    TEST_IMAGE_DIR=$(TEST_IMAGE_DIR) \
    37 	    TEST_IMAGE_DIR=$(TEST_IMAGE_DIR) \
    38 	    ALT_OUTPUTDIR=$(OUTPUT_ROOT) TEST_JOBS=$(TEST_JOBS) \
    38 	    ALT_OUTPUTDIR=$(OUTPUT_ROOT) TEST_JOBS=$(TEST_JOBS) \
    39 	    JOBS=$(JOBS) $1) || true
    39 	    JOBS=$(JOBS) $1) || true
    40 endef
    40 endef
    41 
    41