diff options
Diffstat (limited to 'sc/source/ui/vba/testvba/launchTest.pl')
-rw-r--r-- | sc/source/ui/vba/testvba/launchTest.pl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/ui/vba/testvba/launchTest.pl b/sc/source/ui/vba/testvba/launchTest.pl index 243798616052..5b64f7522c09 100644 --- a/sc/source/ui/vba/testvba/launchTest.pl +++ b/sc/source/ui/vba/testvba/launchTest.pl @@ -1,7 +1,7 @@ #************************************************************************* # # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# +# # Copyright 2000, 2010 Oracle and/or its affiliates. # # OpenOffice.org - a multi-platform office productivity suite @@ -31,14 +31,14 @@ my $test_class = shift || die 'must provide a ext name'; my $TESTDOCUMENT = shift || die 'must provide a path to testdocument dirs'; my $OUTPUTDIR = shift || die 'must provide an output path to deposit logs in'; -die "can't access TestClass $test_class/TestVBA.class" unless -f "$test_class/TestVBA.class"; -die "can't access officepath env variable \$OFFICEPATH" unless -d $ENV{OFFICEPATH}; -die "can't access testdocuments" unless -d $TESTDOCUMENT; -die "testdocument not of the correct structure $TESTDOCUMENT/logs/excel" unless -d "$TESTDOCUMENT/logs/excel"; -die "can't access output dir" unless -d $OUTPUTDIR; +die "can't access TestClass $test_class/TestVBA.class" unless -f "$test_class/TestVBA.class"; +die "can't access officepath env variable \$OFFICEPATH" unless -d $ENV{OFFICEPATH}; +die "can't access testdocuments" unless -d $TESTDOCUMENT; +die "testdocument not of the correct structure $TESTDOCUMENT/logs/excel" unless -d "$TESTDOCUMENT/logs/excel"; +die "can't access output dir" unless -d $OUTPUTDIR; -my $officeclasspath = "$ENV{OFFICEPATH}/program/classes/"; +my $officeclasspath = "$ENV{OFFICEPATH}/program/classes/"; my $classpath = "$officeclasspath/jurt.jar:$officeclasspath/unoil.jar:$officeclasspath/juh.jar:$officeclasspath/java_uno.jar:$officeclasspath/ridl.jar:$test_class:$ENV{CLASSPATH}"; $ENV{CLASSPATH}=$classpath; print "classpath $ENV{CLASSPATH}\n"; |