245 define SummaryInfo 246 $(ECHO) "########################################################" 247 $(CAT) $(?:%=$(ABS_TEST_OUTPUT_DIR)/%/$(STATS_TXT_NAME)) 248 $(ECHO) "########################################################" 249 endef 250 251 # ------------------------------------------------------------------ 252 253 jaxp_%: 254 $(ECHO) "Running tests: $@" 255 for each in $@; do \ 256 $(MAKE) -j 1 TEST_SELECTION=":$$each" UNIQUE_DIR=$$each jtreg_tests; \ 257 done 258 259 # ------------------------------------------------------------------ 260 261 ifdef CONCURRENCY 262 EXTRA_JTREG_OPTIONS += -concurrency:$(CONCURRENCY) 263 endif 264 265 # Default JTREG to run (win32 script works for everybody) 266 JTREG = $(JT_HOME)/win32/bin/jtreg 267 # run in agentvm mode 268 JTREG_BASIC_OPTIONS += -agentvm 269 # Only run automatic tests 270 JTREG_BASIC_OPTIONS += -a 271 # Always turn on assertions 272 JTREG_ASSERT_OPTION = -ea -esa 273 JTREG_BASIC_OPTIONS += $(JTREG_ASSERT_OPTION) 274 # Report details on all failed or error tests, times too 275 JTREG_BASIC_OPTIONS += -v:fail,error,time 276 # Retain all files for failing tests 277 JTREG_BASIC_OPTIONS += -retain:fail,error 278 # Ignore tests are not run and completely silent about it 279 JTREG_IGNORE_OPTION = -ignore:quiet 280 JTREG_BASIC_OPTIONS += $(JTREG_IGNORE_OPTION) 281 # Multiple by 4 the timeout numbers 282 JTREG_TIMEOUT_OPTION = -timeoutFactor:4 283 JTREG_BASIC_OPTIONS += $(JTREG_TIMEOUT_OPTION) 284 # Set the max memory for jtreg control vm 285 JTREG_MEMORY_OPTION = -J-Xmx512m 286 JTREG_BASIC_OPTIONS += $(JTREG_MEMORY_OPTION) | 245 define SummaryInfo 246 $(ECHO) "########################################################" 247 $(CAT) $(?:%=$(ABS_TEST_OUTPUT_DIR)/%/$(STATS_TXT_NAME)) 248 $(ECHO) "########################################################" 249 endef 250 251 # ------------------------------------------------------------------ 252 253 jaxp_%: 254 $(ECHO) "Running tests: $@" 255 for each in $@; do \ 256 $(MAKE) -j 1 TEST_SELECTION=":$$each" UNIQUE_DIR=$$each jtreg_tests; \ 257 done 258 259 # ------------------------------------------------------------------ 260 261 ifdef CONCURRENCY 262 EXTRA_JTREG_OPTIONS += -concurrency:$(CONCURRENCY) 263 endif 264 265 # Default JTREG to run 266 JTREG = $(JT_HOME)/bin/jtreg 267 # run in agentvm mode 268 JTREG_BASIC_OPTIONS += -agentvm 269 # Only run automatic tests 270 JTREG_BASIC_OPTIONS += -a 271 # Always turn on assertions 272 JTREG_ASSERT_OPTION = -ea -esa 273 JTREG_BASIC_OPTIONS += $(JTREG_ASSERT_OPTION) 274 # Report details on all failed or error tests, times too 275 JTREG_BASIC_OPTIONS += -v:fail,error,time 276 # Retain all files for failing tests 277 JTREG_BASIC_OPTIONS += -retain:fail,error 278 # Ignore tests are not run and completely silent about it 279 JTREG_IGNORE_OPTION = -ignore:quiet 280 JTREG_BASIC_OPTIONS += $(JTREG_IGNORE_OPTION) 281 # Multiple by 4 the timeout numbers 282 JTREG_TIMEOUT_OPTION = -timeoutFactor:4 283 JTREG_BASIC_OPTIONS += $(JTREG_TIMEOUT_OPTION) 284 # Set the max memory for jtreg control vm 285 JTREG_MEMORY_OPTION = -J-Xmx512m 286 JTREG_BASIC_OPTIONS += $(JTREG_MEMORY_OPTION) |