annotate make/autoconf/lib-tests.m4 @ 51872:0ce279d8c9cd

8207941: javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java fails on machines without Arial font [testbug] Reviewed-by: goetz, psadhukhan
author mbaesken
date Tue, 24 Jul 2018 09:27:42 +0200
parents
children 16609197022c
rev   line source
epavlova@51569 1 #
epavlova@51569 2 # Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
epavlova@51569 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
epavlova@51569 4 #
epavlova@51569 5 # This code is free software; you can redistribute it and/or modify it
epavlova@51569 6 # under the terms of the GNU General Public License version 2 only, as
epavlova@51569 7 # published by the Free Software Foundation. Oracle designates this
epavlova@51569 8 # particular file as subject to the "Classpath" exception as provided
epavlova@51569 9 # by Oracle in the LICENSE file that accompanied this code.
epavlova@51569 10 #
epavlova@51569 11 # This code is distributed in the hope that it will be useful, but WITHOUT
epavlova@51569 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
epavlova@51569 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
epavlova@51569 14 # version 2 for more details (a copy is included in the LICENSE file that
epavlova@51569 15 # accompanied this code).
epavlova@51569 16 #
epavlova@51569 17 # You should have received a copy of the GNU General Public License version
epavlova@51569 18 # 2 along with this work; if not, write to the Free Software Foundation,
epavlova@51569 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
epavlova@51569 20 #
epavlova@51569 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
epavlova@51569 22 # or visit www.oracle.com if you need additional information or have any
epavlova@51569 23 # questions.
epavlova@51569 24 #
epavlova@51569 25
epavlova@51569 26 ###############################################################################
epavlova@51569 27 #
epavlova@51569 28 # Check for graalunit libs, needed for running graalunit tests.
epavlova@51569 29 #
epavlova@51569 30 AC_DEFUN_ONCE([LIB_TESTS_SETUP_GRAALUNIT],
epavlova@51569 31 [
epavlova@51569 32 AC_ARG_WITH(graalunit-lib, [AS_HELP_STRING([--with-graalunit-lib],
epavlova@51569 33 [specify location of 3rd party libraries used by Graal unit tests])])
epavlova@51569 34
epavlova@51569 35 GRAALUNIT_LIB=
epavlova@51569 36 if test "x${with_graalunit_lib}" != x; then
epavlova@51569 37 AC_MSG_CHECKING([for graalunit libs])
epavlova@51569 38 if test "x${with_graalunit_lib}" = xno; then
epavlova@51569 39 AC_MSG_RESULT([disabled, graalunit tests can not be run])
epavlova@51569 40 elif test "x${with_graalunit_lib}" = xyes; then
epavlova@51569 41 AC_MSG_RESULT([not specified])
epavlova@51569 42 AC_MSG_ERROR([You must specify the path to 3rd party libraries used by Graal unit tests])
epavlova@51569 43 else
epavlova@51569 44 GRAALUNIT_LIB="${with_graalunit_lib}"
epavlova@51569 45 if test ! -d "${GRAALUNIT_LIB}"; then
epavlova@51569 46 AC_MSG_RESULT([no])
epavlova@51569 47 AC_MSG_ERROR([Could not find graalunit 3rd party libraries as specified. (${with_graalunit_lib})])
epavlova@51569 48 else
epavlova@51569 49 AC_MSG_RESULT([$GRAALUNIT_LIB])
epavlova@51569 50 fi
epavlova@51569 51 fi
epavlova@51569 52 fi
epavlova@51569 53
epavlova@51569 54 BASIC_FIXUP_PATH([GRAALUNIT_LIB])
epavlova@51569 55 AC_SUBST(GRAALUNIT_LIB)
epavlova@51569 56 ])
epavlova@51569 57