< prev index next >

make/RunTestsPrebuilt.gmk

Print this page




 320     OPENJDK_TARGET_CPU_ENDIAN := $(OPENJDK_TARGET_CPU_ENDIAN), \
 321     NUM_CORES := $(NUM_CORES), \
 322     MEMORY_SIZE := $(MEMORY_SIZE), \
 323     LD_JAOTC := $(LD_JAOTC), \
 324     LIBRARY_PREFIX := $(LIBRARY_PREFIX), \
 325     SHARED_LIBRARY_SUFFIX := $(SHARED_LIBRARY_SUFFIX), \
 326     include $(TOPDIR)/make/RunTestsPrebuiltSpec.gmk, \
 327     TEST_OPTS_JCOV := $(TEST_OPTS_JCOV), \
 328     $(CUSTOM_NEW_SPEC_LINE), \
 329 )
 330 
 331 ################################################################################
 332 # The run-test-prebuilt target
 333 ################################################################################
 334 
 335 SPEC := $(NEW_SPEC)
 336 
 337 default: all
 338 
 339 run-test-prebuilt:
 340         # Need to make sure the failure logs output dir exists since
 341         # ExecuteWithLog is called in RunTests.gmk. The PrepareFailureLogs macro
 342         # is unfortunately not available at this point.
 343         $(call MakeDir, $(MAKESUPPORT_OUTPUTDIR)/failure-logs)
 344         @$(RM) -f $(MAKESUPPORT_OUTPUTDIR)/exit-with-error
 345         # The lazy initialization of the cache file in FindTests.gmk does not
 346         # always work with RunTests.gmk. To guarantee that the jtreg test groups
 347         # are always found and parsed, call FindTests.gmk stand alone once
 348         # before calling RunTests.gmk.
 349         @cd $(TOPDIR) && $(MAKE) $(MAKE_ARGS) -f make/common/FindTests.gmk \
 350             SPEC=$(SPEC) FINDTESTS_STAND_ALONE=true
 351         @cd $(TOPDIR) && $(MAKE) $(MAKE_ARGS) -f make/RunTests.gmk run-test \
 352             TEST="$(TEST)"
 353 
 354 all: run-test-prebuilt
 355 
 356 .PHONY: default all


 320     OPENJDK_TARGET_CPU_ENDIAN := $(OPENJDK_TARGET_CPU_ENDIAN), \
 321     NUM_CORES := $(NUM_CORES), \
 322     MEMORY_SIZE := $(MEMORY_SIZE), \
 323     LD_JAOTC := $(LD_JAOTC), \
 324     LIBRARY_PREFIX := $(LIBRARY_PREFIX), \
 325     SHARED_LIBRARY_SUFFIX := $(SHARED_LIBRARY_SUFFIX), \
 326     include $(TOPDIR)/make/RunTestsPrebuiltSpec.gmk, \
 327     TEST_OPTS_JCOV := $(TEST_OPTS_JCOV), \
 328     $(CUSTOM_NEW_SPEC_LINE), \
 329 )
 330 
 331 ################################################################################
 332 # The run-test-prebuilt target
 333 ################################################################################
 334 
 335 SPEC := $(NEW_SPEC)
 336 
 337 default: all
 338 
 339 run-test-prebuilt:




 340         @$(RM) -f $(MAKESUPPORT_OUTPUTDIR)/exit-with-error
 341         # The lazy initialization of the cache file in FindTests.gmk does not
 342         # always work with RunTests.gmk. To guarantee that the jtreg test groups
 343         # are always found and parsed, call FindTests.gmk stand alone once
 344         # before calling RunTests.gmk.
 345         @cd $(TOPDIR) && $(MAKE) $(MAKE_ARGS) -f make/common/FindTests.gmk \
 346             SPEC=$(SPEC) FINDTESTS_STAND_ALONE=true
 347         @cd $(TOPDIR) && $(MAKE) $(MAKE_ARGS) -f make/RunTests.gmk run-test \
 348             TEST="$(TEST)"
 349 
 350 all: run-test-prebuilt
 351 
 352 .PHONY: default all
< prev index next >