Makefile revision 2017
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# 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# 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# 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. 2362N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 0N/A# Makefile to run various jdk tests 0N/A# Empty these to get rid of some default rules 2963N/A# Commands to run on paths to make mixed paths for java on windows 2963N/A# Location of developer shared files 2963N/A# Platform specific settings 2963N/A # A variety of ways to say X64 arch :^( 2963N/A # These need to be different depending on MKS or CYGWIN 2963N/A# Only want major and minor numbers from os version 2963N/A# Try and use names i586, x64, and ia64 consistently 2963N/A# Check for ARCH_DATA_MODEL, adjust OS_ARCH accordingly 0N/A# Root of this test area (important to use full paths in some places) 0N/A# Root of all test results 0N/A# Expect JPRT to set PRODUCT_HOME (the product or jdk in this case to test) 0N/A # Try to use j2sdk-image if it exists 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/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, ...). 517N/A# Check JAVA_ARGS arguments based on ARCH_DATA_MODEL etc. 517N/A# Expect JPRT to set JPRT_ARCHIVE_BUNDLE (path to zip bundle for results) 2581N/A# DISPLAY settings for virtual frame buffer 2963N/A# Does not work yet, display dies as soon as it gets used. :^( 2963N/A# Are we using a VIRTUAL_FRAME_BUFFER (Xvfb) 2963N/A $(ECHO) "ERROR: DISPLAY not ready, giving up on DISPLAY"; \
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/A $(ECHO) "ERROR: EXITCODE file not filled in."; \
0N/A if [ -r "$${_summary}" ] ; then \ 0N/A $(ECHO) "TEST STATS: run=$${runc} pass=$${passc} fail=$${failc} excluded=$${exclc}" \ 0N/A################################################################ 0N/A# Default make rule (runs jtreg_tests) 0N/A @
$(ECHO) "Testing completed successfully" 5694N/A################################################################ 0N/A# Expect JT_HOME to be set for jtreg tests. (home for jtreg) 0N/A# Expect JPRT to set TESTDIRS to the jtreg test dirs 0N/A# Samevm settings (default is false) 0N/A# With samevm, you cannot use -javaoptions? 0N/A# Some tests annoy me and fail frequently 0N/A# Create exclude list for this platform and arch 0N/A# Select list of directories that exist 0N/A# Running batches of tests with or without samevm 0N/A$(ECHO) "########################################################" 0N/A$(ECHO) "########################################################" 0N/A# ------------------------------------------------------------------ 0N/A# Batches of tests (somewhat arbitrary assigments to jdk_* targets) 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/A# Stable samevm testruns (minus items from PROBLEM_LIST) 0N/A# Stable othervm testruns (minus items from PROBLEM_LIST) 0N/A# Using samevm has serious problems with these tests 0N/A# Stable othervm testruns (minus items from PROBLEM_LIST) 0N/A# Using samevm has serious problems with these tests 0N/A# Stable samevm testruns (minus items from PROBLEM_LIST) 0N/A# Stable samevm testruns (minus items from PROBLEM_LIST) 0N/A# Stable othervm testruns (minus items from PROBLEM_LIST) 0N/A# Using samevm has serious problems with these tests 0N/A# Stable othervm testruns (minus items from PROBLEM_LIST) 0N/A# Using samevm has serious problems with these tests 0N/A# All management tests 0N/A# Stable samevm testruns (minus items from PROBLEM_LIST) 0N/A# Stable samevm testruns (minus items from PROBLEM_LIST) 0N/A# Stable samevm testruns (minus items from PROBLEM_LIST) 0N/A# Stable samevm testruns (minus items from PROBLEM_LIST) 0N/A# Stable othervm testruns (minus items from PROBLEM_LIST) 0N/A# Using samevm has serious problems with these tests 0N/A# Stable othervm testruns (minus items from PROBLEM_LIST) 0N/A# Using samevm has serious problems with these tests 0N/A# Stable othervm testruns (minus items from PROBLEM_LIST) 0N/A# Using samevm has serious problems with these tests 5694N/A# Stable samevm testruns (minus items from PROBLEM_LIST) 5694N/A# Stable othervm testruns (minus items from PROBLEM_LIST) 5694N/A# Using samevm has serious problems with these tests 5694N/A# Stable othervm testruns (minus items from PROBLEM_LIST) 5694N/A# Using samevm has serious problems with these tests 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/A# Stable samevm testruns (minus items from PROBLEM_LIST) 0N/A# Stable samevm testruns (minus items from PROBLEM_LIST) 0N/A# Stable othervm testruns (minus items from PROBLEM_LIST) 0N/A# Using samevm has serious problems with these tests 0N/A# Stable samevm testruns (minus items from PROBLEM_LIST) 0N/A# ------------------------------------------------------------------ 0N/A# These are all phony targets 0N/A# ------------------------------------------------------------------ 0N/A# Default JTREG to run (win32 script works for everybody) 0N/A# Add any extra options (samevm etc.) 0N/A# Only run automatic tests 0N/A# Report details on all failed or error tests, times too 0N/A# Retain all files for failing tests 0N/A# Ignore tests are not run and completely silent about it 0N/A# Multiple by 4 the timeout numbers 0N/A# Boost the max memory for jtreg to avoid gc thrashing 0N/A# Make sure jtreg exists 0N/A |
$(SED) -e
's@^@Excluding: @' 0N/A################################################################ 0N/A# Expect JPRT to set JPRT_PACKTEST_HOME. 0N/A################################################################ 0N/A# perftest to collect statistics 0N/A# Expect JPRT to set JPRT_PACKTEST_HOME. 0N/A################################################################ 0N/A# Expect JPRT to set JPRT_VMSQE_HOME. 0N/A# Expect JPRT to set JPRT_RUNVMSQE_HOME. 0N/A# Expect JPRT to set JPRT_TONGA3_HOME. 0N/A################################################################ 0N/A################################################################ 0N/A# Expect JPRT to set JPRT_JCK6COMPILER_HOME. 0N/A# Expect JPRT to set JPRT_JCK6RUNTIME_HOME. 0N/A# Expect JPRT to set JPRT_JCK6DEVTOOLS_HOME. 0N/A################################################################ 0N/A# Expect JPRT to set JPRT_JCK7COMPILER_HOME. 0N/A# Expect JPRT to set JPRT_JCK7RUNTIME_HOME. 0N/A# Expect JPRT to set JPRT_JCK7DEVTOOLS_HOME. 0N/A################################################################ 0N/A# Phony targets (e.g. these are not filenames) 0N/A################################################################