Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Side by Side Diff: source/allinone/icucheck.bat

Issue 2443653002: Delete Visual Studio build files (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/allinone/allinone.sln ('k') | source/common/common.vcxproj » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 @echo off
2 REM ********************************************************************
3 REM * COPYRIGHT:
4 REM * Copyright (c) 2010-2014, International Business Machines Corporation
5 REM * and others. All Rights Reserved.
6 REM ********************************************************************
7
8 set ICU_ARCH=%1
9 set ICU_DBRL=%2
10
11 if "%1" == "" (
12 echo Usage: %0 "x86 or x64" "Debug or Release"
13 exit /b 1
14 )
15
16 if "%2" == "" (
17 echo Usage: %0 %1 "Debug or Release"
18 exit /b 1
19 )
20
21 set ICU_OPATH=%PATH%
22
23 set ICU_ICUDIR="%~dp0"\..\..
24
25 if "%ICU_ARCH%" == "x64" (
26 set ICU_BINDIR=%~dp0\..\..\bin64
27 ) else (
28 set ICU_BINDIR=%~dp0\..\..\bin
29 )
30
31 set PATH=%ICU_BINDIR%;%PATH%
32
33 echo testing ICU in %ICU_ICUDIR% arch=%ICU_ARCH% type=%ICU_DBRL%
34 pushd %ICU_ICUDIR%
35
36 @rem factor these out
37 set ICUINFO_CMD=%ICU_ICUDIR%\source\tools\icuinfo\%ICU_ARCH%\%ICU_DBRL%\icuinfo. exe
38 set INTLTEST_CMD=%ICU_ICUDIR%\source\test\intltest\%ICU_ARCH%\%ICU_DBRL%\intltes t.exe
39 set IOTEST_CMD=%ICU_ICUDIR%\source\test\iotest\%ICU_ARCH%\%ICU_DBRL%\iotest.exe
40 set CINTLTST_CMD=%ICU_ICUDIR%\source\test\cintltst\%ICU_ARCH%\%ICU_DBRL%\cintlts t.exe
41 set LETEST_CMD=%ICU_ICUDIR%\source\test\letest\%ICU_ARCH%\%ICU_DBRL%\letest.exe
42
43 set ICUFAILED=
44 set ICURUN=
45 set ICUFAILCNT=0
46
47 @echo on
48
49 @set THT=icuinfo
50 @echo ==== %THT% =============================================================== ==========
51 %ICUINFO_CMD% %ICUINFO_OPTS%
52
53 @IF NOT ERRORLEVEL 1 GOTO OK_%THT%
54 @set ICUFAILED=%ICUFAILED% %THT%
55 @set ICUFAILCNT=1
56 :OK_icuinfo
57 @set ICURUN=%ICURUN% %THT%
58
59 @set THT=intltest
60 @echo ==== %THT% =============================================================== ==========
61 @cd %ICU_ICUDIR%\source\test\intltest
62 %INTLTEST_CMD% %INTLTEST_OPTS%
63
64 @IF NOT ERRORLEVEL 1 GOTO OK_%THT%
65 @set ICUFAILED=%ICUFAILED% %THT%
66 @set ICUFAILCNT=1
67 :OK_intltest
68 @set ICURUN=%ICURUN% %THT%
69
70 @set THT=iotest
71 @echo ==== %THT% =============================================================== ==========
72 @cd %ICU_ICUDIR%\source\test\iotest
73 %IOTEST_CMD% %IOTEST_OPTS%
74
75 @IF NOT ERRORLEVEL 1 GOTO OK_%THT%
76 @set ICUFAILED=%ICUFAILED% %THT%
77 @set ICUFAILCNT=1
78 :OK_IOTEST
79 @set ICURUN=%ICURUN% %THT%
80
81 @set THT=cintltst
82 @echo ==== %THT% =============================================================== ==========
83 @cd %ICU_ICUDIR%\source\test\cintltst
84 %CINTLTST_CMD% %CINTLTST_OPTS%
85
86 @IF NOT ERRORLEVEL 1 GOTO OK_%THT%
87 @set ICUFAILED=%ICUFAILED% %THT%
88 @set ICUFAILCNT=1
89 :OK_cintltst
90 @set ICURUN=%ICURUN% %THT%
91
92 @REM (Layout is deprecated)
93 @REM @set THT=letest
94 @REM @echo ==== %THT% ========================================================= ================
95 @REM @cd %ICU_ICUDIR%\source\test\letest
96 @REM %LETST_CMD% %LETEST_OPTS%
97
98 @REM @IF NOT ERRORLEVEL 1 GOTO OK_%THT%
99 @REM @set ICUFAILED=%ICUFAILED% %THT%
100 @REM @set ICUFAILCNT=1
101 @REM :OK_letest
102 @REM @set ICURUN=%ICURUN% %THT%
103
104 @echo off
105
106 REM clean up
107 set PATH=%ICU_OPATH%
108 REM unset ICU_OPATH
109 popd
110
111 @REM done
112
113 echo -
114 echo -
115 echo -
116 echo ============================================================
117 echo Summary: ICU in %ICU_ICUDIR% arch=%ICU_ARCH% type=%ICU_DBRL%
118 echo -
119 echo Tests Run : %ICURUN%
120
121 if %ICUFAILCNT% == 0 (
122 echo " - All Passed!"
123 exit /b 0
124 )
125 echo Failing Tests: %ICUFAILED%
126 echo -
127 echo FAILED!
128
129 exit /b 1
OLDNEW
« no previous file with comments | « source/allinone/allinone.sln ('k') | source/common/common.vcxproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698