Makefile revision 1821
1821N/A# Copyright 1995-2009 Sun Microsystems, Inc. All Rights Reserved. 1008N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1008N/A# This code is free software; you can redistribute it and/or modify it 1008N/A# under the terms of the GNU General Public License version 2 only, as 1008N/A# published by the Free Software Foundation. Sun designates this 1008N/A# particular file as subject to the "Classpath" exception as provided 1008N/A# by Sun in the LICENSE file that accompanied this code. 1008N/A# This code is distributed in the hope that it will be useful, but WITHOUT 1008N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1008N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1008N/A# version 2 for more details (a copy is included in the LICENSE file that 1008N/A# You should have received a copy of the GNU General Public License version 1008N/A# 2 along with this work; if not, write to the Free Software Foundation, 1008N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1008N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 1008N/A# Makefile to run various jdk tests 1821N/A# Empty these to get rid of some default rules 1008N/A# Commands to run on paths to make mixed paths for java on windows 1008N/A# Location of developer shared files 1008N/A# Platform specific settings 1821N/A # A variety of ways to say X64 arch :^( 1821N/A # These need to be different depending on MKS or CYGWIN 1821N/A# Only want major and minor numbers from os version 1821N/A# Try and use names i586, x64, and ia64 consistently 1821N/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) 1008N/A# Expect JPRT to set PRODUCT_HOME (the product or jdk in this case to test) 1008N/A # Try to use j2sdk-image if it exists 1008N/A# Expect JPRT to set JPRT_PRODUCT_ARGS (e.g. -server etc.) 1008N/A# Should be passed into 'java' only. 1821N/A# Could include: -d64 -server -client OR any java option 1008N/A# Expect JPRT to set JPRT_PRODUCT_VM_ARGS (e.g. -Xcomp etc.) 1008N/A# Should be passed into anything running the vm (java, javac, javadoc, ...). 1821N/A# Check JAVA_ARGS arguments based on ARCH_DATA_MODEL etc. 1008N/A# Expect JPRT to set JPRT_ARCHIVE_BUNDLE (path to zip bundle for results) 1821N/A# DISPLAY settings for virtual frame buffer 1821N/A# Does not work yet, display dies as soon as it gets used. :^( 1821N/A# Are we using a VIRTUAL_FRAME_BUFFER (Xvfb) 1821N/A $(ECHO) "ERROR: DISPLAY not ready, giving up on DISPLAY"; \
1008N/A# How to create the test bundle (pass or fail, we want to create this) 1008N/A# Follow command with ";$(BUNDLE_UP_AND_EXIT)", so it always gets executed. 1821N/A if [ -r "$${_summary}" ] ; then \ 1821N/A $(ECHO) "TEST STATS: run=$${runc} pass=$${passc} fail=$${failc} excluded=$${exclc}" \ 1008N/A################################################################ 1008N/A# Default make rule (runs jtreg_tests) 1008N/A################################################################ 1008N/A# Expect JT_HOME to be set for jtreg tests. (home for jtreg) 1008N/A# Expect JPRT to set TESTDIRS to the jtreg test dirs 1821N/A# Samevm settings (default is false) 1821N/A# With samevm, you cannot use -javaoptions? 1821N/A# Some tests annoy me and fail frequently 1821N/A# Create exclude list for this platform and arch 1821N/A# Running batches of tests with or without samevm 1821N/A# ------------------------------------------------------------------ 1821N/A# Batches of tests (somewhat arbitrary assigments to jdk_* targets) 1821N/A# Stable othervm testruns (minus items from PROBLEM_LIST) 1821N/A# Using samevm has problems, and doesn't help performance as much as others. 1821N/A# Stable samevm testruns (minus items from PROBLEM_LIST) 1821N/A# Stable othervm testruns (minus items from PROBLEM_LIST) 1821N/A# Using samevm has serious problems with these tests 1821N/A# Stable samevm testruns (minus items from PROBLEM_LIST) 1821N/A# Stable samevm testruns (minus items from PROBLEM_LIST) 1821N/A# Stable othervm testruns (minus items from PROBLEM_LIST) 1821N/A# Using samevm has serious problems with these tests 1821N/A# Stable othervm testruns (minus items from PROBLEM_LIST) 1821N/A# Using samevm has serious problems with these tests 1821N/A# Stable samevm testruns (minus items from PROBLEM_LIST) 1821N/A# Stable samevm testruns (minus items from PROBLEM_LIST) 1821N/A# Stable samevm testruns (minus items from PROBLEM_LIST) 1821N/A# Stable samevm testruns (minus items from PROBLEM_LIST) 1821N/A# Stable othervm testruns (minus items from PROBLEM_LIST) 1821N/A# Using samevm has serious problems with these tests 1821N/A# Stable othervm testruns (minus items from PROBLEM_LIST) 1821N/A# Using samevm has serious problems with these tests 1821N/A# Stable samevm testruns (minus items from PROBLEM_LIST) 1821N/A# Stable othervm testruns (minus items from PROBLEM_LIST) 1821N/A# Using samevm has serious problems with these tests 1821N/A# Stable othervm testruns (minus items from PROBLEM_LIST) 1821N/A# Using samevm has problems, and doesn't help performance as much as others. 1821N/A# Stable samevm testruns (minus items from PROBLEM_LIST) 1821N/A# Stable othervm testruns (minus items from PROBLEM_LIST) 1821N/A# Using samevm has serious problems with these tests 1821N/A# Stable samevm testruns (minus items from PROBLEM_LIST) 1821N/A# ------------------------------------------------------------------ 1821N/A# These are all phony targets 1821N/A# ------------------------------------------------------------------ 1008N/A# Default JTREG to run (win32 script works for everybody) 1821N/A# Add any extra options (samevm etc.) 1821N/A# Report details on all failed or error tests, times too 1821N/A# Retain all files for failing tests 1821N/A# Ignore tests are not run and completely silent about it 1821N/A# Multiple by 2 the timeout numbers 1821N/A# Boost the max memory for jtreg to avoid gc thrashing 1008N/A################################################################ 1008N/A# Expect JPRT to set JPRT_PACKTEST_HOME. 1008N/A################################################################ 1254N/A# perftest to collect statistics 1254N/A# Expect JPRT to set JPRT_PACKTEST_HOME. 1254N/A################################################################ 1008N/A# Expect JPRT to set JPRT_VMSQE_HOME. 1008N/A# Expect JPRT to set JPRT_RUNVMSQE_HOME. 1008N/A# Expect JPRT to set JPRT_TONGA3_HOME. 1008N/A################################################################ 1008N/A################################################################ 1008N/A# Expect JPRT to set JPRT_JCK6COMPILER_HOME. 1008N/A# Expect JPRT to set JPRT_JCK6RUNTIME_HOME. 1008N/A# Expect JPRT to set JPRT_JCK6DEVTOOLS_HOME. 1008N/A################################################################ 1008N/A# Expect JPRT to set JPRT_JCK7COMPILER_HOME. 1008N/A# Expect JPRT to set JPRT_JCK7RUNTIME_HOME. 1008N/A# Expect JPRT to set JPRT_JCK7DEVTOOLS_HOME. 1008N/A################################################################ 0N/A# Phony targets (e.g. these are not filenames) 1008N/A################################################################