diff options
author | Lars Langhans <lla@openoffice.org> | 2010-05-18 13:08:25 +0200 |
---|---|---|
committer | Lars Langhans <lla@openoffice.org> | 2010-05-18 13:08:25 +0200 |
commit | 18c03fd6d55df4adc7a565926445e7c1084f37c0 (patch) | |
tree | 62d19ad200eb8d1a5088cc7edbfcb438995fbe46 /testgraphical | |
parent | gfxcmp02: #159601# add test (diff) | |
download | core-18c03fd6d55df4adc7a565926445e7c1084f37c0.tar.gz core-18c03fd6d55df4adc7a565926445e7c1084f37c0.zip |
gfxcmp02:#159601# support solaris
Diffstat (limited to 'testgraphical')
-rw-r--r-- | testgraphical/prechecks/softwaretests.pl | 8 |
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; |