Makefile revision 947
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
18920d790825d96ca3943aa2dcb6eb80dc611c5fTinderbox User# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
ab496cc3df1648e9ad992a87c35c2c0870fdc69dTinderbox User# This code is free software; you can redistribute it and/or modify it
7c1468ed500356839a4a222517364e6ce18cb1a2Tinderbox User# under the terms of the GNU General Public License version 2 only, as
c57668a2fbbe558c1bd21652813616f2f517c469Tinderbox User# published by the Free Software Foundation. Oracle designates this
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews# particular file as subject to the "Classpath" exception as provided
1f4c645185bd8fc70048e0a69eee46193a284e5cTinderbox User# by Oracle in the LICENSE file that accompanied this code.
8de3f14f1c300c3e1ed99084cc03485b42c92bf1Tinderbox User# This code is distributed in the hope that it will be useful, but WITHOUT
950d203b64f512b85fcc093ee1e9e3e531a1aea3Tinderbox User# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# version 2 for more details (a copy is included in the LICENSE file that
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews# accompanied this code).
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# You should have received a copy of the GNU General Public License version
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews# 2 along with this work; if not, write to the Free Software Foundation,
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews# or visit www.oracle.com if you need additional information or have any
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# Makefile to run tests from multiple sibling directories
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# Root of the forest that was built
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# This makefile depends on the availability of sibling directories.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# Macro to run a test target in a subdir
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsif [ -d $1 ] ; then \
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt echo "ERROR: File does not exist: $1/test/Makefile"; \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater echo "WARNING: No testing done, directory does not exist: $1"; \
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User# Test target list for langtools repository
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# Test target list for jdk repository
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews jdk_security1 jdk_security2 jdk_security3 jdk_security4 \
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# These tests need a DISPLAY and can create window interaction complications
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt# These are the current jck test targets in the jdk repository
95637507c3d47481fbf0a8a8c750a57f944f677fMark AndrewsJDK_JCK7_LIST = jck7devtools jck7compiler jck7runtime
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt# Default test target (everything)
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt# Test targets
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt @$(NO_STOPPING)$(call SUBDIR_TEST, $(LANGTOOLS_DIR), $(subst langtools_,,$@))
7cc0a5d21ef046bfd630c4769943d896a7d7472cTinderbox User$(JDK_TEST_LIST) $(JDK_TEST_LIST2) $(JDK_JCK7_LIST):
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews @$(NO_STOPPING)$(call SUBDIR_TEST, $(JDK_DIR), $@)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews################################################################
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Phony targets (e.g. these are not filenames)
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User $(JDK_TEST_LIST) $(JDK_TEST_LIST2) $(JDK_JCK7_LIST) \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews################################################################