langtools/test/Makefile
changeset 42276 2765a352dc07
parent 41853 1b8722f62d87
child 42406 3a2f57a44b57
equal deleted inserted replaced
42275:f013dc075d67 42276:2765a352dc07
   316 jtreg_tests: jtreg-tests
   316 jtreg_tests: jtreg-tests
   317 jtreg-tests: check-jtreg FRC
   317 jtreg-tests: check-jtreg FRC
   318 	@rm -f -r $(JTREG_OUTPUT_DIR)/JTwork $(JTREG_OUTPUT_DIR)/JTreport \
   318 	@rm -f -r $(JTREG_OUTPUT_DIR)/JTwork $(JTREG_OUTPUT_DIR)/JTreport \
   319 	    $(JTREG_OUTPUT_DIR)/diff.html $(JTREG_OUTPUT_DIR)/status.txt
   319 	    $(JTREG_OUTPUT_DIR)/diff.html $(JTREG_OUTPUT_DIR)/status.txt
   320 	@mkdir -p $(JTREG_OUTPUT_DIR)
   320 	@mkdir -p $(JTREG_OUTPUT_DIR)
   321 	JT_JAVA=$(JT_JAVA) $(JTREG) \
   321 	( JT_JAVA=$(JT_JAVA) $(JTREG) \
   322 	  -a -ignore:quiet $(if $(JTREG_VERBOSE),-v:$(JTREG_VERBOSE)) \
   322 	  -a -ignore:quiet $(if $(JTREG_VERBOSE),-v:$(JTREG_VERBOSE)) \
   323 	  -r:$(JTREG_OUTPUT_DIR)/JTreport \
   323 	  -r:$(JTREG_OUTPUT_DIR)/JTreport \
   324 	  -w:$(JTREG_OUTPUT_DIR)/JTwork \
   324 	  -w:$(JTREG_OUTPUT_DIR)/JTwork \
   325 	  -jdk:$(TESTJAVA) \
   325 	  -jdk:$(TESTJAVA) \
   326 	  $(JAVA_ARGS:%=-vmoption:%) \
   326 	  $(JAVA_ARGS:%=-vmoption:%) \
   327 	  $(JTREG_EXCLUSIONS) \
   327 	  $(JTREG_EXCLUSIONS) \
   328 	  $(JTREG_OPTIONS) \
   328 	  $(JTREG_OPTIONS) \
   329 	  $(JTREG_TESTDIRS) \
   329 	  $(JTREG_TESTDIRS) \
   330 	    2>&1 | tee $(JTREG_OUTPUT_DIR)/output.txt \
   330 	  || ( $(call EXIT_IF_FATAL,$(FATAL_JTREG_EXIT)) ; \
   331 	|| ( $(call EXIT_IF_FATAL,$(FATAL_JTREG_EXIT)) ; \
       
   332 	    echo $$status > $(JTREG_OUTPUT_DIR)/status.txt \
   331 	    echo $$status > $(JTREG_OUTPUT_DIR)/status.txt \
   333 	)
   332 	  ) \
       
   333 	) 2>&1 | tee $(JTREG_OUTPUT_DIR)/output.txt
   334 ifdef JTREG_REFERENCE
   334 ifdef JTREG_REFERENCE
   335 	JT_JAVA=$(JT_JAVA) $(JTDIFF) -o $(JTREG_OUTPUT_DIR)/diff.html \
   335 	JT_JAVA=$(JT_JAVA) $(JTDIFF) -o $(JTREG_OUTPUT_DIR)/diff.html \
   336 	    $(JTREG_REFERENCE) $(JTREG_OUTPUT_DIR)/JTreport \
   336 	    $(JTREG_REFERENCE) $(JTREG_OUTPUT_DIR)/JTreport \
   337 	|| ( $(call EXIT_IF_FATAL,$(FATAL_JTDIFF_EXIT)) )
   337 	|| ( $(call EXIT_IF_FATAL,$(FATAL_JTDIFF_EXIT)) )
   338 endif
   338 endif