• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1@if "%ECHOON%"=="" @echo off
2SETLOCAL
3
4REM ******************************************************************
5REM Usage:
6REM        winsymconv_test
7REM ******************************************************************
8
9REM ******************************************************************
10REM Initialize
11REM ******************************************************************
12SET SCRIPT_LOCATION=%~dp0
13SET DBGHELP_WINHTTP=
14SET USE_WINHTTP=
15
16REM ******************************************************************
17REM Go to script location
18REM ******************************************************************
19pushd %SCRIPT_LOCATION%
20
21REM ******************************************************************
22REM  Make sure the symbol file directory exists
23REM ******************************************************************
24SET SYMBOL_DIR=%SCRIPT_LOCATION%symbol
25if NOT EXIST %SYMBOL_DIR% MKDIR %SYMBOL_DIR%
26if NOT EXIST %SYMBOL_DIR% echo Failed to create directory '%SYMBOL_DIR%' & goto :fail
27
28REM ******************************************************************
29REM Testing on the staging instance.
30REM ******************************************************************
31echo Testing on the staging instance ...
32
33google_converter.exe ^
34    -n http://msdl.microsoft.com/download/symbols ^
35    -n http://symbols.mozilla.org/firefox ^
36    -n http://chromium-browser-symsrv.commondatastorage.googleapis.com ^
37    -n https://download.amd.com/dir/bin ^
38    -n https://driver-symbols.nvidia.com ^
39    -n https://software.intel.com/sites/downloads/symbols ^
40    -l %SYMBOL_DIR% ^
41    -s https://clients2.google.com/cr/staging_symbol ^
42    -mf %SCRIPT_LOCATION%missing_symbols_test.txt ^
43    -t https://clients2.google.com/cr/staging_symbol/fetchfailed ^
44    -b "google|chrome|internal|private" ^
45    > %SCRIPT_LOCATION%last_cycle_staging.txt
46
47REM ******************************************************************
48REM Testing on the production instance.
49REM ******************************************************************
50echo Testing on the production instance ...
51
52google_converter.exe ^
53    -n http://msdl.microsoft.com/download/symbols ^
54    -n http://symbols.mozilla.org/firefox ^
55    -n http://chromium-browser-symsrv.commondatastorage.googleapis.com ^
56    -n https://download.amd.com/dir/bin ^
57    -n https://driver-symbols.nvidia.com ^
58    -n https://software.intel.com/sites/downloads/symbols ^
59    -l %SYMBOL_DIR% ^
60    -s https://clients2.google.com/cr/symbol ^
61    -mf %SCRIPT_LOCATION%missing_symbols_test.txt ^
62    -t https://clients2.google.com/cr/symbol/fetchfailed ^
63    -b "google|chrome|internal|private" ^
64    > %SCRIPT_LOCATION%last_cycle_prod.txt
65
66:success
67ENDLOCAL
68exit /b 0
69
70:fail
71ENDLOCAL
72exit /b 1
73