#!/usr/bin/perl
# ********************************************************************
+# * Copyright (C) 2016 and later: Unicode, Inc. and others.
+# * License & terms of use: http://www.unicode.org/copyright.html#License
+# ********************************************************************
+# ********************************************************************
# * COPYRIGHT:
-# * Copyright (c) 2008, International Business Machines
+# * Copyright (c) 2008-2013, International Business Machines
# * Corporation and others. All Rights Reserved.
# ********************************************************************
my $p2; # Latest
if ($OnWindows) {
- $p1 = $ICUPathPrevious . "/strsrchperf/Release/strsrchperf.exe -b";
- $p2 = $ICUPathLatest . "/strsrchperf/Release/strsrchperf.exe -b";
+ $p1 = "cd ".$ICUPrevious."/bin && ".$ICUPathPrevious . "/strsrchperf/$WindowsPlatform/Release/strsrchperf.exe -b";
+ $p2 = "cd ".$ICULatest."/bin && ".$ICUPathLatest . "/strsrchperf/$WindowsPlatform/Release/strsrchperf.exe -b";
}
else {
- $p1 = $ICUPathPrevious . "/strsrchperf/strsrchperf -b";
- $p2 = $ICUPathLatest . "/strsrchperf/strsrchperf -b";
+ $p1 = "LD_LIBRARY_PATH=".$ICUPrevious."/source/lib:".$ICUPrevious."/source/tools/ctestfw ".$ICUPathPrevious . "/strsrchperf/strsrchperf -b";
+ $p2 = "LD_LIBRARY_PATH=".$ICULatest."/source/lib:".$ICULatest."/source/tools/ctestfw ".$ICUPathLatest . "/strsrchperf/strsrchperf -b";
}
my $dataFiles = {