make/scripts/compare_exceptions.sh.incl
author jpai
Sat, 24 Aug 2019 09:31:15 +0530
changeset 58053 1a296c9064dc
parent 55018 ecb7b9a98f0e
permissions -rw-r--r--
8177389: Hyphen "-" should be removed in URL class documentation Summary: javadoc of java.net.URL constructor updated to remove an unnecessary hyphen Reviewed-by: dfuchs
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     1
#!/bin/bash
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     2
#
52804
28094715ae71 8214718: Update missing copyright year in build system
ihse
parents: 51781
diff changeset
     3
# Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     4
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     5
#
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     6
# This code is free software; you can redistribute it and/or modify it
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     7
# under the terms of the GNU General Public License version 2 only, as
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     8
# published by the Free Software Foundation.
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
     9
#
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    10
# This code is distributed in the hope that it will be useful, but WITHOUT
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    11
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    12
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    13
# version 2 for more details (a copy is included in the LICENSE file that
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    14
# accompanied this code).
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    15
#
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    16
# You should have received a copy of the GNU General Public License version
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    17
# 2 along with this work; if not, write to the Free Software Foundation,
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    18
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    19
#
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    20
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    21
# or visit www.oracle.com if you need additional information or have any
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    22
# questions.
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    23
#
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    24
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    25
# This script is not to be run as stand-alone, it should be included from
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    26
# compare.sh.
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    27
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    28
##########################################################################################
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    29
# Check that we are run via inclusion from compare.sh and not as stand-alone.
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    30
if [ -z "$COMPARE_EXCEPTIONS_INCLUDE" ]; then
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    31
    echo "Error: This script should not be run as stand-alone. It is included by compare.sh"
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    32
    exit 1
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    33
fi
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    34
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    35
##########################################################################################
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    36
# Diff exceptions
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    37
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    38
if [ "$OPENJDK_TARGET_OS" = "linux" ]; then
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    39
  ACCEPTED_BIN_DIFF="
42528
125bc97e7569 8066474: Remove the lib/ directory from Linux and Solaris images
erikj
parents: 41458
diff changeset
    40
      ./lib/server/libjvm.so
54325
04f1a0f925db 8220530: Build compare script does not compare the contents of the test image
erikj
parents: 52804
diff changeset
    41
      ./hotspot/gtest/server/libjvm.so
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    42
      "
55018
ecb7b9a98f0e 8224145: Build compare script fails intermittently on test image native libraries
erikj
parents: 54325
diff changeset
    43
  STRIP_BEFORE_COMPARE="
ecb7b9a98f0e 8224145: Build compare script fails intermittently on test image native libraries
erikj
parents: 54325
diff changeset
    44
      ./hotspot/gtest/server/libjvm.so
ecb7b9a98f0e 8224145: Build compare script fails intermittently on test image native libraries
erikj
parents: 54325
diff changeset
    45
      "
51781
dd737bf6abde 8210750: Clean up compare.sh exceptions
ihse
parents: 51728
diff changeset
    46
elif [ "$OPENJDK_TARGET_OS" = "solaris" ]; then
dd737bf6abde 8210750: Clean up compare.sh exceptions
ihse
parents: 51728
diff changeset
    47
  SKIP_BIN_DIFF="true"
dd737bf6abde 8210750: Clean up compare.sh exceptions
ihse
parents: 51728
diff changeset
    48
  SKIP_FULLDUMP_DIFF="true"
dd737bf6abde 8210750: Clean up compare.sh exceptions
ihse
parents: 51728
diff changeset
    49
  MAX_KNOWN_DIS_DIFF_SIZE="3000"
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    50
  SORT_SYMBOLS="
42528
125bc97e7569 8066474: Remove the lib/ directory from Linux and Solaris images
erikj
parents: 41458
diff changeset
    51
      ./lib/libfontmanager.so
125bc97e7569 8066474: Remove the lib/ directory from Linux and Solaris images
erikj
parents: 41458
diff changeset
    52
      ./lib/libjimage.so
125bc97e7569 8066474: Remove the lib/ directory from Linux and Solaris images
erikj
parents: 41458
diff changeset
    53
      ./lib/libunpack.so
51781
dd737bf6abde 8210750: Clean up compare.sh exceptions
ihse
parents: 51728
diff changeset
    54
      ./lib/server/libjvm.so
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    55
      ./bin/unpack200
54325
04f1a0f925db 8220530: Build compare script does not compare the contents of the test image
erikj
parents: 52804
diff changeset
    56
      ./hotspot/gtest/server/libjvm.so
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    57
      "
51781
dd737bf6abde 8210750: Clean up compare.sh exceptions
ihse
parents: 51728
diff changeset
    58
  KNOWN_DIS_DIFF="
42528
125bc97e7569 8066474: Remove the lib/ directory from Linux and Solaris images
erikj
parents: 41458
diff changeset
    59
      ./lib/libfontmanager.so
125bc97e7569 8066474: Remove the lib/ directory from Linux and Solaris images
erikj
parents: 41458
diff changeset
    60
      ./lib/libsaproc.so
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    61
  "
55018
ecb7b9a98f0e 8224145: Build compare script fails intermittently on test image native libraries
erikj
parents: 54325
diff changeset
    62
  STRIP_TESTS_BEFORE_COMPARE="true"
51781
dd737bf6abde 8210750: Clean up compare.sh exceptions
ihse
parents: 51728
diff changeset
    63
elif [ "$OPENJDK_TARGET_OS" = "windows" ]; then
dd737bf6abde 8210750: Clean up compare.sh exceptions
ihse
parents: 51728
diff changeset
    64
  SKIP_BIN_DIFF="true"
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    65
  SKIP_FULLDUMP_DIFF="true"
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    66
  ACCEPTED_JARZIP_CONTENTS="
41949
b57b4dfdfeae 8169632: Update compare script for clean compare
erikj
parents: 41458
diff changeset
    67
      /modules_libs/java.security.jgss/w2k_lsa_auth.pdb
b57b4dfdfeae 8169632: Update compare script for clean compare
erikj
parents: 41458
diff changeset
    68
      /modules_libs/java.security.jgss/w2k_lsa_auth.map
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    69
      /modules_libs/java.security.jgss/w2k_lsa_auth.dll
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    70
      "
51781
dd737bf6abde 8210750: Clean up compare.sh exceptions
ihse
parents: 51728
diff changeset
    71
elif [ "$OPENJDK_TARGET_OS" = "macosx" ]; then
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    72
  ACCEPTED_BIN_DIFF="
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    73
      ./lib/libawt_lwawt.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    74
      ./lib/libosxapp.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    75
      ./lib/libosxui.dylib
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    76
      ./lib/server/libjvm.dylib
54325
04f1a0f925db 8220530: Build compare script does not compare the contents of the test image
erikj
parents: 52804
diff changeset
    77
      ./hotspot/gtest/server/libjvm.dylib
35744
4f5e0998b6e9 8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents: 34596
diff changeset
    78
      "
55018
ecb7b9a98f0e 8224145: Build compare script fails intermittently on test image native libraries
erikj
parents: 54325
diff changeset
    79
  STRIP_TESTS_BEFORE_COMPARE="true"
14111
2a82ecb35fc7 8000992: Update new build-infra makefiles
ohair
parents:
diff changeset
    80
fi