test/compiler/7070134/Test7070134.sh

Thu, 11 Apr 2013 21:45:21 -0700

author
amurillo
date
Thu, 11 Apr 2013 21:45:21 -0700
changeset 4915
5201379fe487
parent 4831
04d6d4322c6a
child 6198
55fb97c4c58d
permissions
-rw-r--r--

Added tag hs25-b28 for changeset 6d88a566d369

kvn@3038 1 #!/bin/sh
kvn@3038 2 #
kvn@3038 3 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
kvn@3038 4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
kvn@3038 5 #
kvn@3038 6 # This code is free software; you can redistribute it and/or modify it
kvn@3038 7 # under the terms of the GNU General Public License version 2 only, as
kvn@3038 8 # published by the Free Software Foundation.
kvn@3038 9 #
kvn@3038 10 # This code is distributed in the hope that it will be useful, but WITHOUT
kvn@3038 11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
kvn@3038 12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
kvn@3038 13 # version 2 for more details (a copy is included in the LICENSE file that
kvn@3038 14 # accompanied this code).
kvn@3038 15 #
kvn@3038 16 # You should have received a copy of the GNU General Public License version
kvn@3038 17 # 2 along with this work; if not, write to the Free Software Foundation,
kvn@3038 18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
kvn@3038 19 #
kvn@3038 20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
kvn@3038 21 # or visit www.oracle.com if you need additional information or have any
kvn@3038 22 # questions.
kvn@3038 23 #
kvn@3038 24 #
collins@4831 25 ## some tests require path to find test source dir
kvn@3038 26 if [ "${TESTSRC}" = "" ]
kvn@3038 27 then
collins@4831 28 TESTSRC=${PWD}
collins@4831 29 echo "TESTSRC not set. Using "${TESTSRC}" as default"
kvn@3038 30 fi
kvn@3038 31 echo "TESTSRC=${TESTSRC}"
collins@4831 32 ## Adding common setup Variables for running shell tests.
collins@4831 33 . ${TESTSRC}/../../test_env.sh
kvn@3038 34
kvn@3038 35 set -x
kvn@3038 36
kvn@3038 37 cp ${TESTSRC}/Stemmer.java .
kvn@3038 38 cp ${TESTSRC}/words .
kvn@3038 39
collins@4831 40 ${COMPILEJAVA}/bin/javac ${TESTJAVACOPTS} -d . Stemmer.java
kvn@3038 41
kvn@3038 42 ${TESTJAVA}/bin/java ${TESTVMOPTS} -Xbatch Stemmer words > test.out 2>&1
kvn@3038 43
kvn@3038 44 exit $?
kvn@3038 45

mercurial