< prev index next >

make/RunTests.gmk

Print this page

   1 #
   2 # Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any

 955   # Please reach consensus before changing this.
 956   JTREG_AUTO_TIMEOUT_FACTOR := 4
 957 
 958   ifneq ($$(findstring -Xcomp, $$(JTREG_ALL_OPTIONS)), )
 959     JTREG_AUTO_PROBLEM_LISTS += ProblemList-Xcomp.txt
 960     JTREG_AUTO_TIMEOUT_FACTOR := 10
 961   endif
 962 
 963   ifneq ($$(findstring -XX:+UseZGC, $$(JTREG_ALL_OPTIONS)), )
 964     JTREG_AUTO_PROBLEM_LISTS += ProblemList-zgc.txt
 965   endif
 966 
 967   ifneq ($$(findstring -XX:+UseShenandoahGC, $$(JTREG_ALL_OPTIONS)), )
 968     JTREG_AUTO_PROBLEM_LISTS += ProblemList-shenandoah.txt
 969   endif
 970 
 971   ifneq ($$(findstring --enable-preview, $$(JTREG_ALL_OPTIONS)), )
 972     JTREG_AUTO_PROBLEM_LISTS += ProblemList-enable-preview.txt
 973   endif
 974 




 975 
 976   ifneq ($$(JTREG_EXTRA_PROBLEM_LISTS), )
 977     # Accept both absolute paths as well as relative to the current test root.
 978     $1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$(wildcard \
 979         $$(JTREG_EXTRA_PROBLEM_LISTS) \
 980         $$(addprefix $$($1_TEST_ROOT)/, $$(JTREG_EXTRA_PROBLEM_LISTS)) \
 981     ))
 982   endif
 983 
 984   ifneq ($$(JIB_HOME), )
 985     $1_JTREG_BASIC_OPTIONS += -e:JIB_HOME=$$(JIB_HOME)
 986   endif
 987 
 988   ifneq ($$(JDK_FOR_COMPILE), )
 989     # Allow overriding the JDK used for compilation from the command line
 990     $1_JTREG_BASIC_OPTIONS += -compilejdk:$$(JDK_FOR_COMPILE)
 991   endif
 992 
 993   $1_JTREG_BASIC_OPTIONS += -e:TEST_IMAGE_DIR=$(TEST_IMAGE_DIR)
 994 

   1 #
   2 # Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any

 955   # Please reach consensus before changing this.
 956   JTREG_AUTO_TIMEOUT_FACTOR := 4
 957 
 958   ifneq ($$(findstring -Xcomp, $$(JTREG_ALL_OPTIONS)), )
 959     JTREG_AUTO_PROBLEM_LISTS += ProblemList-Xcomp.txt
 960     JTREG_AUTO_TIMEOUT_FACTOR := 10
 961   endif
 962 
 963   ifneq ($$(findstring -XX:+UseZGC, $$(JTREG_ALL_OPTIONS)), )
 964     JTREG_AUTO_PROBLEM_LISTS += ProblemList-zgc.txt
 965   endif
 966 
 967   ifneq ($$(findstring -XX:+UseShenandoahGC, $$(JTREG_ALL_OPTIONS)), )
 968     JTREG_AUTO_PROBLEM_LISTS += ProblemList-shenandoah.txt
 969   endif
 970 
 971   ifneq ($$(findstring --enable-preview, $$(JTREG_ALL_OPTIONS)), )
 972     JTREG_AUTO_PROBLEM_LISTS += ProblemList-enable-preview.txt
 973   endif
 974 
 975   ifneq ($$(findstring -XX:+UseCompactObjectHeaders, $$(JTREG_ALL_OPTIONS)), )
 976     JTREG_AUTO_PROBLEM_LISTS += ProblemList-coh.txt
 977   endif
 978 
 979 
 980   ifneq ($$(JTREG_EXTRA_PROBLEM_LISTS), )
 981     # Accept both absolute paths as well as relative to the current test root.
 982     $1_JTREG_BASIC_OPTIONS += $$(addprefix $$(JTREG_PROBLEM_LIST_PREFIX), $$(wildcard \
 983         $$(JTREG_EXTRA_PROBLEM_LISTS) \
 984         $$(addprefix $$($1_TEST_ROOT)/, $$(JTREG_EXTRA_PROBLEM_LISTS)) \
 985     ))
 986   endif
 987 
 988   ifneq ($$(JIB_HOME), )
 989     $1_JTREG_BASIC_OPTIONS += -e:JIB_HOME=$$(JIB_HOME)
 990   endif
 991 
 992   ifneq ($$(JDK_FOR_COMPILE), )
 993     # Allow overriding the JDK used for compilation from the command line
 994     $1_JTREG_BASIC_OPTIONS += -compilejdk:$$(JDK_FOR_COMPILE)
 995   endif
 996 
 997   $1_JTREG_BASIC_OPTIONS += -e:TEST_IMAGE_DIR=$(TEST_IMAGE_DIR)
 998 
< prev index next >