| 1 | #!/usr/bin/perl |
| 2 | # ******************************************************************** |
| 3 | # * Copyright (C) 2016 and later: Unicode, Inc. and others. |
| 4 | # * License & terms of use: http://www.unicode.org/copyright.html#License |
| 5 | # ******************************************************************** |
| 6 | # ******************************************************************** |
| 7 | # * COPYRIGHT: |
| 8 | # * Copyright (c) 2010-2013, International Business Machines Corporation and |
| 9 | # * others. All Rights Reserved. |
| 10 | # ******************************************************************** |
| 11 | |
| 12 | # Settings by user |
| 13 | $ICULatestVersion = ""; # Change to respective version number |
| 14 | $ICUPreviousVersion = ""; # Change to respective version number |
| 15 | |
| 16 | $PerformanceDataPath = ""; #Change to Performance Data Path |
| 17 | |
| 18 | $ICULatest = ""; # Change to path of latest ICU (e.g. /home/user/Desktop/icu-4.0) |
| 19 | $ICUPrevious = ""; # Change to path of previous ICU |
| 20 | |
| 21 | $OnWindows = 0; # Change to 1 if on Windows |
| 22 | $Windows64 = 0; # Change to 1 if on Windows and running 64 bit |
| 23 | # End of settings by user |
| 24 | |
| 25 | $CollationDataPath = $PerformanceDataPath."/collation"; # Collation Performance Data Path |
| 26 | $ConversionDataPath = $PerformanceDataPath."/conversion"; # Conversion Performance Data Path |
| 27 | $UDHRDataPath = $PerformanceDataPath."/udhr"; # UDHR Performance Data Path |
| 28 | |
| 29 | $ICUPathLatest = $ICULatest."/source/test/perf"; |
| 30 | $ICUPathPrevious = $ICUPrevious."/source/test/perf"; |
| 31 | |
| 32 | $WindowsPlatform = ""; |
| 33 | if ($Windows64) { |
| 34 | $WindowsPlatform = "x64"; |
| 35 | } else { |
| 36 | $WindowsPlatform = "x86"; |
| 37 | } |
| 38 | |
| 39 | return 1; |