xref: /aoo42x/test/run (revision dee6bc11)
16467ecbfSLiu Zhe#! /bin/sh
243bf91f1SHerbert Dürr#**************************************************************
343bf91f1SHerbert Dürr#
443bf91f1SHerbert Dürr#  Licensed to the Apache Software Foundation (ASF) under one
543bf91f1SHerbert Dürr#  or more contributor license agreements.  See the NOTICE file
643bf91f1SHerbert Dürr#  distributed with this work for additional information
743bf91f1SHerbert Dürr#  regarding copyright ownership.  The ASF licenses this file
843bf91f1SHerbert Dürr#  to you under the Apache License, Version 2.0 (the
943bf91f1SHerbert Dürr#  "License"); you may not use this file except in compliance
1043bf91f1SHerbert Dürr#  with the License.  You may obtain a copy of the License at
1143bf91f1SHerbert Dürr#
1243bf91f1SHerbert Dürr#    http://www.apache.org/licenses/LICENSE-2.0
1343bf91f1SHerbert Dürr#
1443bf91f1SHerbert Dürr#  Unless required by applicable law or agreed to in writing,
1543bf91f1SHerbert Dürr#  software distributed under the License is distributed on an
1643bf91f1SHerbert Dürr#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1743bf91f1SHerbert Dürr#  KIND, either express or implied.  See the License for the
1843bf91f1SHerbert Dürr#  specific language governing permissions and limitations
1943bf91f1SHerbert Dürr#  under the License.
2043bf91f1SHerbert Dürr#
2143bf91f1SHerbert Dürr#**************************************************************
2243bf91f1SHerbert 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)
29*dee6bc11SCarl Marcumeval java -cp \"$BASE/lib/junit.jar:$BASE/lib/hamcrest.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