make/RunTestsPrebuiltSpec.gmk
author plevart
Sat, 13 Jul 2019 10:43:45 +0000
changeset 55697 7fd4446c02ee
parent 52393 ff10f8f3a583
child 58549 9d9317fad3fe
permissions -rw-r--r--
8227368: EnumSet.class serialization broken in JDK 9+ Reviewed-by: smarks
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
48078
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
     1
#
50818
e46b9e514479 8189429: SA: MacOSX: Replace the deprecated PT_ATTACH with PT_ATTACHEXC
jgeorge
parents: 48406
diff changeset
     2
# Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
48078
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
     4
#
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    10
#
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    15
# accompanied this code).
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    16
#
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    20
#
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    23
# questions.
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    24
#
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    25
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    26
################################################################################
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    27
# Fake minimalistic spec file for RunTestsPrebuilt.gmk.
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    28
################################################################################
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    29
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    30
define VerifyVariable
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    31
  ifeq ($$($1), )
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    32
    $$(info Error: Variable $1 is missing, needed by RunTestPrebuiltSpec.gmk)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    33
    $$(error Cannot continue.)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    34
  else
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    35
    ifneq ($$(findstring $$(LOG_LEVEL), debug trace), )
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    36
      $$(info Prebuilt variable $1=$$($1))
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    37
    endif
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    38
  endif
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    39
endef
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    40
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    41
# It is the responsibility of the file including us to have set these up.
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    42
# Verify that this is correct.
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    43
$(eval $(call VerifyVariable,SPEC))
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    44
$(eval $(call VerifyVariable,TOPDIR))
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    45
$(eval $(call VerifyVariable,OUTPUTDIR))
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    46
$(eval $(call VerifyVariable,BOOT_JDK))
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    47
$(eval $(call VerifyVariable,JT_HOME))
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    48
$(eval $(call VerifyVariable,JDK_IMAGE_DIR))
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    49
$(eval $(call VerifyVariable,TEST_IMAGE_DIR))
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    50
$(eval $(call VerifyVariable,MAKE))
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    51
$(eval $(call VerifyVariable,BASH))
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    52
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    53
################################################################################
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    54
# The "human readable" name of this configuration
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    55
CONF_NAME := run-test-prebuilt
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    56
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    57
# Number of parallel jobs to use for compilation
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    58
JOBS ?= $(NUM_CORES)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    59
TEST_JOBS ?= 0
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    60
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    61
# Use hard-coded values for java flags (one size, fits all!)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    62
JAVA_FLAGS := -Duser.language=en -Duser.country=US
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    63
JAVA_FLAGS_BIG:= -Xms64M -Xmx1600M -XX:ThreadStackSize=1536
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    64
JAVA_FLAGS_SMALL:= -XX:+UseSerialGC -Xms32M -Xmx512M -XX:TieredStopAtLevel=1
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    65
BUILD_JAVA_FLAGS := $(JAVA_FLAGS_BIG)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    66
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    67
################################################################################
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    68
# Hard-coded values copied from spec.gmk.in.
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    69
X:=
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    70
SPACE:=$(X) $(X)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    71
COMMA:=,
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    72
MAKE_ARGS = $(MAKE_LOG_FLAGS) -r -R -I $(TOPDIR)/make/common SPEC=$(SPEC) \
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    73
    MAKE_LOG_FLAGS="$(MAKE_LOG_FLAGS)" LOG_LEVEL=$(LOG_LEVEL)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    74
