From 63a9fef24bc907a9266bfb04ec6d12b285a5c7ed Mon Sep 17 00:00:00 2001 From: Yoshito Umaoka Date: Mon, 9 Dec 2013 22:58:42 +0000 Subject: [PATCH] ICU-10549 Fixed some scripting problems in the new collation regression test on Windows. X-SVN-Rev: 34727 --- icu4c/source/test/perf/collperf2/CollPerf2_r.pl | 4 ++-- icu4c/source/test/perf/perldriver/PerfFramework.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/icu4c/source/test/perf/collperf2/CollPerf2_r.pl b/icu4c/source/test/perf/collperf2/CollPerf2_r.pl index c7460c5f060..45d747372a6 100755 --- a/icu4c/source/test/perf/collperf2/CollPerf2_r.pl +++ b/icu4c/source/test/perf/collperf2/CollPerf2_r.pl @@ -29,8 +29,8 @@ my $options = { my $p1, $p2; if ($OnWindows) { - $p1 = "cd ".$ICUPrevious."/bin && ".$ICUPathPrevious."/collperf/$WindowsPlatform/Release/collperf2.exe"; - $p2 = "cd ".$ICULatest."/bin && ".$ICUPathLatest."/collperf/$WindowsPlatform/Release/collperf2.exe"; + $p1 = "cd ".$ICUPrevious."/bin && ".$ICUPathPrevious."/collperf2/$WindowsPlatform/Release/collperf2.exe"; + $p2 = "cd ".$ICULatest."/bin && ".$ICUPathLatest."/collperf2/$WindowsPlatform/Release/collperf2.exe"; } else { $p1 = "LD_LIBRARY_PATH=".$ICUPrevious."/source/lib:".$ICUPrevious."/source/tools/ctestfw ".$ICUPathPrevious."/collperf2/collperf2"; $p2 = "LD_LIBRARY_PATH=".$ICULatest."/source/lib:".$ICULatest."/source/tools/ctestfw ".$ICUPathLatest."/collperf2/collperf2"; diff --git a/icu4c/source/test/perf/perldriver/PerfFramework.pm b/icu4c/source/test/perf/perldriver/PerfFramework.pm index 718448237a2..99c48e6ed1c 100644 --- a/icu4c/source/test/perf/perldriver/PerfFramework.pm +++ b/icu4c/source/test/perf/perldriver/PerfFramework.pm @@ -97,7 +97,7 @@ sub compareLoop { my $datafile = shift; my $locAndData = ""; if($locale) { - $locAndData .= " -L '$locale'"; + $locAndData .= " -L \"$locale\""; } if($datafile) { $locAndData .= " -f $datafile"; -- 2.40.0