Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 @ECHO OFF | 1 @ECHO OFF |
| 2 REM Copyright (c) 2009 The Chromium Authors. All rights reserved. | 2 REM Copyright (c) 2009 The Chromium Authors. All rights reserved. |
|
robertshield
2011/12/12 04:05:49
nit: 2009 -> 2011
Jói
2011/12/12 14:09:02
Done.
| |
| 3 REM Use of this source code is governed by a BSD-style license that can be | 3 REM Use of this source code is governed by a BSD-style license that can be |
| 4 REM found in the LICENSE file. | 4 REM found in the LICENSE file. |
| 5 REM | 5 REM |
| 6 REM Purpose of this file: If you have IE9 on your machine, not all of | 6 REM Purpose of this file: If you have IE9 on your machine, not all of |
| 7 REM the Chrome Frame tests will currently pass. To run the tests on | 7 REM the Chrome Frame tests will currently pass. To run the tests on |
| 8 REM a VM or separate machine, you need to copy a bunch of things over | 8 REM a VM or separate machine, you need to copy a bunch of things over |
| 9 REM (the tests run slowly or flakily over a network drive). | 9 REM (the tests run slowly or flakily over a network drive). |
| 10 REM | 10 REM |
| 11 REM To facilitate running the tests on a separate machine, Run this | 11 REM To facilitate running the tests on a separate machine, Run this |
| 12 REM batch file on a VM or a separate machine, that has a drive mapped | 12 REM batch file on a VM or a separate machine, that has a drive mapped |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 52 %DRIVE% | 52 %DRIVE% |
| 53 mkdir %INSTALL_ROOT% | 53 mkdir %INSTALL_ROOT% |
| 54 cd %INSTALL_ROOT% | 54 cd %INSTALL_ROOT% |
| 55 rmdir /s /q base | 55 rmdir /s /q base |
| 56 rmdir /s /q build\%CONFIG% | 56 rmdir /s /q build\%CONFIG% |
| 57 rmdir /s /q chrome_frame | 57 rmdir /s /q chrome_frame |
| 58 mkdir base | 58 mkdir base |
| 59 mkdir build\%CONFIG% | 59 mkdir build\%CONFIG% |
| 60 mkdir chrome_frame\test\data | 60 mkdir chrome_frame\test\data |
| 61 mkdir chrome_frame\test\html_util_test_data | 61 mkdir chrome_frame\test\html_util_test_data |
| 62 mkdir net\data | |
| 63 mkdir net\tools\testserver | |
| 64 mkdir third_party\pyftpdlib | |
| 65 mkdir third_party\pylib | |
| 66 mkdir third_party\python_26 | |
| 67 mkdir third_party\tlslite | |
| 62 copy %CLIENT_ROOT%\base\base_paths_win.cc base\base_paths_win.cc | 68 copy %CLIENT_ROOT%\base\base_paths_win.cc base\base_paths_win.cc |
| 63 xcopy %CLIENT_ROOT%\build\%CONFIG% build\%CONFIG% /E /EXCLUDE:%CLIENT_ROOT%\chro me_frame\test\poor_mans_trybot_xcopy_filter.txt | 69 xcopy %CLIENT_ROOT%\build\%CONFIG% build\%CONFIG% /E /EXCLUDE:%CLIENT_ROOT%\chro me_frame\test\poor_mans_trybot_xcopy_filter.txt |
| 64 xcopy %CLIENT_ROOT%\chrome_frame\test\data chrome_frame\test\data /E | 70 xcopy %CLIENT_ROOT%\chrome_frame\test\data chrome_frame\test\data /E |
| 71 xcopy %CLIENT_ROOT%\net\data net\data /E | |
| 72 xcopy %CLIENT_ROOT%\net\tools\testserver net\tools\testserver /E | |
| 73 xcopy %CLIENT_ROOT%\third_party\pyftpdlib third_party\pyftpdlib /E | |
| 74 xcopy %CLIENT_ROOT%\third_party\pylib third_party\pylib /E | |
| 75 xcopy %CLIENT_ROOT%\third_party\python_26 third_party\python_26 /E | |
| 76 xcopy %CLIENT_ROOT%\third_party\tlslite third_party\tlslite /E | |
| 65 xcopy %CLIENT_ROOT%\chrome_frame\test\html_util_test_data chrome_frame\test\html _util_test_data /E | 77 xcopy %CLIENT_ROOT%\chrome_frame\test\html_util_test_data chrome_frame\test\html _util_test_data /E |
| 66 copy %CLIENT_ROOT%\chrome_frame\CFInstance.js chrome_frame\CFInstance.js | 78 copy %CLIENT_ROOT%\chrome_frame\CFInstance.js chrome_frame\CFInstance.js |
| 67 copy %CLIENT_ROOT%\chrome_frame\CFInstall.js chrome_frame\CFInstall.js | 79 copy %CLIENT_ROOT%\chrome_frame\CFInstall.js chrome_frame\CFInstall.js |
| 68 @ECHO OFF | 80 @ECHO OFF |
| 69 echo ************************************ | 81 echo ************************************ |
| 70 echo DO THE FOLLOWING IN AN ADMIN PROMPT: | 82 echo DO THE FOLLOWING IN AN ADMIN PROMPT: |
| 71 echo ************************************ | |
| 72 echo regsvr32 \trybot\build\%CONFIG%\servers\npchrome_frame.dll | |
| 73 echo ********************************* | 83 echo ********************************* |
| 74 echo THEN DO THIS IN A REGULAR PROMPT: | 84 echo %DRIVE%%INSTALL_ROOT%\build\%CONFIG%\chrome_frame_unittests.exe |
| 75 echo ********************************* | 85 echo %DRIVE%%INSTALL_ROOT%\build\%CONFIG%\chrome_frame_tests.exe |
| 76 echo \trybot\build\%CONFIG%\chrome_frame_unittests.exe | 86 echo %DRIVE%%INSTALL_ROOT%\build\%CONFIG%\chrome_frame_net_tests.exe |
| 77 echo \trybot\build\%CONFIG%\chrome_frame_tests.exe | |
| 78 goto end | 87 goto end |
| 79 | 88 |
| 80 :usage | 89 :usage |
| 81 echo "Usage: poor_mans_trybot.bat CONFIG [DRIVE INSTALL_ROOT]" | 90 echo "Usage: poor_mans_trybot.bat CONFIG [DRIVE INSTALL_ROOT]" |
| 82 | 91 |
| 83 :end | 92 :end |
| OLD | NEW |