Makefile revision 180
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# This code is free software; you can redistribute it and/or modify it
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# under the terms of the GNU General Public License version 2 only, as
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# published by the Free Software Foundation. Oracle designates this
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# particular file as subject to the "Classpath" exception as provided
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# by Oracle in the LICENSE file that accompanied this code.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# This code is distributed in the hope that it will be useful, but WITHOUT
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# version 2 for more details (a copy is included in the LICENSE file that
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# accompanied this code).
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You should have received a copy of the GNU General Public License version
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# 2 along with this work; if not, write to the Free Software Foundation,
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# or visit www.oracle.com if you need additional information or have any
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Makefile to run tests from multiple sibling directories
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Root of the forest that was built
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# This makefile depends on the availability of sibling directories.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Macro to run a test target in a subdir
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteif [ -d $1 ] ; then \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte echo "ERROR: File does not exist: $1/test/Makefile"; \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte echo "WARNING: No testing done, directory does not exist: $1"; \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Test target list for langtools repository
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Test target list for jdk repository
jdk_rmi \
jdk_text \
$(JDK_TEST_LIST):
# Phony targets (e.g. these are not filenames)