diff options
author | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-21 19:43:25 +0000 |
---|---|---|
committer | joi@chromium.org <joi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-21 19:43:25 +0000 |
commit | 0a1b20fdf37d5c27a1a8bf6d2348a4778df5bad6 (patch) | |
tree | 3762af5c4dd9e84c48ee1cef05b834b8b319335f /chrome_frame | |
parent | a55c1d6e5a42bbf334c61dbc2bacab4683770f49 (diff) | |
download | chromium_src-0a1b20fdf37d5c27a1a8bf6d2348a4778df5bad6.zip chromium_src-0a1b20fdf37d5c27a1a8bf6d2348a4778df5bad6.tar.gz chromium_src-0a1b20fdf37d5c27a1a8bf6d2348a4778df5bad6.tar.bz2 |
Allow specifying build configuration for poor man's trybot.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/5225004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66917 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame')
-rw-r--r-- | chrome_frame/test/poor_mans_trybot.bat | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/chrome_frame/test/poor_mans_trybot.bat b/chrome_frame/test/poor_mans_trybot.bat index a5dcf37..c856b3c 100644 --- a/chrome_frame/test/poor_mans_trybot.bat +++ b/chrome_frame/test/poor_mans_trybot.bat @@ -26,23 +26,31 @@ REM a ton of stuff in that directory. Just be aware of it, and check REM what files you actually have in the local copy on the VM after REM running this script. If you encounter this issue, a reboot of the REM VM seems to help. +REM +REM ALSO NOTE: At least one test +REM (ChromeFrameTestWithWebServer.FullTabModeIE_TestPostReissue) fails +REM until you choose "never show again" in the "did you notice the +REM infobar" dialog that IE shows, at least if you're running IE7. + +if (%1)==() goto usage setlocal set CLIENT_ROOT=%~dp0%..\.. +set CONFIG=%1 @ECHO ON c: mkdir \trybot cd \trybot rmdir /s /q base -rmdir /s /q chrome\debug +rmdir /s /q chrome\%CONFIG% rmdir /s /q chrome_frame mkdir base -mkdir chrome\debug +mkdir chrome\%CONFIG% mkdir chrome_frame\test\data mkdir chrome_frame\test\html_util_test_data copy %CLIENT_ROOT%\base\base_paths_win.cc base\base_paths_win.cc -xcopy %CLIENT_ROOT%\chrome\debug chrome\debug /E /EXCLUDE:%CLIENT_ROOT%\chrome_frame\test\poor_mans_trybot_xcopy_filter.txt +xcopy %CLIENT_ROOT%\chrome\%CONFIG% chrome\%CONFIG% /E /EXCLUDE:%CLIENT_ROOT%\chrome_frame\test\poor_mans_trybot_xcopy_filter.txt xcopy %CLIENT_ROOT%\chrome_frame\test\data chrome_frame\test\data /E xcopy %CLIENT_ROOT%\chrome_frame\test\html_util_test_data chrome_frame\test\html_util_test_data /E copy %CLIENT_ROOT%\chrome_frame\CFInstance.js chrome_frame\CFInstance.js @@ -51,9 +59,16 @@ copy %CLIENT_ROOT%\chrome_frame\CFInstall.js chrome_frame\CFInstall.js echo ************************************ echo DO THE FOLLOWING IN AN ADMIN PROMPT: echo ************************************ -echo regsvr32 \trybot\chrome\debug\servers\npchrome_frame.dll +echo regsvr32 \trybot\chrome\%CONFIG%\servers\npchrome_frame.dll +echo rundll32 \trybot\chrome\debug\servers\npchrome_frame.dll,RegisterNPAPIPlugin echo ********************************* echo THEN DO THIS IN A REGULAR PROMPT: echo ********************************* -echo chrome\debug\chrome_frame_unittests.exe -echo chrome\debug\chrome_frame_tests.exe +echo \trybot\chrome\%CONFIG%\chrome_frame_unittests.exe +echo \trybot\chrome\%CONFIG%\chrome_frame_tests.exe +goto end + +:usage +echo "Usage: poor_mans_trybot.bat [debug|release]" + +:end |