summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* fix build on windowstc@google.com2009-01-161-0/+1
| | | | | | | | | | we don't actually want to run this code on windows. TBR=evanm Review URL: http://codereview.chromium.org/18171 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8223 0039d316-1c4b-4281-b951-d872f2087c98
* Have net_resources.grd generate a .pak file too. Since the tldtc@google.com2009-01-163-3/+20
| | | | | | | | | | | data is generated and included in the .pak file, we need to add a dependency in the SCons build. Making the corresponding changes to mac/win is harder, so punting for now. Review URL: http://codereview.chromium.org/18127 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8220 0039d316-1c4b-4281-b951-d872f2087c98
* On Win32, keep all source relative paths on the drive with the project file.aharper@chromium.org2009-01-161-0/+5
| | | | | | Review URL: http://codereview.chromium.org/18103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8160 0039d316-1c4b-4281-b951-d872f2087c98
* The ubuntu version of valgrind doesn't have "--track-origins".erg@google.com2009-01-161-1/+3
| | | | | | | Review URL: http://codereview.chromium.org/18295 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8152 0039d316-1c4b-4281-b951-d872f2087c98
* Add data pack file format to the grit output type and enable it for ↵tc@google.com2009-01-166-3/+120
| | | | | | | | | | | | | | | | | | webkit_resources.grd. This only adds support for <include> nodes. <message> nodes are forthcoming. The design doc describing the format is here: http://dev.chromium.org/developers/design-documents/linuxresourcesandlocalizedstrings I hooked into the <release> tag because we need to generate an index at the beginning of the file. The index contains the position of all the resources, so we walk the file at that point. This currently only handles <include> tags, but will be extended to handle <message> as well. Review URL: http://codereview.chromium.org/18215 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8147 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor layout test bug report summary to add support for UI tests.erikkay@google.com2009-01-151-14/+31
| | | | | | Review URL: http://codereview.chromium.org/18293 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8137 0039d316-1c4b-4281-b951-d872f2087c98
* Fix current working directory problem in chrome_tests.sh.erg@google.com2009-01-151-1/+1
| | | | | | | Review URL: http://codereview.chromium.org/18292 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8133 0039d316-1c4b-4281-b951-d872f2087c98
* Add a sleep timeout argument to the ui_test scripts. This willpaulg@google.com2009-01-151-1/+2
| | | | | | | | allow tests that use inline calls to Sleep() to not delay too long when running under Purify. Review URL: http://codereview.chromium.org/18260 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8107 0039d316-1c4b-4281-b951-d872f2087c98
* Fix path handling under cygwin Python when invoked from Win32 shell.aharper@chromium.org2009-01-151-3/+35
| | | | | | | | Handle relative paths in source files from parents of SOURCE_ROOT. Review URL: http://codereview.chromium.org/18064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8064 0039d316-1c4b-4281-b951-d872f2087c98
* add a repack utility for combining .pak files generatedtc@google.com2009-01-152-6/+72
| | | | | | | | | by grit into a single .pak file. Review URL: http://codereview.chromium.org/18254 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8063 0039d316-1c4b-4281-b951-d872f2087c98
* accidentally passed a bogus arg to run_webkit_testserikkay@google.com2009-01-141-1/+0
| | | | | | | TBR=paulg Review URL: http://codereview.chromium.org/18033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7991 0039d316-1c4b-4281-b951-d872f2087c98
* Remove grit hack and inline a 30x30 red square for atc@google.com2009-01-132-4/+0
| | | | | | | | | data resource that we were loading from disk. This should get compiled out in chrome. Rebaseline one test. Review URL: http://codereview.chromium.org/18008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7966 0039d316-1c4b-4281-b951-d872f2087c98
* A simple one-at-a-time test runner that can be driven by chrome_tests.py.erikkay@google.com2009-01-132-2/+64
| | | | | | | | | This allows memory errors to be isolated to a particular test and a crash in one test to affect the tests of others. Review URL: http://codereview.chromium.org/17634 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7938 0039d316-1c4b-4281-b951-d872f2087c98
* Move webkit_resources.rc to webkit_resources.grd. Addtc@google.com2009-01-132-0/+4
| | | | | | | | | | | | | | | | | webkit_resources.vcproj which creates the .rc files and have webkit glue depend on it. I had to add a flag to grit that allows a resource to be in the header, but not in the .rc file. We do this for a test_shell only resource that is not compiled in. SCons build also works on windows. I still need to update the other .sln files and mac build. Review URL: http://codereview.chromium.org/17466 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7910 0039d316-1c4b-4281-b951-d872f2087c98
* Ignore "_ignore.txt" files when counting errors we want to fix sometime.pamg@google.com2009-01-101-0/+1
| | | | | | | | | BUG=5469 TEST=make sure errors in _ignore files in, say, base/data/purify/ don't show up in the buildbot's count of errors we need to fix Review URL: http://codereview.chromium.org/17457 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7844 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for per-module suppression files.erg@google.com2009-01-093-22/+37
| | | | | | | | | Also fixes a typo in logging. Review URL: http://codereview.chromium.org/17321 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7837 0039d316-1c4b-4281-b951-d872f2087c98
* Update Purify filters to filter out some sqlite UMRs.mpcomplete@google.com2009-01-091-0/+0
| | | | | | | BUG=1573607 Review URL: http://codereview.chromium.org/17449 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7821 0039d316-1c4b-4281-b951-d872f2087c98
* Report the total number of fixable and fixable-but-flakey messages listed inpamg@google.com2009-01-091-0/+27
| | | | | | | | | | | the data files for the executable under test, to give it better visibility. BUG=5469 TEST=look for 'Fixable errors' and 'Flakey errors' lines in output on buildbot; verify counts from the lines output just before them Review URL: http://codereview.chromium.org/17304 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7814 0039d316-1c4b-4281-b951-d872f2087c98
* Make a valgrind tool in the same vein as the purify one.erg@google.com2009-01-095-0/+863
| | | | | | | | | | | | | | | Currently supports the following commands: ./chrome_tests.sh --test base ./chrome_tests.sh --test net ./chrome_tests.sh --test ipc ./chrome_tests.sh --test unit The valgrind_*.py files are my first real big chunks of python, so any suggestions would be greatly appreciated. Review URL: http://codereview.chromium.org/16583 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7796 0039d316-1c4b-4281-b951-d872f2087c98
* Add first cut at tool for Win32 users to manipulate Xcode project filesaharper@chromium.org2009-01-081-0/+1229
| | | | | | | pending the grand overall solution. Review URL: http://codereview.chromium.org/15015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7773 0039d316-1c4b-4281-b951-d872f2087c98
* Python library for writing data pack files (see base/data_pack*).evan@chromium.org2009-01-081-0/+42
| | | | | | | Review URL: http://codereview.chromium.org/17402 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7709 0039d316-1c4b-4281-b951-d872f2087c98
* Adjust a ui_test timeout to allow more tests topaulg@google.com2009-01-061-1/+1
| | | | | | | | pass on the purify buildbot. Review URL: http://codereview.chromium.org/16556 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7631 0039d316-1c4b-4281-b951-d872f2087c98
* Add using_generated_resources.scons to the build. Thistc@google.com2009-01-061-0/+15
| | | | | | | | | | | is the same as using_generated_resources.vsprops. Replace existing paths with this scons file if the SConscript file has already been converted to the using_ format. Review URL: http://codereview.chromium.org/14902 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7583 0039d316-1c4b-4281-b951-d872f2087c98
* Add a small utility for dumping the system clipboard's contents on GTK.estade@chromium.org2009-01-052-0/+60
| | | | | | Review URL: http://codereview.chromium.org/14175 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7562 0039d316-1c4b-4281-b951-d872f2087c98
* Some more GRIT refactoring.tc@google.com2009-01-053-3/+34
| | | | | | | | | | | | | | | | | | Moved the grit .vsprops file from chrome/tools/build/win/ to /tools/grit/build and renamed to using_generated_resources.vsprops. Updated non-chrome projects to use the this new vsprops file. Created a new .rules file and renamed the old one. Now there are grit_resources.rules and grit_localized_resources.rules. The latter is what we use now, but I'll be adding some grd files that use the former in a follow up change. This is just vsprops reshuffling for now. I'll also add a using_generated_resources.scons in a follow up change. Review URL: http://codereview.chromium.org/14901 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7560 0039d316-1c4b-4281-b951-d872f2087c98
* Update Channel Changer to support a new Dev channel tag.mal@chromium.org2009-01-053-3/+11
| | | | | | | | | | | | | | | | | | | | | I want to declare 1.1-dev users "on the Beta channel" and create a new 2.0-dev tag for the Dev channel. To do that I needed to make the Channel Changer recognize 1.1-dev as Beta. I also changed some strings: * make the note about changing to a more stable channel a little clearer * make the dialog title 'Channel Changer' (instead of Switcher) The vcproj needed to be updated for the Release rule. (Jungshik changed Debug in r7532.) Review URL: http://codereview.chromium.org/17050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7559 0039d316-1c4b-4281-b951-d872f2087c98
* Update channel_change build files to refer to Platform SDK 6.1jungshik@google.com2008-12-312-4/+4
| | | | | | Review URL: http://codereview.chromium.org/17037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7532 0039d316-1c4b-4281-b951-d872f2087c98
* Update build files to use PSDK 6.1 (platformsdk_win2008_6_1). This is ↵jungshik@google.com2008-12-312-2/+2
| | | | | | | | | | | | | | | | | necessary for dynamic font support. This is a re-run of http://codereview.chromium.org/14908/show (except that chrome_dll.deps file which needs to be updated along with the actual code change) This will be followed by http://codereview.chromium.org/16494 (actual webkit code change) and changes in webkit/build BUG=1303 Review URL: http://codereview.chromium.org/16496 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7520 0039d316-1c4b-4281-b951-d872f2087c98
* Revert sdk 6.1 upgrade changes.jungshik@google.com2008-12-302-2/+2
| | | | | | | | TBR=nsylvain Review URL: http://codereview.chromium.org/17021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7501 0039d316-1c4b-4281-b951-d872f2087c98
* Change build-related files to use Windows SDK 6.1 instead of Windows SDK 6.0.jungshik@google.com2008-12-302-2/+2
| | | | | | | | | | | SDK upgrade is necessary to support dynamic/webfont because SDK 6.0 does not have t2embapi.h and t2embed.lib. SDK 6.1 is compatible with WIn XP and VS 2005 or later. FYI: http://codereview.chromium.org/14084/show is the CL for adding web/dynamic font support. Review URL: http://codereview.chromium.org/14908 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7500 0039d316-1c4b-4281-b951-d872f2087c98
* A small textual change to the Channel Changer to point out that admin ↵finnur@google.com2008-12-241-2/+3
| | | | | | | | privileges are required (in some cases). Review URL: http://codereview.chromium.org/16232 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7465 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the output line endinfchrome-bot@google.com2008-12-221-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7354 0039d316-1c4b-4281-b951-d872f2087c98
* For non-detached processes, manually read and print out stdout and stderr.erikkay@google.com2008-12-201-1/+31
| | | | | | | | | | | | By default, the subprocess is supposed to inherit these from its parent, however when run under buildbot, it seems unable to read data from a grandchild process, so we have to read the child and print the data as if it came from us for buildbot to read it. We're not sure why this is necessary. Review URL: http://codereview.chromium.org/15092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7337 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command line flag to the Purify script to allow skippingpaulg@google.com2008-12-191-3/+6
| | | | | | | the chrome.dll re-instrumentation step when running tests manually. Review URL: http://codereview.chromium.org/15085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7313 0039d316-1c4b-4281-b951-d872f2087c98
* Changing which installation the Channel Changer uses.finnur@google.com2008-12-191-23/+37
| | | | | | | | | If System-level Chrome is installed, Channel Changer will choose that. If not found, it will look for User-level Chrome and update that. Review URL: http://codereview.chromium.org/15084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7312 0039d316-1c4b-4281-b951-d872f2087c98
* Fix 5561: Support system-level install in the channel changer.finnur@google.com2008-12-184-52/+233
| | | | | | | | | | | | | | When Chrome is installed system wide, the Google Update keys reside under HKLM. Under Vista, any writes to this key will get virtualized, unless we elevate the channel_changer process. We don't want to elevate using a manifest, because we don't want the UAC to pop up when the Channel Changer is used to configure a user-level Chrome installation, so we detect at process startup whether we need to elevate and relaunch the channel_changer process (elevated) if we need to (before showing any UI). Review URL: http://codereview.chromium.org/14855 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7260 0039d316-1c4b-4281-b951-d872f2087c98
* Initial support for running the ui_tests under Purify on thepaulg@google.com2008-12-181-1/+6
| | | | | | | | | | | | | | | | | | buildbots. With these changes, I've been able to get 106 of about 185 ui_tests running under Purify on my machine (I haven't gotten to the remaining tests yet) with minimal changes. The changes here are timeout related, allowing us to specify longer timeouts in chrome_tests.py rather than hard coding them in the tests themselves. We'll likely have to experiment on the buildbots with different timeout values, depending on how fast the bots are. Review URL: http://codereview.chromium.org/14184 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7226 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a few bugs in purify layout test chunks:erikkay@google.com2008-12-181-2/+8
| | | | | | | | | | | | | * When the chunk number is reset, test for existence of directory rather than throwing trying to recreate it. * When the chunk directory already exists, delete existing data files so it starts clean. * Store the chunk number counter in %TEMP% so that it doesn't get reset with a clobber build. It's OK for this to be reset, but it's better if it doesn't happen that frequently. TBR=nsylvain Review URL: http://codereview.chromium.org/14844 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7213 0039d316-1c4b-4281-b951-d872f2087c98
* Increase the chunk size for layout tests (do 120 per run rather than 25). ↵erikkay@google.com2008-12-171-3/+2
| | | | | | | | | This should make each chunk take close to an hour, and thus reduce some of the per-chunk overhead. TBR=nsylvain Review URL: http://codereview.chromium.org/14178 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7123 0039d316-1c4b-4281-b951-d872f2087c98
* add new ignored errors to global purify filter:erikkay@google.com2008-12-171-0/+0
| | | | | | | | | | BUG=5108 BUG=5464 removed temporary versions of this filter from webkit stack filters git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7118 0039d316-1c4b-4281-b951-d872f2087c98
* Switch back svn:eol-style=native for .sln, .vcproj and .vsprops files.maruel@chromium.org2008-12-164-784/+784
| | | | | | | Patch fails otherwise on non-Windows platforms. Review URL: http://codereview.chromium.org/14478 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7093 0039d316-1c4b-4281-b951-d872f2087c98
* Google Chrome Channel Changer - Minor update to add stable channel, some ↵laforge@chromium.org2008-12-164-23/+40
| | | | | | | | updates to text description. Review URL: http://codereview.chromium.org/14455 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7090 0039d316-1c4b-4281-b951-d872f2087c98
* Remove version number from Python shebang.evanm@google.com2008-12-161-1/+1
| | | | | | | | On special request from someone trying to purge python2.2 from code indexed internally at Google. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7071 0039d316-1c4b-4281-b951-d872f2087c98
* Update SSL certificates.patrick@chromium.org2008-12-162-36/+76
| | | | | | Review URL: http://codereview.chromium.org/14438 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7031 0039d316-1c4b-4281-b951-d872f2087c98
* Have GRIT generate files into a common directory.tc@google.com2008-12-122-54/+58
| | | | | | | | | | | | | | | Joi has convinced me that GRIT should generate platform specific resources files. This is easier than parsing .rc files because GRIT effectively has an .rc parser. To that end, we need to convert some existing .rc files to .grd files (e.g., net_resources.rc and webkit_resources.rc). Rather than having every grd file output to a different place and -I all the different paths, have GRIT generate all files into one directory. This directory is grit_derived_sources. Review URL: http://codereview.chromium.org/13776 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6940 0039d316-1c4b-4281-b951-d872f2087c98
* Apply svn:executable to .py files which should have it.phajdan.jr@chromium.org2008-12-121-0/+1
| | | | | | Review URL: http://codereview.chromium.org/14012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6884 0039d316-1c4b-4281-b951-d872f2087c98
* Remove typo in python script.paulg@google.com2008-12-121-1/+1
| | | | | | Review URL: http://codereview.chromium.org/14021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6851 0039d316-1c4b-4281-b951-d872f2087c98
* Preliminary support for running the ui_tests under Purify.paulg@google.com2008-12-113-18/+65
| | | | | | | | | | | This current change doesn't quite work: the blocking instrumentation of chrome.dll succeeds, but when the ui_test runs, it re-instruments chrome.dll even though it exists under the same name in the instrumentation cache. Review URL: http://codereview.chromium.org/14003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6833 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for running slices of the layout tests continuously rather than ↵erikkay@google.com2008-12-101-9/+72
| | | | | | | | as one big lump. Review URL: http://codereview.chromium.org/13696 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6742 0039d316-1c4b-4281-b951-d872f2087c98
* Changed svn:eol-style of all .sln and .vcproj files to CRLFscherkus@chromium.org2008-12-044-780/+780
| | | | | | Review URL: http://codereview.chromium.org/13133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6372 0039d316-1c4b-4281-b951-d872f2087c98