BASH_ARGS := -o pipefail -e
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    75
SHELL := $(BASH) $(BASH_ARGS)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    76
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    77
################################################################################
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    78
# Set some reasonable defaults for features
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    79
DEBUG_LEVEL := release
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    80
HOTSPOT_DEBUG_LEVEL := release
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    81
BUILD_GTEST := true
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    82
BUILD_FAILURE_HANDLER := true
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    83
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    84
################################################################################
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    85
# Alias some paths (that should not really be used) to our JDK image under test.
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    86
SUPPORT_OUTPUTDIR := $(OUTPUTDIR)/support
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    87
BUILDTOOLS_OUTPUTDIR := $(OUTPUTDIR)/buildtools
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    88
HOTSPOT_OUTPUTDIR := $(OUTPUTDIR)/hotspot
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    89
JDK_OUTPUTDIR := $(OUTPUTDIR)/jdk
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    90
IMAGES_OUTPUTDIR := $(OUTPUTDIR)/images
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    91
BUNDLES_OUTPUTDIR := $(OUTPUTDIR)/bundles
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    92
TESTMAKE_OUTPUTDIR := $(OUTPUTDIR)/test-make
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    93
MAKESUPPORT_OUTPUTDIR := $(OUTPUTDIR)/make-support
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    94
BUILDJDK_OUTPUTDIR := $(OUTPUTDIR)/buildjdk
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    95
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    96
JRE_IMAGE_DIR := $(JDK_IMAGE_DIR)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    97
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    98
################################################################################
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
    99
# Assume build platform is same as target platform
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   100
OPENJDK_BUILD_OS := $(OPENJDK_TARGET_OS)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   101
OPENJDK_BUILD_OS_TYPE := $(OPENJDK_TARGET_OS_TYPE)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   102
OPENJDK_BUILD_OS_ENV := $(OPENJDK_TARGET_OS_ENV)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   103
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   104
OPENJDK_BUILD_CPU := $(OPENJDK_TARGET_CPU)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   105
OPENJDK_BUILD_CPU_ARCH := $(OPENJDK_TARGET_CPU_ARCH)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   106
OPENJDK_BUILD_CPU_BITS := $(OPENJDK_TARGET_CPU_BITS)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   107
OPENJDK_BUILD_CPU_ENDIAN := $(OPENJDK_TARGET_CPU_ENDIAN)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   108
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   109
################################################################################
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   110
# Java executable definitions
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   111
JAVA_CMD := $(BOOT_JDK)/bin/java
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   112
JAVAC_CMD := $(BOOT_JDK)/bin/javac
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   113
JAR_CMD := $(BOOT_JDK)/bin/jar
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   114
JLINK_CMD := $(JDK_OUTPUTDIR)/bin/jlink
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   115
JMOD_CMD := $(JDK_OUTPUTDIR)/bin/jmod
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   116
JARSIGNER_CMD := $(BOOT_JDK)/bin/jarsigner
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   117
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   118
JAVA := $(FIXPATH) $(JAVA_CMD) $(JAVA_FLAGS_BIG) $(JAVA_FLAGS)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   119
JAVA_SMALL := $(FIXPATH) $(JAVA_CMD) $(JAVA_FLAGS_SMALL) $(JAVA_FLAGS)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   120
JAVA_JAVAC := $(FIXPATH) $(JAVA_CMD) $(JAVA_FLAGS_SMALL) $(JAVA_FLAGS)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   121
JAVAC := $(FIXPATH) $(JAVAC_CMD)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   122
JAR := $(FIXPATH) $(JAR_CMD)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   123
JLINK := $(FIXPATH) $(JLINK_CMD)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   124
JMOD := $(FIXPATH) $(JMOD_CMD)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   125
JARSIGNER := $(FIXPATH) $(JARSIGNER_CMD)
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   126
52125
28375a1de254 8212028: Use run-test makefile framework for testing in Oracle's Mach5
erikj
parents: 50818
diff changeset
   127
BUILD_JAVA := $(JDK_IMAGE_DIR)/bin/JAVA
48078
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   128
################################################################################
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   129
# Some common tools. Assume most common name and no path.
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   130
AWK := awk
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   131
BASENAME := basename
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   132
CAT := cat
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   133
CD := cd
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   134
CHMOD := chmod
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   135
CP := cp
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   136
CUT := cut
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   137
DATE := date
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   138
DIFF := diff
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   139
DIRNAME := dirname
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   140
FIND := find
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   141
FIND_DELETE := -delete
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   142
ECHO := echo
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   143
EGREP := grep -E
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   144
FGREP := grep -F
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   145
GREP := grep
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   146
GZIP := gzip
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   147
HEAD := head
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   148
LS := ls
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   149
LN := ln
50818
e46b9e514479 8189429: SA: MacOSX: Replace the deprecated PT_ATTACH with PT_ATTACHEXC
jgeorge
parents: 48406
diff changeset
   150
