make/RunTestsPrebuilt.gmk
author ihse
Tue, 28 Nov 2017 09:40:50 +0100
branchihse-testmakefiles-branch
changeset 55899 789766475fe4
parent 55889 3934c59055ab
child 55914 dda999e8814c
permissions -rw-r--r--
* Properly check provided variables. * Emulate old output directory structure.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
     1
#
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
     2
# Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
     4
#
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    10
#
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    15
# accompanied this code).
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    16
#
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    20
#
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    23
# questions.
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    24
#
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    25
55884
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    26
################################################################################
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    27
# Initial bootstrapping, copied and stripped down from Makefile and Init.gmk
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    28
################################################################################
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    29
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    30
# In Cygwin, the MAKE variable gets prepended with the current directory if the
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    31
# make executable is called using a Windows mixed path (c:/cygwin/bin/make.exe).
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    32
ifneq ($(findstring :, $(MAKE)), )
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    33
  export MAKE := $(patsubst $(CURDIR)%, %, $(patsubst $(CURDIR)/%, %, $(MAKE)))
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    34
endif
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    35
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    36
# Locate this Makefile
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    37
ifeq ($(filter /%, $(lastword $(MAKEFILE_LIST))),)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    38
  makefile_path := $(CURDIR)/$(strip $(lastword $(MAKEFILE_LIST)))
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    39
else
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    40
  makefile_path := $(lastword $(MAKEFILE_LIST))
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    41
endif
55884
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    42
TOPDIR := $(strip $(patsubst %/make/, %, $(dir $(makefile_path))))
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    43
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    44
################################################################################
55884
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    45
# Functions
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    46
################################################################################
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    47
55899
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    48
# Setup a required or optional variable, and/or check that it is properly
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    49
# given.
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    50
# Note: No spaces are allowed around the arguments.
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    51
#
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    52
# $1: The name of the argument
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    53
# $2: The default value, if any, or OPTIONAL (do not provide a default but
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    54
#     do not exit if it is missing)
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    55
# $3: If NO_CHECK, disable checking for target file/directory existence
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    56
define SetupVariable
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    57
  ifeq ($$($1), )
55884
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    58
    ifeq ($2, )
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    59
      $$(info Error: Variable $1 is missing, needed for run-tests-prebuilt)
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    60
      $$(error Cannot continue.)
55899
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    61
    else ifeq ($2, OPTIONAL)
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    62
      ifneq ($$(findstring $$(LOG), debug trace), )
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    63
        $$(info Optional prebuilt variable $1 not provided)
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    64
      endif
55884
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    65
    else
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    66
      $$(info Variable $1 is missing, using default $2)
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    67
      $1:=$2
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    68
    endif
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    69
  else
55889
3934c59055ab Add support for optional JIB_JAR.
ihse
parents: 55888
diff changeset
    70
    ifneq ($$(findstring $$(LOG), debug trace), )
3934c59055ab Add support for optional JIB_JAR.
ihse
parents: 55888
diff changeset
    71
      $$(info Prebuilt variable $1=$$($1))
3934c59055ab Add support for optional JIB_JAR.
ihse
parents: 55888
diff changeset
    72
    endif
3934c59055ab Add support for optional JIB_JAR.
ihse
parents: 55888
diff changeset
    73
  endif
55899
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    74
  # If $1 has a value (is not optional), and $3 is not set (to NO_CHECK),
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    75
  # and if wildcard is empty, then complain that the file is missing.
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    76
  ifeq ($$(strip $$(if $$($1), , OPTIONAL) $$(wildcard $$($1)) $3), )
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    77
    $$(info Error: Variable $1 points to missing file/directory:)
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    78
    $$(info '$$($1)')
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    79
    $$(error Cannot continue.)
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    80
  endif
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    81
endef
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
    82
55884
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    83
# Create an ephemeral spec file
55899
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    84
#
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    85
# $1: The output file name
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
    86
# $2..$N: The lines to output to the file
55884
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    87
define CreateNewSpec
55888
cd05c5ba480a Clean up some stuff in fake spec.
ihse
parents: 55886
diff changeset
    88
  $(if $(strip $(16)), \
55884
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    89
    $(error Internal makefile error: \
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    90
      Too many arguments to macro, please update CreateNewSpec in RunTestsPrebuilt.gmk) \
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    91
  ) \
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    92
  $(shell rm -f $1) \
55888
cd05c5ba480a Clean up some stuff in fake spec.
ihse
parents: 55886
diff changeset
    93
  $(foreach i, 2 3 4 5 6 7 8 9 10 11 12 13 14 15, \
55884
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    94
    $(if $(strip $($i)), \
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    95
      $(call AppendFile, $(strip $($i)), $1) \
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    96
    ) \
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    97
  )
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    98
endef
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
    99
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   100
################################################################################
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   101
# Setup ephemeral spec file
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   102
################################################################################
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   103
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   104
# Verify that user has given correct additional input.
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   105
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   106
# These variables are absolutely necessary
55899
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
   107
