xref: /aoo41x/test/run (revision 43bf91f1)
16467ecbfSLiu Zhe#! /bin/sh
2*43bf91f1SHerbert Dürr#**************************************************************
3*43bf91f1SHerbert Dürr#
4*43bf91f1SHerbert Dürr#  Licensed to the Apache Software Foundation (ASF) under one
5*43bf91f1SHerbert Dürr#  or more contributor license agreements.  See the NOTICE file
6*43bf91f1SHerbert Dürr#  distributed with this work for additional information
7*43bf91f1SHerbert Dürr#  regarding copyright ownership.  The ASF licenses this file
8*43bf91f1SHerbert Dürr#  to you under the Apache License, Version 2.0 (the
9*43bf91f1SHerbert Dürr#  "License"); you may not use this file except in compliance
10*43bf91f1SHerbert Dürr#  with the License.  You may obtain a copy of the License at
11*43bf91f1SHerbert Dürr#
12*43bf91f1SHerbert Dürr#    http://www.apache.org/licenses/LICENSE-2.0
13*43bf91f1SHerbert Dürr#
14*43bf91f1SHerbert Dürr#  Unless required by applicable law or agreed to in writing,
15*43bf91f1SHerbert Dürr#  software distributed under the License is distributed on an
16*43bf91f1SHerbert Dürr#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17*43bf91f1SHerbert Dürr#  KIND, either express or implied.  See the License for the
18*43bf91f1SHerbert Dürr#  specific language governing permissions and limitations
19*43bf91f1SHerbert Dürr#  under the License.
20*43bf91f1SHerbert Dürr#
21*43bf91f1SHerbert Dürr#**************************************************************
22*43bf91f1SHerbert Dürr
236467ecbfSLiu Zhe. /etc/profile
24f26f8454SHerbert Dürrif [ -z "$DISPLAY" ]; then
25f26f8454SHerbert Dürr	export DISPLAY=:0.0
26f26f8454SHerbert Dürrfi
27f26f8454SHerbert Dürr
286467ecbfSLiu ZheBASE=$(cd `dirname "$0"`; pwd)
296467ecbfSLiu Zheeval java -cp \"$BASE/lib/junit.jar:$BASE/testcommon/bin:$BASE/testgui/bin:$BASE/testuno/bin:$BASE/testgui/data:$BASE/testuno/data\" org.openoffice.test.Run -r org.openoffice.test.common.Installer -l org.openoffice.test.common.XMLReporter -l org.openoffice.test.common.ReportUploader \"-Dtestspace=$BASE/testspace\" -Dsingleton=true "$*"
30