MIG := mig
48078
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   151
MKDIR := mkdir
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   152
MV := mv
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   153
NAWK := nawk
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   154
NICE := nice
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   155
PATCH := patch
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   156
PRINTF := printf
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   157
RM := rm -f
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   158
RMDIR := rmdir
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   159
SED := sed
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   160
SH := sh
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   161
SORT := sort
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   162
TAR := tar
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   163
TAIL := tail
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   164
TEE := tee
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   165
TR := tr
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   166
TOUCH := touch
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   167
UNIQ := uniq
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   168
WC := wc
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   169
XARGS := xargs
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   170
ZIPEXE := zip
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   171
UNZIP := unzip
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   172
EXPR := expr
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   173
FILE := file
94a38ebbc9bb 8193061: Add run-test-prebuilt functionality
ihse
parents:
diff changeset
   174
HG := hg
52125
28375a1de254 8212028: Use run-test makefile framework for testing in Oracle's Mach5
erikj
parents: 50818
diff changeset
   175
28375a1de254 8212028: Use run-test makefile framework for testing in Oracle's Mach5
erikj
parents: 50818
diff changeset
   176
# On Solaris gnu versions of some tools are required.
28375a1de254 8212028: Use run-test makefile framework for testing in Oracle's Mach5
erikj
parents: 50818
diff changeset
   177
ifeq ($(OPENJDK_BUILD_OS), solaris)
28375a1de254 8212028: Use run-test makefile framework for testing in Oracle's Mach5
erikj
parents: 50818
diff changeset
   178
  AWK := gawk
28375a1de254 8212028: Use run-test makefile framework for testing in Oracle's Mach5
erikj
parents: 50818
diff changeset
   179
  GREP := ggrep
28375a1de254 8212028: Use run-test makefile framework for testing in Oracle's Mach5
erikj
parents: 50818
diff changeset
   180
  EGREP := ggrep -E
28375a1de254 8212028: Use run-test makefile framework for testing in Oracle's Mach5
erikj
parents: 50818
diff changeset
   181
  FGREP := grep -F
28375a1de254 8212028: Use run-test makefile framework for testing in Oracle's Mach5
erikj
parents: 50818
diff changeset
   182
  SED := gsed
28375a1de254 8212028: Use run-test makefile framework for testing in Oracle's Mach5
erikj
parents: 50818
diff changeset
   183
  TAR := gtar
28375a1de254 8212028: Use run-test makefile framework for testing in Oracle's Mach5
erikj
parents: 50818
diff changeset
   184
endif
52295
57d299cdd068 8213005: Missing symbols in hs_err files on Windows after JDK-8212028
erikj
parents: 52125
diff changeset
   185
57d299cdd068 8213005: Missing symbols in hs_err files on Windows after JDK-8212028
erikj
parents: 52125
diff changeset
   186
ifeq ($(OPENJDK_BUILD_OS), windows)
57d299cdd068 8213005: Missing symbols in hs_err files on Windows after JDK-8212028
erikj
parents: 52125
diff changeset
   187
  CYGPATH := cygpath
57d299cdd068 8213005: Missing symbols in hs_err files on Windows after JDK-8212028
erikj
parents: 52125
diff changeset
   188
endif
52393
ff10f8f3a583 8152988: [AOT] Update test batch definitions to include aot-ed java.base module mode into hs-comp testing
epavlova
parents: 52295
diff changeset
   189
ff10f8f3a583 8152988: [AOT] Update test batch definitions to include aot-ed java.base module mode into hs-comp testing
epavlova
parents: 52295
diff changeset
   190
################################################################################
ff10f8f3a583 8152988: [AOT] Update test batch definitions to include aot-ed java.base module mode into hs-comp testing
epavlova
parents: 52295
diff changeset
   191
# Simple macros from spec.gmk.in
ff10f8f3a583 8152988: [AOT] Update test batch definitions to include aot-ed java.base module mode into hs-comp testing
epavlova
parents: 52295
diff changeset
   192
SHARED_LIBRARY=$(LIBRARY_PREFIX)$1$(SHARED_LIBRARY_SUFFIX)