$(eval $(call SetupVariable,OUTPUTDIR))
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
   108
$(eval $(call SetupVariable,BOOT_JDK))
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
   109
$(eval $(call SetupVariable,JT_HOME))
55884
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   110
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   111
# These can have default values based on the ones above
55899
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
   112
$(eval $(call SetupVariable,JDK_IMAGE_DIR,$(OUTPUTDIR)/images/jdk))
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
   113
$(eval $(call SetupVariable,TEST_IMAGE_DIR,$(OUTPUTDIR)/images/test))
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   114
55888
cd05c5ba480a Clean up some stuff in fake spec.
ihse
parents: 55886
diff changeset
   115
# Provide default values for tools that we need
55899
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
   116
$(eval $(call SetupVariable,MAKE,make,NO_CHECK))
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
   117
$(eval $(call SetupVariable,BASH,bash,NO_CHECK))
55888
cd05c5ba480a Clean up some stuff in fake spec.
ihse
parents: 55886
diff changeset
   118
55889
3934c59055ab Add support for optional JIB_JAR.
ihse
parents: 55888
diff changeset
   119
# Check optional variables
55899
789766475fe4 * Properly check provided variables.
ihse
parents: 55889
diff changeset
   120
$(eval $(call SetupVariable,JIB_JAR,OPTIONAL))
55889
3934c59055ab Add support for optional JIB_JAR.
ihse
parents: 55888
diff changeset
   121
55884
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   122
# Now that we have verified that we have the required variables available, we
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   123
# can include the prebuilt spec file ourselves, without an ephemeral spec
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   124
# wrapper. This is required so we can include MakeBase which is needed for
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   125
# CreateNewSpec.
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   126
SPEC := $(TOPDIR)/make/RunTestsPrebuiltSpec.gmk
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   127
include $(SPEC)
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   128
include $(TOPDIR)/make/common/MakeBase.gmk
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   129
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   130
# Now we can include additional custom support.
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   131
# This might define CUSTOM_NEW_SPEC_LINE
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   132
ifneq ($(CUSTOM_MAKE_DIR), )
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   133
  include $(CUSTOM_MAKE_DIR)/RunTestsPrebuilt.gmk
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   134
endif
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   135
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   136
NEW_SPEC := $(OUTPUTDIR)/run-test-spec.gmk
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   137
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   138
$(call CreateNewSpec, $(NEW_SPEC), \
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   139
    # Generated file -- do not edit!, \
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   140
    SPEC := $(NEW_SPEC), \
55884
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   141
    TOPDIR := $(TOPDIR), \
55882
79c94bfb654e Use OUTPUTDIR instead of OUTPUT_ROOT.
ihse
parents: 55881
diff changeset
   142
    OUTPUTDIR := $(OUTPUTDIR), \
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   143
    BOOT_JDK := $(BOOT_JDK), \
55888
cd05c5ba480a Clean up some stuff in fake spec.
ihse
parents: 55886
diff changeset
   144
    JT_HOME := $(JT_HOME), \
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   145
    JDK_IMAGE_DIR := $(JDK_IMAGE_DIR), \
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   146
    TEST_IMAGE_DIR := $(TEST_IMAGE_DIR), \
55888
cd05c5ba480a Clean up some stuff in fake spec.
ihse
parents: 55886
diff changeset
   147
    MAKE := $(MAKE), \
cd05c5ba480a Clean up some stuff in fake spec.
ihse
parents: 55886
diff changeset
   148
    BASH := $(BASH), \
55889
3934c59055ab Add support for optional JIB_JAR.
ihse
parents: 55888
diff changeset
   149
    JIB_JAR := $(JIB_JAR), \
55886
ff90766e3c60 Cleanup leftover custom stuff, include custom at the end.
ihse
parents: 55884
diff changeset
   150
    include $(TOPDIR)/make/RunTestsPrebuiltSpec.gmk, \
55884
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   151
    $(CUSTOM_NEW_SPEC_LINE), \
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   152
)
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   153
55884
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   154
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   155
################################################################################
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   156
# The run-test-prebuilt target
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   157
################################################################################
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   158
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   159
default: all
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   160
55884
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   161
run-test-prebuilt:
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   162
	@$(RM) -f $(MAKESUPPORT_OUTPUTDIR)/exit-with-error
55884
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   163
	@cd $(TOPDIR) && $(MAKE) -r -R -j 1 -s -I make/common/ \
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   164
	    SPEC=$(NEW_SPEC) \
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   165
	    -f make/RunTests.gmk run-test TEST="$(TEST)"
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   166
	@if test -f $(MAKESUPPORT_OUTPUTDIR)/exit-with-error ; then \
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   167
	  exit 1 ; \
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   168
	fi
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   169
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   170
55884
9ee155c19c6a Getting run-test-prebuilt to work quite well.
ihse
parents: 55882
diff changeset
   171
all: run-test-prebuilt
55881
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   172
dbf68259f80e Populate with latest code from jdk9 sandbox.
ihse
parents:
diff changeset
   173
.PHONY: default all