Makefile revision 2017
0N/A#
4680N/A# Copyright 1995-2009 Sun Microsystems, Inc. All Rights Reserved.
0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A#
0N/A# This code is free software; you can redistribute it and/or modify it
0N/A# under the terms of the GNU General Public License version 2 only, as
2362N/A# published by the Free Software Foundation. Sun designates this
0N/A# particular file as subject to the "Classpath" exception as provided
2362N/A# by Sun in the LICENSE file that accompanied this code.
0N/A#
0N/A# This code is distributed in the hope that it will be useful, but WITHOUT
0N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A# version 2 for more details (a copy is included in the LICENSE file that
0N/A# accompanied this code).
0N/A#
0N/A# You should have received a copy of the GNU General Public License version
0N/A# 2 along with this work; if not, write to the Free Software Foundation,
0N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A#
2362N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
2362N/A# CA 95054 USA or visit www.sun.com if you need additional information or
2362N/A# have any questions.
0N/A#
0N/A
0N/A#
0N/A# Makefile to run various jdk tests
0N/A#
0N/A
0N/A# Empty these to get rid of some default rules
0N/A.SUFFIXES:
0N/A.SUFFIXES: .java
0N/ACO=
0N/AGET=
0N/A
16N/A# Utilities used
0N/AAWK = awk
0N/ACAT = cat
0N/ACD = cd
0N/ACHMOD = chmod
0N/ACP = cp
0N/ACUT = cut
0N/AECHO = echo
0N/AEGREP = egrep
0N/AEXPAND = expand
0N/AEXPR = expr
0N/AKILL = /usr/bin/kill
0N/AMKDIR = mkdir
0N/ANOHUP = nohup
0N/APWD = pwd
0N/ASED = sed
0N/ASLEEP = sleep
2963N/ASORT = sort
2963N/ATEE = tee
2963N/AUNAME = uname
2963N/AUNIQ = uniq
2963N/AWC = wc
2963N/AXHOST = xhost
2963N/AZIP = zip
2963N/A
2963N/A# Get OS name from uname
2963N/AUNAME_S := $(shell $(UNAME) -s)
2963N/A
2963N/A# Commands to run on paths to make mixed paths for java on windows
2963N/AGETMIXEDPATH=$(ECHO)
2963N/A
2963N/A# Location of developer shared files
2963N/ASLASH_JAVA = /java
2963N/A
2963N/A# Platform specific settings
2963N/Aifeq ($(UNAME_S), SunOS)
3090N/A OS_NAME = solaris
3090N/A OS_ARCH := $(shell $(UNAME) -p)
3090N/A OS_VERSION := $(shell $(UNAME) -r)
3090N/Aendif
3090N/Aifeq ($(UNAME_S), Linux)
2963N/A OS_NAME = linux
2963N/A OS_ARCH := $(shell $(UNAME) -m)
2963N/A OS_VERSION := $(shell $(UNAME) -r)
2963N/Aendif
2963N/Aifndef OS_NAME
2963N/A ifneq ($(PROCESSOR_IDENTIFIER), )
2963N/A OS_NAME = windows
2963N/A SLASH_JAVA = J:
2963N/A # A variety of ways to say X64 arch :^(
2963N/A OS_ARCH:=$(word 1, $(PROCESSOR_IDENTIFIER))
2963N/A EXESUFFIX = .exe
2963N/A # These need to be different depending on MKS or CYGWIN
2963N/A ifeq ($(findstring cygdrive,$(shell ($(CD) C:/ && $(PWD)))), )
2963N/A GETMIXEDPATH = dosname -s
2963N/A OS_VERSION := $(shell $(UNAME) -r)
2963N/A else
2963N/A GETMIXEDPATH = cygpath -m -s
2963N/A OS_VERSION := $(shell $(UNAME) -s | $(CUT) -d'-' -f2)
2963N/A endif
2963N/A endif
2963N/Aendif
2963N/A
2963N/A# Only want major and minor numbers from os version
2963N/AOS_VERSION := $(shell $(ECHO) "$(OS_VERSION)" | $(CUT) -d'.' -f1,2)
2963N/A
2963N/A# Try and use names i586, x64, and ia64 consistently
2963N/AOS_ARCH:=$(subst X64,x64,$(OS_ARCH))
2963N/AOS_ARCH:=$(subst AMD64,x64,$(OS_ARCH))
2963N/AOS_ARCH:=$(subst amd64,x64,$(OS_ARCH))
2963N/AOS_ARCH:=$(subst x86_64,x64,$(OS_ARCH))
2963N/AOS_ARCH:=$(subst EM64T,x64,$(OS_ARCH))
2963N/AOS_ARCH:=$(subst em64t,x64,$(OS_ARCH))
2963N/AOS_ARCH:=$(subst intel64,x64,$(OS_ARCH))
2963N/AOS_ARCH:=$(subst Intel64,x64,$(OS_ARCH))
2963N/AOS_ARCH:=$(subst INTEL64,x64,$(OS_ARCH))
2963N/AOS_ARCH:=$(subst IA64,ia64,$(OS_ARCH))
2963N/AOS_ARCH:=$(subst X86,i586,$(OS_ARCH))
2963N/AOS_ARCH:=$(subst x86,i586,$(OS_ARCH))
2963N/AOS_ARCH:=$(subst i386,i586,$(OS_ARCH))
2963N/AOS_ARCH:=$(subst i486,i586,$(OS_ARCH))
2963N/AOS_ARCH:=$(subst i686,i586,$(OS_ARCH))
2963N/A
2963N/A# Check for ARCH_DATA_MODEL, adjust OS_ARCH accordingly
2963N/Aifndef ARCH_DATA_MODEL
2963N/A ARCH_DATA_MODEL=32
2963N/Aendif
2963N/AARCH_DATA_MODEL_ERROR= \
2963N/A ARCH_DATA_MODEL=$(ARCH_DATA_MODEL) cannot be used with $(OS_NAME)-$(ARCH)
2963N/Aifeq ($(ARCH_DATA_MODEL),64)
2963N/A ifeq ($(OS_NAME)-$(OS_ARCH),solaris-i586)
2963N/A OS_ARCH=x64
2963N/A endif
2963N/A ifeq ($(OS_NAME)-$(OS_ARCH),solaris-sparc)
2963N/A OS_ARCH=sparcv9
2963N/A endif
2963N/A ifeq ($(OS_ARCH),i586)
2963N/A x:=$(warning "WARNING: $(ARCH_DATA_MODEL_ERROR)")
2963N/A endif
2963N/A ifeq ($(OS_ARCH),sparc)
2963N/A x:=$(warning "WARNING: $(ARCH_DATA_MODEL_ERROR)")
2963N/A endif
2963N/Aelse
2963N/A ifeq ($(ARCH_DATA_MODEL),32)
2963N/A ifeq ($(OS_ARCH),x64)
2963N/A x:=$(warning "WARNING: $(ARCH_DATA_MODEL_ERROR)")
0N/A endif
0N/A ifeq ($(OS_ARCH),ia64)
0N/A x:=$(warning "WARNING: $(ARCH_DATA_MODEL_ERROR)")
0N/A endif
0N/A ifeq ($(OS_ARCH),sparcv9)
0N/A x:=$(warning "WARNING: $(ARCH_DATA_MODEL_ERROR)")
0N/A endif
0N/A else
0N/A x:=$(warning "WARNING: $(ARCH_DATA_MODEL_ERROR)")
0N/A endif
0N/Aendif
0N/A
0N/A# Root of this test area (important to use full paths in some places)
0N/ATEST_ROOT := $(shell $(PWD))
0N/A
0N/A# Root of all test results
0N/Aifdef ALT_OUTPUTDIR
0N/A ABS_OUTPUTDIR = $(ALT_OUTPUTDIR)
0N/Aelse
0N/A ABS_OUTPUTDIR = $(TEST_ROOT)/../build/$(OS_NAME)-$(OS_ARCH)
0N/Aendif
0N/AABS_BUILD_ROOT = $(ABS_OUTPUTDIR)
0N/AABS_TEST_OUTPUT_DIR := $(ABS_BUILD_ROOT)/testoutput/$(UNIQUE_DIR)
0N/A
0N/A# Expect JPRT to set PRODUCT_HOME (the product or jdk in this case to test)
0N/Aifndef PRODUCT_HOME
0N/A # Try to use j2sdk-image if it exists
0N/A ABS_JDK_IMAGE = $(ABS_BUILD_ROOT)/j2sdk-image
0N/A PRODUCT_HOME := \
2581N/A $(shell \
2581N/A if [ -d $(ABS_JDK_IMAGE) ] ; then \
4680N/A $(ECHO) "$(ABS_JDK_IMAGE)"; \
4680N/A else \
0N/A $(ECHO) "$(ABS_BUILD_ROOT)"; \
0N/A fi)
0N/A PRODUCT_HOME := $(PRODUCT_HOME)
0N/Aendif
0N/A
0N/A# Expect JPRT to set JPRT_PRODUCT_ARGS (e.g. -server etc.)
2581N/A# Should be passed into 'java' only.
2581N/A# Could include: -d64 -server -client OR any java option
2581N/Aifdef JPRT_PRODUCT_ARGS
0N/A JAVA_ARGS = $(JPRT_PRODUCT_ARGS)
0N/Aendif
0N/A
2581N/A# Expect JPRT to set JPRT_PRODUCT_VM_ARGS (e.g. -Xcomp etc.)
0N/A# Should be passed into anything running the vm (java, javac, javadoc, ...).
0N/Aifdef JPRT_PRODUCT_VM_ARGS
0N/A JAVA_VM_ARGS = $(JPRT_PRODUCT_VM_ARGS)
0N/Aendif
0N/A
517N/A# Check JAVA_ARGS arguments based on ARCH_DATA_MODEL etc.
0N/Aifeq ($(OS_NAME),solaris)
0N/A D64_ERROR_MESSAGE=Mismatch between ARCH_DATA_MODEL=$(ARCH_DATA_MODEL) and use of -d64 in JAVA_ARGS=$(JAVA_ARGS)
0N/A ifeq ($(ARCH_DATA_MODEL),32)
0N/A ifneq ($(findstring -d64,$(JAVA_ARGS)),)
0N/A x:=$(warning "WARNING: $(D64_ERROR_MESSAGE)")
517N/A endif
0N/A endif
0N/A ifeq ($(ARCH_DATA_MODEL),64)
0N/A ifeq ($(findstring -d64,$(JAVA_ARGS)),)
4680N/A x:=$(warning "WARNING: $(D64_ERROR_MESSAGE)")
5694N/A endif
4680N/A endif
0N/Aendif
4680N/A
517N/A# Expect JPRT to set JPRT_ARCHIVE_BUNDLE (path to zip bundle for results)
0N/AARCHIVE_BUNDLE = $(ABS_TEST_OUTPUT_DIR)/ARCHIVE_BUNDLE.zip
0N/Aifdef JPRT_ARCHIVE_BUNDLE
2581N/A ARCHIVE_BUNDLE = $(JPRT_ARCHIVE_BUNDLE)
2581N/Aendif
2581N/A
2581N/A# DISPLAY settings for virtual frame buffer
2581N/ASTART_XVFB = start-Xvfb.sh
2581N/ANOHUP_OUTPUT = $(ABS_TEST_OUTPUT_DIR)/start-Xvfb.nohup-output.txt
0N/ADISPLAY_PID_FILE=$(ABS_TEST_OUTPUT_DIR)/xvfb-display-number.txt
0N/ADISPLAY_SLEEP_TIME=10
0N/ADISPLAY_MAX_SLEEPS=10
517N/Aifeq ($(OS_NAME),solaris)
0N/A VIRTUAL_FRAME_BUFFER = true
0N/Aendif
0N/Aifeq ($(OS_NAME),linux)
2963N/A VIRTUAL_FRAME_BUFFER = true
2963N/Aendif
2963N/A
2963N/A# Does not work yet, display dies as soon as it gets used. :^(
2963N/AVIRTUAL_FRAME_BUFFER = false
2963N/A
2963N/A# Are we using a VIRTUAL_FRAME_BUFFER (Xvfb)
2963N/Aifeq ($(VIRTUAL_FRAME_BUFFER),true)
2963N/A
2963N/A PREP_DISPLAY = \
2963N/A $(CP) $(START_XVFB) $(ABS_TEST_OUTPUT_DIR); \
2963N/A $(CHMOD) a+x $(ABS_TEST_OUTPUT_DIR)/$(START_XVFB); \
2963N/A ( $(CD) $(ABS_TEST_OUTPUT_DIR) && \
2963N/A $(NOHUP) $(ABS_TEST_OUTPUT_DIR)/$(START_XVFB) $(DISPLAY_PID_FILE) > $(NOHUP_OUTPUT) 2>&1 && \
2963N/A $(SLEEP) $(DISPLAY_SLEEP_TIME) ) & \
2963N/A count=1; \
2963N/A while [ ! -s $(DISPLAY_PID_FILE) ] ; do \
2963N/A $(ECHO) "Sleeping $(DISPLAY_SLEEP_TIME) more seconds, DISPLAY not ready"; \
2963N/A $(SLEEP) $(DISPLAY_SLEEP_TIME); \
2963N/A count=`$(EXPR) $${count} '+' 1`; \
2963N/A if [ $${count} -gt $(DISPLAY_MAX_SLEEPS) ] ; then \
2963N/A $(ECHO) "ERROR: DISPLAY not ready, giving up on DISPLAY"; \
2963N/A exit 9; \
2963N/A fi; \
0N/A done ; \
0N/A DISPLAY=":`$(CAT) $(DISPLAY_PID_FILE)`"; \
1365N/A export DISPLAY; \
1365N/A $(CAT) $(NOHUP_OUTPUT); \
1365N/A $(ECHO) "Prepared DISPLAY=$${DISPLAY}"; \
1365N/A $(XHOST) || \
1365N/A ( $(ECHO) "ERROR: No display" ; exit 8)
1365N/A
1365N/A KILL_DISPLAY = \
1365N/A ( \
1365N/A DISPLAY=":`$(CAT) $(DISPLAY_PID_FILE)`"; \
1365N/A export DISPLAY; \
1365N/A if [ -s "$(DISPLAY_PID_FILE)" ] ; then \
1365N/A $(KILL) `$(CAT) $(DISPLAY_PID_FILE)` > /dev/null 2>&1; \
1365N/A $(KILL) -9 `$(CAT) $(DISPLAY_PID_FILE)` > /dev/null 2>&1; \
1365N/A fi; \
2324N/A $(ECHO) "Killed DISPLAY=$${DISPLAY}"; \
2324N/A )
2324N/A
2324N/Aelse
1365N/A
1365N/A PREP_DISPLAY = $(ECHO) "VIRTUAL_FRAME_BUFFER=$(VIRTUAL_FRAME_BUFFER)"
1365N/A KILL_DISPLAY = $(ECHO) "VIRTUAL_FRAME_BUFFER=$(VIRTUAL_FRAME_BUFFER)"
1365N/A
1365N/Aendif
2324N/A
2324N/A# How to create the test bundle (pass or fail, we want to create this)
2324N/A# Follow command with ";$(BUNDLE_UP_AND_EXIT)", so it always gets executed.
1365N/AZIP_UP_RESULTS = ( $(MKDIR) -p `dirname $(ARCHIVE_BUNDLE)` \
1365N/A && $(CD) $(ABS_TEST_OUTPUT_DIR) \
5694N/A && $(ZIP) -q -r $(ARCHIVE_BUNDLE) . )
5694N/ASUMMARY_TXT = $(shell $(GETMIXEDPATH) "$(ABS_TEST_OUTPUT_DIR)")/JTreport/text/summary.txt
2746N/ASTATS_TXT_NAME = Stats.txt
2746N/ASTATS_TXT = $(shell $(GETMIXEDPATH) "$(ABS_TEST_OUTPUT_DIR)")/$(STATS_TXT_NAME)
2746N/ARUNLIST = $(shell $(GETMIXEDPATH) "$(ABS_TEST_OUTPUT_DIR)")/runlist.txt
1365N/APASSLIST = $(shell $(GETMIXEDPATH) "$(ABS_TEST_OUTPUT_DIR)")/passlist.txt
1365N/AFAILLIST = $(shell $(GETMIXEDPATH) "$(ABS_TEST_OUTPUT_DIR)")/faillist.txt
1365N/AEXITCODE = $(shell $(GETMIXEDPATH) "$(ABS_TEST_OUTPUT_DIR)")/exitcode.txt
1365N/A
1365N/ATESTEXIT = \
1365N/A if [ ! -s $(EXITCODE) ] ; then \
1365N/A $(ECHO) "ERROR: EXITCODE file not filled in."; \
1365N/A $(ECHO) "1" > $(EXITCODE); \
1365N/A fi ; \
1365N/A testExitCode=`$(CAT) $(EXITCODE)`; \
1365N/A $(ECHO) "EXIT CODE: $${testExitCode}"; \
1365N/A exit $${testExitCode}
1365N/A
1365N/ABUNDLE_UP_AND_EXIT = \
1365N/A( \
1365N/A jtregExitCode=$$? && \
1365N/A _summary="$(SUMMARY_TXT)"; \
0N/A $(RM) -f $(STATS_TXT) $(RUNLIST) $(PASSLIST) $(FAILLIST) $(EXITCODE); \
0N/A $(ECHO) "$${jtregExitCode}" > $(EXITCODE); \
0N/A if [ -r "$${_summary}" ] ; then \
0N/A $(ECHO) "Summary: $(UNIQUE_DIR)" > $(STATS_TXT); \
0N/A $(EXPAND) $${_summary} | $(EGREP) -v ' Not run\.' > $(RUNLIST); \
0N/A $(EGREP) ' Passed\.' $(RUNLIST) \
0N/A | $(EGREP) -v ' Error\.' \
0N/A | $(EGREP) -v ' Failed\.' > $(PASSLIST); \
0N/A ( $(EGREP) ' Failed\.' $(RUNLIST); \
0N/A $(EGREP) ' Error\.' $(RUNLIST); \
0N/A $(EGREP) -v ' Passed\.' $(RUNLIST) ) \
2581N/A | $(SORT) | $(UNIQ) > $(FAILLIST); \
0N/A if [ $${jtregExitCode} != 0 -o -s $(FAILLIST) ] ; then \
2581N/A $(EXPAND) $(FAILLIST) \
2581N/A | $(CUT) -d' ' -f1 \
0N/A | $(SED) -e 's@^@FAILED: @' >> $(STATS_TXT); \
0N/A if [ $${jtregExitCode} = 0 ] ; then \
0N/A jtregExitCode=1; \
2581N/A fi; \
0N/A fi; \
0N/A runc="`$(CAT) $(RUNLIST) | $(WC) -l | $(AWK) '{print $$1;}'`"; \
2581N/A passc="`$(CAT) $(PASSLIST) | $(WC) -l | $(AWK) '{print $$1;}'`"; \
2581N/A failc="`$(CAT) $(FAILLIST) | $(WC) -l | $(AWK) '{print $$1;}'`"; \
0N/A exclc="`$(CAT) $(EXCLUDELIST) | $(WC) -l | $(AWK) '{print $$1;}'`"; \
0N/A $(ECHO) "TEST STATS: run=$${runc} pass=$${passc} fail=$${failc} excluded=$${exclc}" \
0N/A >> $(STATS_TXT); \
0N/A else \
0N/A $(ECHO) "Missing file: $${_summary}" >> $(STATS_TXT); \
2581N/A fi; \
2581N/A $(CAT) $(STATS_TXT); \
0N/A $(ZIP_UP_RESULTS) && $(KILL_DISPLAY) ; \
0N/A $(TESTEXIT) \
517N/A)
0N/A
0N/A################################################################
0N/A
0N/A# Default make rule (runs jtreg_tests)
0N/Aall: jtreg_tests
0N/A @$(ECHO) "Testing completed successfully"
0N/A
0N/A# Prep for output
0N/Aprep: clean
0N/A @$(MKDIR) -p $(ABS_TEST_OUTPUT_DIR)
0N/A @$(MKDIR) -p `dirname $(ARCHIVE_BUNDLE)`
0N/A
0N/A# Cleanup
0N/Aclean:
0N/A $(RM) -r $(ABS_TEST_OUTPUT_DIR)
2581N/A $(RM) $(ARCHIVE_BUNDLE)
0N/A
5694N/A################################################################
5694N/A
0N/A# jtreg tests
0N/A
0N/A# Expect JT_HOME to be set for jtreg tests. (home for jtreg)
0N/Aifndef JT_HOME
0N/A JT_HOME = $(SLASH_JAVA)/re/jtreg/4.0/promoted/latest/binaries/jtreg
0N/A ifdef JPRT_JTREG_HOME
0N/A JT_HOME = $(JPRT_JTREG_HOME)
0N/A endif
0N/Aendif
0N/A
0N/A# Expect JPRT to set TESTDIRS to the jtreg test dirs
0N/Aifndef TESTDIRS
0N/A TESTDIRS = demo
0N/Aendif
0N/A
0N/A# Samevm settings (default is false)
0N/Aifndef USE_JTREG_SAMEVM
0N/A USE_JTREG_SAMEVM=false
0N/Aendif
0N/A# With samevm, you cannot use -javaoptions?
0N/Aifeq ($(USE_JTREG_SAMEVM),true)
0N/A EXTRA_JTREG_OPTIONS += -samevm $(JAVA_ARGS) $(JAVA_ARGS:%=-vmoption:%)
0N/A JTREG_TEST_OPTIONS = $(JAVA_VM_ARGS:%=-vmoption:%)
795N/Aelse
0N/A JTREG_TEST_OPTIONS = $(JAVA_ARGS:%=-javaoptions:%) $(JAVA_VM_ARGS:%=-vmoption:%)
1365N/Aendif
0N/A
0N/A# Some tests annoy me and fail frequently
0N/APROBLEM_LIST=ProblemList.txt
517N/APROBLEM_LISTS=$(PROBLEM_LIST) $(wildcard closed/$(PROBLEM_LIST))
0N/AEXCLUDELIST=$(ABS_TEST_OUTPUT_DIR)/excludelist.txt
0N/A
0N/A# Create exclude list for this platform and arch
0N/Aifdef NO_EXCLUDES
0N/A$(EXCLUDELIST): $(PROBLEM_LISTS) $(TESTDIRS)
0N/A @$(ECHO) "NOTHING_EXCLUDED" > $@
0N/Aelse
0N/A$(EXCLUDELIST): $(PROBLEM_LISTS) $(TESTDIRS)
0N/A @$(RM) $@ $@.temp1 $@.temp2
517N/A @(($(CAT) $(PROBLEM_LISTS) | $(EGREP) -- '$(OS_NAME)-all' ) ;\
0N/A ($(CAT) $(PROBLEM_LISTS) | $(EGREP) -- '$(OS_NAME)-$(OS_ARCH)' ) ;\
0N/A ($(CAT) $(PROBLEM_LISTS) | $(EGREP) -- '$(OS_NAME)-$(OS_VERSION)') ;\
0N/A ($(CAT) $(PROBLEM_LISTS) | $(EGREP) -- 'generic-$(OS_ARCH)' ) ;\
0N/A ($(CAT) $(PROBLEM_LISTS) | $(EGREP) -- 'generic-all' ) ;\
0N/A ($(ECHO) "#") ;\
0N/A ) | $(SED) -e 's@^[\ ]*@@' \
0N/A | $(EGREP) -v '^#' > $@.temp1
0N/A @for tdir in $(TESTDIRS) ; do \
0N/A ( ( $(CAT) $@.temp1 | $(EGREP) "^$${tdir}" ) ; $(ECHO) "#" ) >> $@.temp2 ; \
0N/A done
0N/A @$(ECHO) "# at least one line" >> $@.temp2
0N/A @( $(EGREP) -v '^#' $@.temp2 ; true ) > $@
0N/A @$(ECHO) "Excluding list contains `$(EXPAND) $@ | $(WC) -l` items"
0N/Aendif
0N/A
0N/A# Select list of directories that exist
0N/Adefine TestDirs
0N/A$(foreach i,$1,$(wildcard ${i})) $(foreach i,$1,$(wildcard closed/${i}))
0N/Aendef
0N/A# Running batches of tests with or without samevm
0N/Adefine RunSamevmBatch
0N/A$(ECHO) "Running tests in samevm mode: $(call TestDirs, $?)"
0N/A$(MAKE) TESTDIRS="$(call TestDirs, $?)" USE_JTREG_SAMEVM=true UNIQUE_DIR=$@ jtreg_tests
0N/Aendef
0N/Adefine RunOthervmBatch
0N/A$(ECHO) "Running tests in othervm mode: $(call TestDirs, $?)"
0N/A$(MAKE) TESTDIRS="$(call TestDirs, $?)" USE_JTREG_SAMEVM=false UNIQUE_DIR=$@ jtreg_tests
0N/Aendef
0N/Adefine SummaryInfo
0N/A$(ECHO) "########################################################"
0N/A$(CAT) $(?:%=$(ABS_TEST_OUTPUT_DIR)/%/$(STATS_TXT_NAME))
0N/A$(ECHO) "########################################################"
0N/Aendef
0N/A
0N/A# ------------------------------------------------------------------
0N/A
0N/A# Batches of tests (somewhat arbitrary assigments to jdk_* targets)
0N/AJDK_ALL_TARGETS =
0N/A
0N/A# Stable othervm testruns (minus items from PROBLEM_LIST)
0N/A# Using samevm has problems, and doesn't help performance as much as others.
0N/AJDK_ALL_TARGETS += jdk_awt
0N/Ajdk_awt: com/sun/awt java/awt sun/awt
0N/A $(call RunOthervmBatch)
0N/A
0N/A# Stable samevm testruns (minus items from PROBLEM_LIST)
0N/AJDK_ALL_TARGETS += jdk_beans1
0N/Ajdk_beans1: java/beans/beancontext java/beans/PropertyChangeSupport \
0N/A java/beans/Introspector java/beans/Performance \
0N/A java/beans/VetoableChangeSupport java/beans/Statement
0N/A $(call RunSamevmBatch)
0N/A
0N/A# Stable othervm testruns (minus items from PROBLEM_LIST)
0N/A# Using samevm has serious problems with these tests
0N/AJDK_ALL_TARGETS += jdk_beans2
0N/Ajdk_beans2: java/beans/Beans java/beans/EventHandler java/beans/XMLDecoder \
0N/A java/beans/PropertyEditor
0N/A $(call RunOthervmBatch)
0N/A
0N/A# Stable othervm testruns (minus items from PROBLEM_LIST)
0N/A# Using samevm has serious problems with these tests
517N/AJDK_ALL_TARGETS += jdk_beans3
0N/Ajdk_beans3: java/beans/XMLEncoder
0N/A $(call RunOthervmBatch)
0N/A
0N/A# All beans tests
0N/Ajdk_beans: jdk_beans1 jdk_beans2 jdk_beans3
517N/A @$(SummaryInfo)
0N/A
0N/A# Stable samevm testruns (minus items from PROBLEM_LIST)
0N/AJDK_ALL_TARGETS += jdk_io
0N/Ajdk_io: java/io
0N/A $(call RunSamevmBatch)
517N/A
0N/A# Stable samevm testruns (minus items from PROBLEM_LIST)
0N/AJDK_ALL_TARGETS += jdk_lang
0N/Ajdk_lang: java/lang
0N/A $(call RunSamevmBatch)
0N/A
0N/A# Stable othervm testruns (minus items from PROBLEM_LIST)
0N/A# Using samevm has serious problems with these tests
517N/AJDK_ALL_TARGETS += jdk_management1
0N/Ajdk_management1: javax/management
0N/A $(call RunOthervmBatch)
0N/A
0N/A# Stable othervm testruns (minus items from PROBLEM_LIST)
0N/A# Using samevm has serious problems with these tests
517N/AJDK_ALL_TARGETS += jdk_management2
0N/Ajdk_management2: com/sun/jmx com/sun/management sun/management
0N/A $(call RunOthervmBatch)
0N/A
0N/A# All management tests
0N/Ajdk_management: jdk_management1 jdk_management2
0N/A @$(SummaryInfo)
0N/A
0N/A# Stable samevm testruns (minus items from PROBLEM_LIST)
0N/AJDK_ALL_TARGETS += jdk_math
0N/Ajdk_math: java/math
0N/A $(call RunSamevmBatch)
0N/A
0N/A# Stable samevm testruns (minus items from PROBLEM_LIST)
0N/AJDK_ALL_TARGETS += jdk_misc
0N/Ajdk_misc: demo javax/imageio javax/naming javax/print javax/script \
0N/A javax/smartcardio javax/sound com/sun/java com/sun/jndi \
0N/A com/sun/org sun/misc sun/pisces
0N/A $(call RunSamevmBatch)
0N/A
0N/A# Stable samevm testruns (minus items from PROBLEM_LIST)
0N/AJDK_ALL_TARGETS += jdk_net
0N/Ajdk_net: com/sun/net java/net sun/net
0N/A $(call RunSamevmBatch)
0N/A
0N/A# Stable samevm testruns (minus items from PROBLEM_LIST)
0N/AJDK_ALL_TARGETS += jdk_nio1
0N/Ajdk_nio1: java/nio/file
0N/A $(call RunSamevmBatch)
0N/A
0N/A# Stable othervm testruns (minus items from PROBLEM_LIST)
0N/A# Using samevm has serious problems with these tests
0N/AJDK_ALL_TARGETS += jdk_nio2
0N/Ajdk_nio2: java/nio/Buffer java/nio/ByteOrder \
0N/A java/nio/channels java/nio/BufferPoolMXBean java/nio/MappedByteBuffer
0N/A $(call RunOthervmBatch)
0N/A
0N/A# Stable othervm testruns (minus items from PROBLEM_LIST)
0N/A# Using samevm has serious problems with these tests
0N/AJDK_ALL_TARGETS += jdk_nio3
0N/Ajdk_nio3: com/sun/nio sun/nio
0N/A $(call RunOthervmBatch)
0N/A
0N/A# All nio tests
0N/Ajdk_nio: jdk_nio1 jdk_nio2 jdk_nio3
0N/A @$(SummaryInfo)
0N/A
0N/A# Stable othervm testruns (minus items from PROBLEM_LIST)
0N/A# Using samevm has serious problems with these tests
0N/AJDK_ALL_TARGETS += jdk_rmi
0N/Ajdk_rmi: java/rmi javax/rmi sun/rmi
5694N/A $(call RunOthervmBatch)
5694N/A
5694N/A# Stable samevm testruns (minus items from PROBLEM_LIST)
5694N/AJDK_ALL_TARGETS += jdk_security1
5694N/Ajdk_security1: java/security
5694N/A $(call RunSamevmBatch)
5694N/A
5694N/A# Stable othervm testruns (minus items from PROBLEM_LIST)
5694N/A# Using samevm has serious problems with these tests
5694N/AJDK_ALL_TARGETS += jdk_security2
5694N/Ajdk_security2: javax/crypto com/sun/crypto
5694N/A $(call RunOthervmBatch)
5694N/A
5694N/A# Stable othervm testruns (minus items from PROBLEM_LIST)
5694N/A# Using samevm has serious problems with these tests
5694N/AJDK_ALL_TARGETS += jdk_security3
5694N/Ajdk_security3: com/sun/security lib/security javax/security sun/security
5694N/A $(call RunOthervmBatch)
5694N/A
5694N/A# All security tests
5694N/Ajdk_security: jdk_security1 jdk_security2 jdk_security3
5694N/A @$(SummaryInfo)
5694N/A
0N/A# Stable othervm testruns (minus items from PROBLEM_LIST)
517N/A# Using samevm has problems, and doesn't help performance as much as others.
0N/AJDK_ALL_TARGETS += jdk_swing
0N/Ajdk_swing: javax/swing sun/java2d
0N/A $(call RunOthervmBatch)
0N/A
0N/A# Stable samevm testruns (minus items from PROBLEM_LIST)
0N/AJDK_ALL_TARGETS += jdk_text
0N/Ajdk_text: java/text sun/text
0N/A $(call RunSamevmBatch)
0N/A
0N/A# Stable samevm testruns (minus items from PROBLEM_LIST)
0N/AJDK_ALL_TARGETS += jdk_tools1
0N/Ajdk_tools1: com/sun/jdi
0N/A $(call RunSamevmBatch)
0N/A
0N/A# Stable othervm testruns (minus items from PROBLEM_LIST)
0N/A# Using samevm has serious problems with these tests
0N/AJDK_ALL_TARGETS += jdk_tools2
0N/Ajdk_tools2: com/sun/tools sun/jvmstat sun/tools tools vm com/sun/servicetag com/sun/tracing
0N/A $(call RunOthervmBatch)
0N/A
0N/A# All tools tests
0N/Ajdk_tools: jdk_tools1 jdk_tools2
0N/A @$(SummaryInfo)
517N/A
0N/A# Stable samevm testruns (minus items from PROBLEM_LIST)
0N/AJDK_ALL_TARGETS += jdk_util
0N/Ajdk_util: java/util sun/util
0N/A $(call RunSamevmBatch)
517N/A
0N/A# ------------------------------------------------------------------
0N/A
0N/A# Run all tests
0N/AFILTER_OUT_LIST=jdk_awt jdk_rmi jdk_swing
0N/AJDK_ALL_STABLE_TARGETS := $(filter-out $(FILTER_OUT_LIST), $(JDK_ALL_TARGETS))
0N/Ajdk_all: $(JDK_ALL_STABLE_TARGETS)
0N/A @$(SummaryInfo)
0N/A
0N/A# These are all phony targets
0N/APHONY_LIST += $(JDK_ALL_TARGETS)
0N/A
0N/A# ------------------------------------------------------------------
0N/A
0N/A# Default JTREG to run (win32 script works for everybody)
0N/AJTREG = $(JT_HOME)/win32/bin/jtreg
0N/A# Add any extra options (samevm etc.)
0N/AJTREG_BASIC_OPTIONS += $(EXTRA_JTREG_OPTIONS)
0N/A# Only run automatic tests
0N/AJTREG_BASIC_OPTIONS += -a
0N/A# Report details on all failed or error tests, times too
0N/AJTREG_BASIC_OPTIONS += -v:fail,error,time
0N/A# Retain all files for failing tests
0N/AJTREG_BASIC_OPTIONS += -retain:fail,error
0N/A# Ignore tests are not run and completely silent about it
0N/AJTREG_BASIC_OPTIONS += -ignore:quiet
0N/A# Multiple by 4 the timeout numbers
0N/AJTREG_BASIC_OPTIONS += -timeoutFactor:4
0N/A# Boost the max memory for jtreg to avoid gc thrashing
0N/AJTREG_BASIC_OPTIONS += -J-Xmx512m
0N/A
0N/A# Make sure jtreg exists
0N/A$(JTREG): $(JT_HOME)
0N/A
0N/A# Run jtreg
0N/Ajtreg_tests: prep $(PRODUCT_HOME) $(JTREG) $(EXCLUDELIST)
2987N/A @$(EXPAND) $(EXCLUDELIST) \
0N/A | $(CUT) -d' ' -f1 \
0N/A | $(SED) -e 's@^@Excluding: @'
0N/A ( \
0N/A ( JT_HOME=$(shell $(GETMIXEDPATH) "$(JT_HOME)"); \
0N/A export JT_HOME; \
0N/A $(PREP_DISPLAY) && \
0N/A $(shell $(GETMIXEDPATH) "$(JTREG)") \
0N/A $(JTREG_BASIC_OPTIONS) \
0N/A -r:$(shell $(GETMIXEDPATH) "$(ABS_TEST_OUTPUT_DIR)")/JTreport \
0N/A -w:$(shell $(GETMIXEDPATH) "$(ABS_TEST_OUTPUT_DIR)")/JTwork \
0N/A -jdk:$(shell $(GETMIXEDPATH) "$(PRODUCT_HOME)") \
0N/A -exclude:$(shell $(GETMIXEDPATH) "$(EXCLUDELIST)") \
0N/A $(JTREG_TEST_OPTIONS) \
0N/A $(TESTDIRS) \
0N/A ) ; $(BUNDLE_UP_AND_EXIT) \
0N/A ) 2>&1 | $(TEE) $(ABS_TEST_OUTPUT_DIR)/output.txt ; $(TESTEXIT)
0N/A
0N/APHONY_LIST += jtreg_tests
0N/A
0N/A################################################################
0N/A
0N/A# packtest
0N/A
0N/A# Expect JPRT to set JPRT_PACKTEST_HOME.
0N/APACKTEST_HOME = /net/jprt-web.sfbay.sun.com/jprt/allproducts/packtest
0N/Aifdef JPRT_PACKTEST_HOME
517N/A PACKTEST_HOME = $(JPRT_PACKTEST_HOME)
0N/Aendif
0N/A
0N/Apacktest: prep $(PACKTEST_HOME)/ptest $(PRODUCT_HOME)
0N/A ( $(CD) $(PACKTEST_HOME) && \
0N/A $(PACKTEST_HOME)/ptest \
0N/A -t "$(PRODUCT_HOME)" \
0N/A $(PACKTEST_STRESS_OPTION) \
0N/A $(EXTRA_PACKTEST_OPTIONS) \
0N/A -W $(ABS_TEST_OUTPUT_DIR) \
0N/A $(JAVA_ARGS:%=-J %) \
0N/A $(JAVA_VM_ARGS:%=-J %) \
0N/A ) ; $(BUNDLE_UP_AND_EXIT)
0N/A
0N/Apacktest_stress: PACKTEST_STRESS_OPTION=-s
0N/Apacktest_stress: packtest
0N/A
0N/APHONY_LIST += packtest packtest_stress
0N/A
0N/A################################################################
0N/A
0N/A# perftest to collect statistics
0N/A
0N/A# Expect JPRT to set JPRT_PACKTEST_HOME.
0N/APERFTEST_HOME = ${TEST_ROOT}/perf
0N/Aifdef JPRT_PERFTEST_HOME
0N/A PERFTEST_HOME = $(JPRT_PERFTEST_HOME)
0N/Aendif
0N/A
0N/Aperftest: ( $(PERFTEST_HOME)/perftest \
0N/A -t $(shell $(GETMIXEDPATH) "$(PRODUCT_HOME)") \
0N/A -w $(shell $(GETMIXEDPATH) "$(ABS_TEST_OUTPUT_DIR)") \
0N/A -h $(PERFTEST_HOME) \
0N/A ) ; $(BUNDLE_UP_AND_EXIT)
0N/A
0N/A
0N/APHONY_LIST += perftest
0N/A
0N/A################################################################
0N/A
0N/A# vmsqe tests
0N/A
0N/A# Expect JPRT to set JPRT_VMSQE_HOME.
0N/AVMSQE_HOME = /java/sqe/comp/vm/testbase/sqe/vm/current/build/latest/vm
0N/Aifdef JPRT_VMSQE_HOME
0N/A VMSQE_HOME = $(JPRT_VMSQE_HOME)
0N/Aendif
0N/A
0N/A# Expect JPRT to set JPRT_RUNVMSQE_HOME.
0N/ARUNVMSQE_HOME = /net/jprt-web.sfbay.sun.com/jprt/allproducts/runvmsqe
0N/Aifdef JPRT_RUNVMSQE_HOME
0N/A RUNVMSQE_HOME = $(JPRT_RUNVMSQE_HOME)
0N/Aendif
0N/A
0N/A# Expect JPRT to set JPRT_TONGA3_HOME.
0N/ATONGA3_HOME = /java/sqe//tools/gtee/harness/tonga
0N/Aifdef JPRT_TONGA3_HOME
0N/A TONGA3_HOME = $(JPRT_TONGA3_HOME)
0N/Aendif
0N/A
0N/ARUNVMSQE_BIN = $(RUNVMSQE_HOME)/bin/runvmsqe
0N/A
0N/Avmsqe_tests: prep $(VMSQE_HOME)/vm $(TONGA3_HOME) $(RUNVMSQE_BIN) $(PRODUCT_HOME)
0N/A $(RM) -r $(ABS_TEST_OUTPUT_DIR)/vmsqe
0N/A ( $(CD) $(ABS_TEST_OUTPUT_DIR) && \
0N/A $(RUNVMSQE_BIN) \
0N/A -jdk "$(PRODUCT_HOME)" \
0N/A -o "$(ABS_TEST_OUTPUT_DIR)/vmsqe" \
0N/A -testbase "$(VMSQE_HOME)/vm" \
0N/A -tonga "$(TONGA3_HOME)" \
0N/A -tongajdk "$(ALT_BOOTDIR)" \
0N/A $(JAVA_ARGS) \
0N/A $(JAVA_VM_ARGS) \
0N/A $(RUNVMSQE_TEST_OPTION) \
0N/A $(EXTRA_RUNVMSQE_OPTIONS) \
0N/A ) ; $(BUNDLE_UP_AND_EXIT)
0N/A
0N/Avmsqe_jdwp: RUNVMSQE_TEST_OPTION=-jdwp
0N/Avmsqe_jdwp: vmsqe_tests
0N/A
0N/Avmsqe_jdi: RUNVMSQE_TEST_OPTION=-jdi
0N/Avmsqe_jdi: vmsqe_tests
0N/A
0N/Avmsqe_jdb: RUNVMSQE_TEST_OPTION=-jdb
0N/Avmsqe_jdb: vmsqe_tests
0N/A
0N/Avmsqe_quick-jdi: RUNVMSQE_TEST_OPTION=-quick-jdi
0N/Avmsqe_quick-jdi: vmsqe_tests
0N/A
0N/Avmsqe_sajdi: RUNVMSQE_TEST_OPTION=-sajdi
0N/Avmsqe_sajdi: vmsqe_tests
0N/A
0N/Avmsqe_jvmti: RUNVMSQE_TEST_OPTION=-jvmti
0N/Avmsqe_jvmti: vmsqe_tests
0N/A
0N/Avmsqe_hprof: RUNVMSQE_TEST_OPTION=-hprof
0N/Avmsqe_hprof: vmsqe_tests
0N/A
0N/Avmsqe_monitoring: RUNVMSQE_TEST_OPTION=-monitoring
0N/Avmsqe_monitoring: vmsqe_tests
0N/A
0N/APHONY_LIST += vmsqe_jdwp vmsqe_jdi vmsqe_jdb vmsqe_quick-jdi vmsqe_sajdi \
0N/A vmsqe_jvmti vmsqe_hprof vmsqe_monitoring vmsqe_tests
0N/A
0N/A################################################################
0N/A
0N/A# jck tests
0N/A
0N/AJCK_WORK_DIR = $(ABS_TEST_OUTPUT_DIR)/JCKwork
0N/AJCK_REPORT_DIR = $(ABS_TEST_OUTPUT_DIR)/JCKreport
0N/AJCK_PROPERTIES = $(ABS_TEST_OUTPUT_DIR)/jck.properties
0N/AJCK_CONFIG = $(ABS_TEST_OUTPUT_DIR)/jck.config
0N/A
0N/AJCK_JAVA_EXE = $(PRODUCT_HOME)/bin/java$(EXESUFFIX)
0N/A
0N/AJCK_JAVATEST_JAR = $(JCK_HOME)/lib/javatest.jar
0N/AJCK_JAVATEST = $(ALT_BOOTDIR)/bin/java -jar $(JCK_JAVATEST_JAR)
0N/A
0N/A$(JCK_CONFIG): $(TEST_ROOT)/JCK-$(JCK_BUNDLE_NAME)-$(JCK_RELEASE)-base.jti
0N/A $(RM) $@
0N/A $(MKDIR) -p $(@D)
0N/A $(CP) $< $@
0N/A
0N/A$(JCK_PROPERTIES): $(PRODUCT_HOME) $(JCK_JAVA_EXE)
0N/A $(RM) $@
0N/A $(MKDIR) -p $(@D)
0N/A $(ECHO) "jck.env.compiler.compRefExecute.cmdAsFile=$(JCK_JAVA_EXE)" >> $@
0N/A $(ECHO) "jck.env.compiler.compRefExecute.systemRoot=$(SYSTEMROOT)" >> $@
0N/A $(ECHO) "jck.env.compiler.testCompile.testCompileAPImultiJVM.cmdAsFile=$(JCK_JAVA_EXE)" >> $@
0N/A $(ECHO) "jck.tests.tests=$(JCK_BUNDLE_TESTDIRS)" >> $@
0N/A
0N/Ajck_tests: prep $(JCK_HOME) $(JCK_PROPERTIES) $(JCK_CONFIG) $(JCK_JAVATEST_JAR)
0N/A $(MKDIR) -p $(JCK_WORK_DIR)
0N/A ( $(JCK_JAVATEST) \
0N/A -verbose:commands,non-pass \
0N/A -testSuite $(JCK_HOME) \
0N/A -workDir $(JCK_WORK_DIR) \
0N/A -config $(JCK_CONFIG) \
0N/A -set -file $(JCK_PROPERTIES) \
0N/A -runtests \
0N/A -writeReport $(JCK_REPORT_DIR) \
0N/A ) ; $(BUNDLE_UP_AND_EXIT)
0N/A
0N/APHONY_LIST += jck_tests
0N/A
0N/A################################################################
0N/A
0N/A# jck6 tests
0N/A
0N/AJCK6_RELEASE = 6b
0N/AJCK6_DEFAULT_HOME = $(SLASH_JAVA)/re/jck/$(JCK6_RELEASE)/archive/fcs/binaries
0N/A
0N/A# Expect JPRT to set JPRT_JCK6COMPILER_HOME.
0N/AJCK6COMPILER_HOME = $(JCK6_DEFAULT_HOME)/JCK-compiler-$(JCK6_RELEASE)
0N/Aifdef JPRT_JCK6COMPILER_HOME
0N/A JCK6COMPILER_HOME = $(JPRT_JCK6COMPILER_HOME)
0N/Aendif
0N/A
0N/A# Expect JPRT to set JPRT_JCK6RUNTIME_HOME.
0N/AJCK6RUNTIME_HOME = $(JCK6_DEFAULT_HOME)/JCK-runtime-$(JCK6_RELEASE)
0N/Aifdef JPRT_JCK6RUNTIME_HOME
0N/A JCK6RUNTIME_HOME = $(JPRT_JCK6RUNTIME_HOME)
0N/Aendif
0N/A
0N/A# Expect JPRT to set JPRT_JCK6DEVTOOLS_HOME.
0N/AJCK6DEVTOOLS_HOME = $(JCK6_DEFAULT_HOME)/JCK-devtools-$(JCK6_RELEASE)
0N/Aifdef JPRT_JCK6DEVTOOLS_HOME
0N/A JCK6DEVTOOLS_HOME = $(JPRT_JCK6DEVTOOLS_HOME)
0N/Aendif
0N/A
0N/Ajck6_tests: JCK_HOME=$(JCK6_HOME)
0N/Ajck6_tests: JCK_RELEASE=$(JCK6_RELEASE)
0N/Ajck6_tests: jck_tests
0N/A
0N/Ajck6compiler: JCK6_HOME=$(JCK6COMPILER_HOME)
0N/Ajck6compiler: JCK_BUNDLE_NAME=compiler
0N/Ajck6compiler: jck6_tests
0N/A
0N/Ajck6compiler_lang: JCK_BUNDLE_TESTDIRS=lang
0N/Ajck6compiler_lang: jck6compiler
0N/A
0N/Ajck6runtime: JCK6_HOME=$(JCK6RUNTIME_HOME)
0N/Ajck6runtime: JCK_BUNDLE_NAME=runtime
0N/Ajck6runtime: jck6_tests
0N/A
0N/Ajck6runtime_lang: JCK_BUNDLE_TESTDIRS=lang
0N/Ajck6runtime_lang: jck6runtime
0N/A
0N/Ajck6devtools: JCK6_HOME=$(JCK6DEVTOOLS_HOME)
0N/Ajck6devtools: JCK_BUNDLE_NAME=devtools
0N/Ajck6devtools: jck6_tests
0N/A
0N/Ajck6devtools_lang: JCK_BUNDLE_TESTDIRS=lang
0N/Ajck6devtools_lang: jck6devtools
0N/A
0N/APHONY_LIST += jck6compiler jck6runtime jck6devtools jck6_tests \
0N/A jck6compiler_lang jck6runtime_lang jck6devtools_lang
0N/A
0N/A################################################################
0N/A
0N/A# jck7 tests
0N/A
0N/AJCK7_RELEASE = 7
0N/AJCK7_DEFAULT_HOME = $(SLASH_JAVA)/re/jck/$(JCK7_RELEASE)/archive/fcs/binaries
0N/A
0N/A# Expect JPRT to set JPRT_JCK7COMPILER_HOME.
0N/AJCK7COMPILER_HOME = $(JCK7_DEFAULT_HOME)/JCK-compiler-$(JCK7_RELEASE)
0N/Aifdef JPRT_JCK7COMPILER_HOME
0N/A JCK7COMPILER_HOME = $(JPRT_JCK7COMPILER_HOME)
0N/Aendif
0N/A
0N/A# Expect JPRT to set JPRT_JCK7RUNTIME_HOME.
0N/AJCK7RUNTIME_HOME = $(JCK7_DEFAULT_HOME)/JCK-runtime-$(JCK7_RELEASE)
0N/Aifdef JPRT_JCK7RUNTIME_HOME
0N/A JCK7RUNTIME_HOME = $(JPRT_JCK7RUNTIME_HOME)
0N/Aendif
0N/A
0N/A# Expect JPRT to set JPRT_JCK7DEVTOOLS_HOME.
0N/AJCK7DEVTOOLS_HOME = $(JCK7_DEFAULT_HOME)/JCK-devtools-$(JCK7_RELEASE)
0N/Aifdef JPRT_JCK7DEVTOOLS_HOME
0N/A JCK7DEVTOOLS_HOME = $(JPRT_JCK7DEVTOOLS_HOME)
0N/Aendif
0N/A
0N/Ajck7_tests: JCK_HOME=$(JCK7_HOME)
0N/Ajck7_tests: JCK_RELEASE=$(JCK7_RELEASE)
0N/Ajck7_tests: jck_tests
0N/A
0N/Ajck7compiler: JCK7_HOME=$(JCK7COMPILER_HOME)
0N/Ajck7compiler: JCK_BUNDLE_NAME=compiler
0N/Ajck7compiler: jck7_tests
0N/A
0N/Ajck7compiler_lang: JCK_BUNDLE_TESTDIRS=lang
0N/Ajck7compiler_lang: jck7compiler
0N/A
0N/Ajck7runtime: JCK7_HOME=$(JCK7RUNTIME_HOME)
0N/Ajck7runtime: JCK_BUNDLE_NAME=runtime
0N/Ajck7runtime: jck7_tests
0N/A
0N/Ajck7runtime_lang: JCK_BUNDLE_TESTDIRS=lang
0N/Ajck7runtime_lang: jck7runtime
0N/A
0N/Ajck7devtools: JCK7_HOME=$(JCK7DEVTOOLS_HOME)
0N/Ajck7devtools: JCK_BUNDLE_NAME=devtools
0N/Ajck7devtools: jck7_tests
0N/A
0N/Ajck7devtools_lang: JCK_BUNDLE_TESTDIRS=lang
0N/Ajck7devtools_lang: jck7devtools
0N/A
0N/APHONY_LIST += jck7compiler jck7runtime jck7devtools jck7_tests \
0N/A jck7compiler_lang jck7runtime_lang jck7devtools_lang
0N/A
0N/A################################################################
0N/A
0N/A# Phony targets (e.g. these are not filenames)
0N/A.PHONY: all clean prep $(PHONY_LIST)
0N/A
0N/A################################################################
0N/A
0N/A