author | pliden |
Tue, 18 Sep 2018 22:46:35 +0200 | |
changeset 51794 | 4129f43607cb |
parent 51781 | dd737bf6abde |
child 52804 | 28094715ae71 |
permissions | -rw-r--r-- |
14111 | 1 |
#!/bin/bash |
2 |
# |
|
48406 | 3 |
# Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved. |
14111 | 4 |
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 |
# |
|
6 |
# This code is free software; you can redistribute it and/or modify it |
|
7 |
# under the terms of the GNU General Public License version 2 only, as |
|
8 |
# published by the Free Software Foundation. |
|
9 |
# |
|
10 |
# This code is distributed in the hope that it will be useful, but WITHOUT |
|
11 |
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
12 |
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
13 |
# version 2 for more details (a copy is included in the LICENSE file that |
|
14 |
# accompanied this code). |
|
15 |
# |
|
16 |
# You should have received a copy of the GNU General Public License version |
|
17 |
# 2 along with this work; if not, write to the Free Software Foundation, |
|
18 |
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
19 |
# |
|
20 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
21 |
# or visit www.oracle.com if you need additional information or have any |
|
22 |
# questions. |
|
23 |
# |
|
24 |
||
25 |
# This script is not to be run as stand-alone, it should be included from |
|
26 |
# compare.sh. |
|
27 |
||
28 |
########################################################################################## |
|
29 |
# Check that we are run via inclusion from compare.sh and not as stand-alone. |
|
30 |
if [ -z "$COMPARE_EXCEPTIONS_INCLUDE" ]; then |
|
31 |
echo "Error: This script should not be run as stand-alone. It is included by compare.sh" |
|
32 |
exit 1 |
|
33 |
fi |
|
34 |
||
35 |
########################################################################################## |
|
36 |
# Diff exceptions |
|
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 |
35744
4f5e0998b6e9
8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents:
34596
diff
changeset
|
41 |
" |
51781 | 42 |
elif [ "$OPENJDK_TARGET_OS" = "solaris" ]; then |
43 |
SKIP_BIN_DIFF="true" |
|
44 |
SKIP_FULLDUMP_DIFF="true" |
|
45 |
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
|
46 |
SORT_SYMBOLS=" |
42528
125bc97e7569
8066474: Remove the lib/ directory from Linux and Solaris images
erikj
parents:
41458
diff
changeset
|
47 |
./lib/libfontmanager.so |
125bc97e7569
8066474: Remove the lib/ directory from Linux and Solaris images
erikj
parents:
41458
diff
changeset
|
48 |
./lib/libjimage.so |
125bc97e7569
8066474: Remove the lib/ directory from Linux and Solaris images
erikj
parents:
41458
diff
changeset
|
49 |
./lib/libunpack.so |
51781 | 50 |
./lib/server/libjvm.so |
35744
4f5e0998b6e9
8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents:
34596
diff
changeset
|
51 |
./bin/unpack200 |
4f5e0998b6e9
8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents:
34596
diff
changeset
|
52 |
" |
51781 | 53 |
KNOWN_DIS_DIFF=" |
42528
125bc97e7569
8066474: Remove the lib/ directory from Linux and Solaris images
erikj
parents:
41458
diff
changeset
|
54 |
./lib/libfontmanager.so |
125bc97e7569
8066474: Remove the lib/ directory from Linux and Solaris images
erikj
parents:
41458
diff
changeset
|
55 |
./lib/libsaproc.so |
35744
4f5e0998b6e9
8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents:
34596
diff
changeset
|
56 |
" |
51781 | 57 |
elif [ "$OPENJDK_TARGET_OS" = "windows" ]; then |
58 |
SKIP_BIN_DIFF="true" |
|
35744
4f5e0998b6e9
8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents:
34596
diff
changeset
|
59 |
SKIP_FULLDUMP_DIFF="true" |
4f5e0998b6e9
8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents:
34596
diff
changeset
|
60 |
ACCEPTED_JARZIP_CONTENTS=" |
41949 | 61 |
/modules_libs/java.security.jgss/w2k_lsa_auth.pdb |
62 |
/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
|
63 |
/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
|
64 |
" |
51781 | 65 |
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
|
66 |
ACCEPTED_BIN_DIFF=" |
4f5e0998b6e9
8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents:
34596
diff
changeset
|
67 |
./lib/libawt_lwawt.dylib |
4f5e0998b6e9
8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents:
34596
diff
changeset
|
68 |
./lib/libosxapp.dylib |
4f5e0998b6e9
8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents:
34596
diff
changeset
|
69 |
./lib/libosxui.dylib |
4f5e0998b6e9
8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents:
34596
diff
changeset
|
70 |
./lib/server/libjvm.dylib |
4f5e0998b6e9
8149479: Fix compare.sh to have a clean baseline with COMPARE_BUILD
erikj
parents:
34596
diff
changeset
|
71 |
" |
14111 | 72 |
fi |