summaryrefslogtreecommitdiff
path: root/sal/test
diff options
context:
space:
mode:
authorKay Ramme <kr@openoffice.org>2001-10-11 12:14:37 +0000
committerKay Ramme <kr@openoffice.org>2001-10-11 12:14:37 +0000
commit5874171a790d14d1bdf113e600c1d2a03bed9037 (patch)
treeb1c5c1fe63a5855f433bd53547ad32d9bff9dc89 /sal/test
parent7b0944830ebaca56bf7ce4a82e0572311fbf4316 (diff)
added tests for macros (#88338#)
Diffstat (limited to 'sal/test')
-rwxr-xr-xsal/test/bootstrap.pl39
1 files changed, 37 insertions, 2 deletions
diff --git a/sal/test/bootstrap.pl b/sal/test/bootstrap.pl
index 538ba23c004a..101e3169d137 100755
--- a/sal/test/bootstrap.pl
+++ b/sal/test/bootstrap.pl
@@ -5,9 +5,9 @@ eval 'exec perl -wS $0 ${1+"$@"}'
#
# $RCSfile: bootstrap.pl,v $
#
-# $Revision: 1.2 $
+# $Revision: 1.3 $
#
-# last change: $Author: kr $ $Date: 2001-10-05 08:00:22 $
+# last change: $Author: kr $ $Date: 2001-10-11 13:14:37 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -116,6 +116,41 @@ if (!$rc) {
$state = 0;
}
+if ($ENV{GUI} eq "WNT") {
+ $comment = $comment . '$SYSUSERHOME not testable under windows' . "\n";
+ $state = 0;
+}
+else {
+ $rc = system "./testbootstrap", "file://$ENV{HOME}", '-env:MYBOOTSTRAPTESTVALUE=$SYSUSERHOME';
+ if (!$rc) {
+ $comment = $comment . '$SYSUSERHOME test not passed' . "\n";
+ $state = 0;
+ }
+}
+
+if ($ENV{GUI} eq "WNT") {
+ $comment = $comment . '$SYSUSERCONFIG' . " not testable under windows\n";
+ $state = 0;
+}
+else {
+ $rc = system "./testbootstrap", "file://$ENV{HOME}", '-env:MYBOOTSTRAPTESTVALUE=$SYSUSERCONFIG';
+ if (!$rc) {
+ $comment = $comment . '$SYSUSERCONFIG test not passed' . "\n";
+ $state = 0;
+ }
+}
+
+if ($ENV{GUI} eq "WNT") {
+ $comment = $comment . '$SYSBINDIR' . " not testable under windows\n";
+ $state = 0;
+}
+else {
+ $rc = system "./testbootstrap", "file://$ENV{PWD}", '-env:MYBOOTSTRAPTESTVALUE=$SYSBINDIR';
+ if (!$rc) {
+ $comment = $comment . '$SYSBINDIR test not passed' . "\n";
+ $state = 0;
+ }
+}
if ($ENV{GUI} eq "WNT") {
$rc = system "./testbootstrap", "inherited_value", '-env:MYBOOTSTRAPTESTVALUE=$INHERITED_VALUE', "-env:iniName=ini.ini";