equal
deleted
inserted
replaced
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 |