summaryrefslogtreecommitdiff
path: root/testgraphical/prechecks
diff options
context:
space:
mode:
authorLars Langhans <lla@openoffice.org>2010-05-18 13:08:25 +0200
committerLars Langhans <lla@openoffice.org>2010-05-18 13:08:25 +0200
commit18c03fd6d55df4adc7a565926445e7c1084f37c0 (patch)
tree62d19ad200eb8d1a5088cc7edbfcb438995fbe46 /testgraphical/prechecks
parent2f65144698b22eebb56bc6f583df228d99dbb150 (diff)
gfxcmp02:#159601# support solaris
Diffstat (limited to 'testgraphical/prechecks')
-rw-r--r--testgraphical/prechecks/softwaretests.pl8
1 files changed, 5 insertions, 3 deletions
diff --git a/testgraphical/prechecks/softwaretests.pl b/testgraphical/prechecks/softwaretests.pl
index 8920f77ed4b4..f591fa139879 100644
--- a/testgraphical/prechecks/softwaretests.pl
+++ b/testgraphical/prechecks/softwaretests.pl
@@ -283,7 +283,8 @@ sub getFastPath($)
sub checkForGhostscript()
{
print "Search for Ghostscript\n" if ($verbose);
- if ($OSNAME eq "linux")
+ if ($OSNAME eq "linux" ||
+ $OSNAME eq "solaris")
{
# search for ghostscript
local *GHOSTSCRIPT;
@@ -328,7 +329,7 @@ sub checkForGhostscript()
}
else
{
- print "ERROR: Check for Ghostscript failed, due to unsupported environment.\n";
+ print "ERROR: Check for Ghostscript failed, due to unsupported '$OSNAME' environment.\n";
$nGlobalErrors ++;
}
}
@@ -358,7 +359,8 @@ sub checkForPSDriver()
sub checkForImageMagick()
{
print "Search for Imagemagick\n" if ($verbose);
- if ($OSNAME eq "linux")
+ if ($OSNAME eq "linux" ||
+ $OSNAME eq "solaris")
{
# search for imagemagick
local *IMAGEMAGICK;