Makefile revision 4499
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# This code is free software; you can redistribute it and/or modify it
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# under the terms of the GNU General Public License version 2 only, as
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# published by the Free Software Foundation. Oracle designates this
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# particular file as subject to the "Classpath" exception as provided
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# by Oracle in the LICENSE file that accompanied this code.
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# This code is distributed in the hope that it will be useful, but WITHOUT
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# version 2 for more details (a copy is included in the LICENSE file that
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# accompanied this code).
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# You should have received a copy of the GNU General Public License version
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# 2 along with this work; if not, write to the Free Software Foundation,
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ed31198c686205a26320612d2a5dd7b26ae63a15John Sonnenschein# or visit www.oracle.com if you need additional information or have any
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# questions.
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# Makefile to run various jdk tests
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# Empty these to get rid of some default rules
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# Utilities used
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# Get OS name from uname
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# Commands to run on paths to make mixed paths for java on windows
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# Location of developer shared files
09fe1b16b0d85a4b43987628152f516df3ae9838dnielsen# Platform specific settings
SLASH_JAVA = J:
PRODUCT_HOME := \
$(shell \
# Expect JPRT to set JPRT_PRODUCT_ARGS (e.g. -server etc.)
# Expect JPRT to set JPRT_PRODUCT_VM_ARGS (e.g. -Xcomp etc.)
D64_ERROR_MESSAGE=Mismatch between ARCH_DATA_MODEL=$(ARCH_DATA_MODEL) and use of -d64 in JAVA_ARGS=$(JAVA_ARGS)
TESTEXIT = \
if [ ! -s $(EXITCODE) ] ; then \
exit $${testExitCode}
jtregExitCode=$$? && \
if [ $${jtregExitCode} = 0 ] ; then \
jtregExitCode=1; \
$(ECHO) "TEST STATS: name=$(UNIQUE_DIR) run=$${runc} pass=$${passc} fail=$${failc} excluded=$${exclc}" \
USE_JTREG_SAMEVM=false
@$(SummaryInfo)
@$(SummaryInfo)
@$(SummaryInfo)
@$(SummaryInfo)
@$(SummaryInfo)
@$(SummaryInfo)
JTREG_BASIC_OPTIONS += -a
export JT_HOME; \
# The jtjck.jar utility to use to run the tests
# Phony targets (e.g. these are not filenames)