jdk/test/sun/rmi/rmic/newrmic/equivalence/run.sh
author smarks
Wed, 12 Dec 2012 09:53:01 -0800
changeset 14778 5947768d173d
parent 13256 5886d7607acd
child 43812 a6e3407e9f32
permissions -rw-r--r--
8004748: clean up @build tags in RMI tests Reviewed-by: alanb, darcy, mchung
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
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
# @bug 4911536
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
# @summary This test verifies that the new implementation of rmic
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
# generates equivalent classes as the old implementation, for a set
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
# of sample input classes.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
# @author Peter Jones
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
#
14778
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    31
# @library ../../../../../java/rmi/testlibrary
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    32
#
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    33
# @build TestLibrary
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    34
#     AgentServerImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    35
#     AppleImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    36
#     AppleUserImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    37
#     ComputeServerImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    38
#     CountServerImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    39
#     DayTimeServerImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    40
#     G1Impl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    41
#     MyObjectImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    42
#     NotActivatableServerImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    43
#     OrangeEchoImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    44
#     OrangeImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    45
#     ServerImpl
5947768d173d 8004748: clean up @build tags in RMI tests
smarks
parents: 13256
diff changeset
    46
#
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
# @run shell run.sh
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
if [ "${TESTJAVA}" = "" ]
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
then
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
    echo "TESTJAVA not set.  Test cannot execute.  Failed."
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
    exit 1
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
set -ex
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
# miscellaneous remote classes collected from other tests
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
sh ${TESTSRC:-.}/batch.sh ${TESTCLASSES:-.} \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
	AgentServerImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
	AppleImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
	AppleUserImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
	ComputeServerImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
	CountServerImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
	DayTimeServerImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
	G1Impl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
	MyObjectImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
	NotActivatableServerImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
	OrangeEchoImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
	OrangeImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
	ServerImpl
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
# remote classes in the J2SE implementation
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
sh ${TESTSRC:-.}/batch.sh ${TESTCLASSES:-.} \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
	sun.rmi.registry.RegistryImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
	sun.rmi.server.Activation\$ActivationMonitorImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
	sun.rmi.server.Activation\$ActivationSystemImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
	sun.rmi.server.Activation\$ActivatorImpl \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
	java.rmi.activation.ActivationGroup