blob: e8b5fc57ee7a5f1d0ab3d055a2a976b07371fdc6 [file] [log] [blame]
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
# Try to find top-level directory
#
if test -f ob/src/com/ooc/CORBA/ORB.java
then
top_srcdir=ob
elif test -f src/com/ooc/CORBA/ORB.java
then
top_srcdir=.
elif test -f ../src/com/ooc/CORBA/ORB.java
then
top_srcdir=..
elif test -f ../../src/com/ooc/CORBA/ORB.java
then
top_srcdir=../..
elif test -f ../../../src/com/ooc/CORBA/ORB.java
then
top_srcdir=../../..
elif test -f ../../../../src/com/ooc/CORBA/ORB.java
then
top_srcdir=../../../..
else
$echo "$0: can't find top-level directory"
exit
fi
#
# Run standard init script
#
. $top_srcdir/config/sh.init $@
#
# Print welcome message
#
$echo
$echo "**********************"
$echo "* ORBacus Test Suite *"
$echo "**********************"
$echo
$echo "(All test results are logged in the file \"alltests.log\")"
#
# Delete top-level log file
#
rm -f alltests.log
#
# Run all tests
#
$echo
$echo "*** Running tests in \"types\" ***"
sh $top_srcdir/test/types/runtest 2>&1 | tee -a alltests.log
$echo
$echo "*** Running tests in \"main\" ***"
sh $top_srcdir/test/main/runtest $@ 2>&1 | tee -a alltests.log
$echo
$echo "*** Running tests in \"poa\" ***"
sh $top_srcdir/test/poa/runtest 2>&1 | tee -a alltests.log
$echo
$echo "*** Running tests in \"obv\" ***"
sh $top_srcdir/test/obv/runtest $@ 2>&1 | tee -a alltests.log
$echo
$echo "*** Running tests in \"codesets\" ***"
sh $top_srcdir/test/codesets/runtest 2>&1 | tee -a alltests.log
$echo
$echo "*** Running tests in \"pi\" ***"
sh $top_srcdir/test/pi/runtest $@ 2>&1 | tee -a alltests.log
$echo
$echo "*** Running tests in \"ins\" ***"
sh $top_srcdir/test/ins/runtest 2>&1 | tee -a alltests.log
$echo
$echo "*** Running tests in \"local\" ***"
sh $top_srcdir/test/local/runtest 2>&1 | tee -a alltests.log
$echo
$echo "*** Running tests in \"retry\" ***"
sh $top_srcdir/test/retry/runtest 2>&1 | tee -a alltests.log
$echo
$echo "*** Running tests in \"iiopplugin\" ***"
sh $top_srcdir/test/iiopplubin/runtest 2>&1 | tee -a alltests.log