jdk/test/Makefile
author mdoerr
Thu, 15 Dec 2016 14:24:04 +0100
changeset 42884 05815125c157
parent 42439 ccef74161219
permissions -rw-r--r--
8171244: PPC64: Make interpreter's math entries consistent with C1 and C2 and support FMA Reviewed-by: kvn, goetz
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#
40395
93a899c03875 8162670: make of jtreg_tests fails if no tests are run, causing jprt test runs to also fail
cjplummer
parents: 38890
diff changeset
     2
# Copyright (c) 1995, 2016, Oracle and/or its affiliates. All rights reserved.
2400
0d7007d99b0f 6502548: test/Makefile needs to be setup to allow for JPRT testrules (NSK and JCK testing too?)
ohair
parents: 2
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0d7007d99b0f 6502548: test/Makefile needs to be setup to allow for JPRT testrules (NSK and JCK testing too?)
ohair
parents: 2
diff changeset
     4
#
0d7007d99b0f 6502548: test/Makefile needs to be setup to allow for JPRT testrules (NSK and JCK testing too?)
ohair
parents: 2
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
0d7007d99b0f 6502548: test/Makefile needs to be setup to allow for JPRT testrules (NSK and JCK testing too?)
ohair
parents: 2
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5149
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
2400
0d7007d99b0f 6502548: test/Makefile needs to be setup to allow for JPRT testrules (NSK and JCK testing too?)
ohair
parents: 2
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5149
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
2400
0d7007d99b0f 6502548: test/Makefile needs to be setup to allow for JPRT testrules (NSK and JCK testing too?)
ohair
parents: 2
diff changeset
    10
#
0d7007d99b0f 6502548: test/Makefile needs to be setup to allow for JPRT testrules (NSK and JCK testing too?)
ohair
parents: 2
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
0d7007d99b0f 6502548: test/Makefile needs to be setup to allow for JPRT testrules (NSK and JCK testing too?)
ohair
parents: 2
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0d7007d99b0f 6502548: test/Makefile needs to be setup to allow for JPRT testrules (NSK and JCK testing too?)
ohair
parents: 2
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
0d7007d99b0f 6502548: test/Makefile needs to be setup to allow for JPRT testrules (NSK and JCK testing too?)
ohair
parents: 2
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
0d7007d99b0f 6502548: test/Makefile needs to be setup to allow for JPRT testrules (NSK and JCK testing too?)
ohair
parents: 2
diff changeset
    15
# accompanied this code).
0d7007d99b0f 6502548: test/Makefile needs to be setup to allow for JPRT testrules (NSK and JCK testing too?)
ohair
parents: 2
diff changeset
    16
#
0d7007d99b0f 6502548: test/Makefile needs to be setup to allow for JPRT testrules (NSK and JCK testing too?)
ohair
parents: 2
diff changeset
    17
# You should have received a copy of the GNU General Public License version
0d7007d99b0f 6502548: test/Makefile needs to be setup to allow for JPRT testrules (NSK and JCK testing too?)
ohair
parents: 2
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
0d7007d99b0f 6502548: test/Makefile needs to be setup to allow for JPRT testrules (NSK and JCK testing too?)
ohair
parents: 2
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0d7007d99b0f 6502548: test/Makefile needs to be setup to allow for JPRT testrules (NSK and JCK testing too?)
ohair
parents: 2
diff changeset
    20
#
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5149
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5149
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5149
diff changeset
    23
# questions.
2400
0d7007d99b0f 6502548: test/Makefile needs to be setup to allow for JPRT testrules (NSK and JCK testing too?)
ohair
parents: 2
diff changeset
    24
#
0d7007d99b0f 6502548: test/Makefile needs to be setup to allow for JPRT testrules (NSK and JCK testing too?)
ohair
parents: 2
diff changeset
    25
42439
ccef74161219 8170629: Remove code duplication in test makefiles
ihse
parents: 42184
diff changeset
    26
default: all
5149
efce9634bfc0 6933294: Fix some test/Makefile issues around Linux ARCH settings, better defaults
ohair
parents: 4991
diff changeset
    27
42439
ccef74161219 8170629: Remove code duplication in test makefiles
ihse
parents: 42184
diff changeset
    28
NATIVE_TEST_PATH := jdk/jtreg/native
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
42439
ccef74161219 8170629: Remove code duplication in test makefiles
ihse
parents: 42184
diff changeset
    30
USE_FAILURE_HANDLER := true
21615
0231a565a5b7 8021309: replace test/Makefile jdk_* targets with jtreg groups
mduigou
parents: 20839
diff changeset
    31
42439
ccef74161219 8170629: Remove code duplication in test makefiles
ihse
parents: 42184
diff changeset
    32
TREAT_EXIT_CODE_1_AS_0 := true
4342
9f3aa1172803 6905705: Fix broken exit code values in jdk/test/Makefile
ohair
parents: 4335
diff changeset
    33
42439
ccef74161219 8170629: Remove code duplication in test makefiles
ihse
parents: 42184
diff changeset
    34
include ../../test/TestCommon.gmk
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
11281
58ecbc808474 7119829: Adjust default jprt testing configuration
ohair
parents: 10607
diff changeset
    36
# Default make rule (runs default jdk tests)
58ecbc808474 7119829: Adjust default jprt testing configuration
ohair
parents: 10607
diff changeset
    37
all: jdk_default
2400
0d7007d99b0f 6502548: test/Makefile needs to be setup to allow for JPRT testrules (NSK and JCK testing too?)
ohair
parents: 2
diff changeset
    38
	@$(ECHO) "Testing completed successfully"
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
4187
d7111a88f0ec 6888927: Fix jdk jtreg tests to indicate which ones need othervm, allow for use of samevm option
ohair
parents: 2945
diff changeset
    40
# ------------------------------------------------------------------
d7111a88f0ec 6888927: Fix jdk jtreg tests to indicate which ones need othervm, allow for use of samevm option
ohair
parents: 2945
diff changeset
    41
21809
8afe7ed13ed9 8028478: Re-visit JPRT testsets to make it easier to run subsets of the tests
alanb
parents: 21643
diff changeset
    42
jdk_% core_% svc_%:
21615
0231a565a5b7 8021309: replace test/Makefile jdk_* targets with jtreg groups
mduigou
parents: 20839
diff changeset
    43
	$(ECHO) "Running tests: $@"
0231a565a5b7 8021309: replace test/Makefile jdk_* targets with jtreg groups
mduigou
parents: 20839
diff changeset
    44
	for each in $@; do \
0231a565a5b7 8021309: replace test/Makefile jdk_* targets with jtreg groups
mduigou
parents: 20839
diff changeset
    45
	        $(MAKE) -j 1 TEST_SELECTION=":$$each" UNIQUE_DIR=$$each jtreg_tests; \
0231a565a5b7 8021309: replace test/Makefile jdk_* targets with jtreg groups
mduigou
parents: 20839
diff changeset
    46
	done