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)
287 # Add any extra options
288 JTREG_BASIC_OPTIONS += $(EXTRA_JTREG_OPTIONS)
289 # Set other vm and test options
290 JTREG_TEST_OPTIONS = $(JAVA_ARGS:%=-javaoptions:%) $(JAVA_VM_ARGS:%=-vmoption:%)
291 # Set the GC options for test vms
292 #JTREG_GC_OPTION = -vmoption:-XX:+UseSerialGC
293 #JTREG_TEST_OPTIONS += $(JTREG_GC_OPTION)
294 # Set the max memory for jtreg target test vms
295 JTREG_TESTVM_MEMORY_OPTION = -vmoption:-Xmx512m
|
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,summary
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)
287 # Add any extra options
288 JTREG_BASIC_OPTIONS += $(EXTRA_JTREG_OPTIONS)
289 # Set other vm and test options
290 JTREG_TEST_OPTIONS = $(JAVA_ARGS:%=-javaoptions:%) $(JAVA_VM_ARGS:%=-vmoption:%)
291 # Set the GC options for test vms
292 #JTREG_GC_OPTION = -vmoption:-XX:+UseSerialGC
293 #JTREG_TEST_OPTIONS += $(JTREG_GC_OPTION)
294 # Set the max memory for jtreg target test vms
295 JTREG_TESTVM_MEMORY_OPTION = -vmoption:-Xmx512m
|