test/jdk/sun/rmi/rmic/newrmic/equivalence/run.sh
author erikj
Tue, 12 Sep 2017 19:03:39 +0200
changeset 47216 71c04702a3d5
parent 43812 jdk/test/sun/rmi/rmic/newrmic/equivalence/run.sh@a6e3407e9f32
permissions -rw-r--r--
8187443: Forest Consolidation: Move files to unified layout Reviewed-by: darcy, ihse
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#
13256
5886d7607acd 7142596: RMI JPRT tests are failing
dmocek
parents: 5506
diff changeset
     2
# Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
# published by the Free Software Foundation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
# This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
# version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
# accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
# You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
# 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
#
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    19
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    20
# or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    21
# questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
# @test
43812
a6e3407e9f32 8146299: Disable rmic -Xnew
msheppar
parents: 14778
diff changeset
    25
# @ignore test is disabled, while further discussion on the rmic -Xnew feature
a6e3407e9f32 8146299: Disable rmic -Xnew
msheppar
parents: 14778
diff changeset
    26
# takes place (c.f JDK-8146299, JDK-8145980).
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
# @bug 4911536
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
# @summary This test verifies that the new implementation of rmic
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
# generates equivalent classes as the old implementation, for a set
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
# of sample input classes.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
# @author Peter Jones
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
#
14778
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    33
# @library ../../../../../java/rmi/testlibrary
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    34
#
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    35
# @build TestLibrary
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    36
#     AgentServerImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    37
#     AppleImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    38
#     AppleUserImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    39
#     ComputeServerImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    40
#     CountServerImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    41
#     DayTimeServerImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    42
#     G1Impl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    43
#     MyObjectImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    44
#     NotActivatableServerImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    45
#     OrangeEchoImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    46
#     OrangeImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    47
#     ServerImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    48
#
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
# @run shell run.sh
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
if [ "${TESTJAVA}" = "" ]
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
then
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
    echo "TESTJAVA not set.  Test cannot execute.  Failed."
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
    exit 1
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
set -ex
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
# miscellaneous remote classes collected from other tests
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
sh ${TESTSRC:-.}/batch.sh ${TESTCLASSES:-.} \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
	AgentServerImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
	AppleImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
	AppleUserImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
	ComputeServerImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
	CountServerImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
	DayTimeServerImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
	G1Impl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
	MyObjectImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
	NotActivatableServerImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
	OrangeEchoImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
	OrangeImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
	ServerImpl
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
# remote classes in the J2SE implementation
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
sh ${TESTSRC:-.}/batch.sh ${TESTCLASSES:-.} \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
	sun.rmi.registry.RegistryImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
	sun.rmi.server.Activation\$ActivationMonitorImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
	sun.rmi.server.Activation\$ActivationSystemImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
	sun.rmi.server.Activation\$ActivatorImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
	java.rmi.activation.ActivationGroup