]> granicus.if.org Git - icu/commitdiff
ICU-9427 made classpath platform independent
authorDebabrata Sengupta <dsengup@svn.icu-project.org>
Thu, 2 Aug 2012 23:05:47 +0000 (23:05 +0000)
committerDebabrata Sengupta <dsengup@svn.icu-project.org>
Thu, 2 Aug 2012 23:05:47 +0000 (23:05 +0000)
X-SVN-Rev: 32091

icu4j/perf-tests/perftests.pl

index af4f5d6dd4bb378cc0bf8f5db4ecb50993c6c5f1..6a27d325abe9b0be24a92de8206b1129b221aca9 100644 (file)
@@ -9,7 +9,14 @@ use XML::LibXML;
 # Assume we are running within the icu4j root directory\r
 use lib 'src/com/ibm/icu/dev/test/perf';\r
 use Dataset;\r
-my $CLASSPATH="../icu4j.jar:../tools/misc/out/lib/icu4j-tools.jar:out/bin";\r
+my $OS=$^O;\r
+\r
+my $CLASSPATH;\r
+if ($OS eq "linux" || $OS eq "darwin") {\r
+       $CLASSPATH="../icu4j.jar:../tools/misc/out/lib/icu4j-tools.jar:out/bin";\r
+} else {\r
+       $CLASSPATH="../icu4j.jar;../tools/misc/out/lib/icu4j-tools.jar;out/bin";\r
+}\r
 #---------------------------------------------------------------------\r
 \r
 # Methods to be tested.  Each pair represents a test method and\r