summaryrefslogtreecommitdiffstats
path: root/tools/purify
Commit message (Collapse)AuthorAgeFilesLines
* Run the unit tests in 5 chunks instead of just 1.nsylvain@chromium.org2009-09-252-8/+50
| | | | | | | BUG:19833 Review URL: http://codereview.chromium.org/212040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27244 0039d316-1c4b-4281-b951-d872f2087c98
* handle "Purify" build dir in addition to "Release" and "Debug"erikkay@chromium.org2009-09-121-21/+60
| | | | | | Review URL: http://codereview.chromium.org/204003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26086 0039d316-1c4b-4281-b951-d872f2087c98
* Change the purify tests to run with the default memory allocatornsylvain@chromium.org2009-09-121-0/+4
| | | | | | | | | | instead of tcmalloc. BUG=21432 Review URL: http://codereview.chromium.org/192081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26083 0039d316-1c4b-4281-b951-d872f2087c98
* Write layout test output to chunk dir to enable a purify dashboard to be ↵erikkay@chromium.org2009-09-111-4/+7
| | | | | | | | | | possible. (it can now see which tests were run each chunk) BUG=18475 Review URL: http://codereview.chromium.org/173595 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26024 0039d316-1c4b-4281-b951-d872f2087c98
* Add license information to our shell scripts.agl@chromium.org2009-08-251-0/+4
| | | | | | | | | | Downstream packagers are (rightly) careful about the license of code that they distribute and so we want to dot our i's. http://codereview.chromium.org/174372 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24311 0039d316-1c4b-4281-b951-d872f2087c98
* Use $PROGRAMFILES instead of "C:\Program Files\".pkasting@chromium.org2009-07-221-1/+3
| | | | | | Review URL: http://codereview.chromium.org/159241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21339 0039d316-1c4b-4281-b951-d872f2087c98
* When --gtest_filter is specified, we need to ignore the batch index, ↵erikkay@google.com2009-07-221-0/+4
| | | | | | | | | | | | | otherwise you wind up being unable to run your specific test. BUG=none TEST=none TBR=huanr Review URL: http://codereview.chromium.org/159195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21274 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce number of slices when running UI tests under purifyhuanr@chromium.org2009-07-171-2/+2
| | | | | | | | | BUG=16006 TEST=none. Review URL: http://codereview.chromium.org/149794 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20956 0039d316-1c4b-4281-b951-d872f2087c98
* Running UI tests with slices under purify.huanr@chromium.org2009-07-141-1/+61
| | | | | | | | | BUG=16006 TEST=none. Review URL: http://codereview.chromium.org/149600 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20632 0039d316-1c4b-4281-b951-d872f2087c98
* Return 88 instead of -88 from the purify scripts sincensylvain@chromium.org2009-06-122-2/+2
| | | | | | | | | | the magic value in buildbot changed. TEST=Buildbot will turn orange if there is a warning BUG=None Review URL: http://codereview.chromium.org/126048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18270 0039d316-1c4b-4281-b951-d872f2087c98
* Add MOZ_Z_deflate to the known filter for UMR in purify.nsylvain@chromium.org2009-06-091-0/+0
| | | | | | | | BUG=13695 TEST=None Review URL: http://codereview.chromium.org/119374 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17969 0039d316-1c4b-4281-b951-d872f2087c98
* Change one more -88 to 88nsylvain@chromium.org2009-06-061-1/+1
| | | | | | Review URL: http://codereview.chromium.org/118361 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17829 0039d316-1c4b-4281-b951-d872f2087c98
* Small fix for cases where the data or report dirs are not specified.mad@google.com2009-05-281-0/+1
| | | | | | | | BUG=none TEST=We should run those scripts with and without the optional arguments :-) git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17088 0039d316-1c4b-4281-b951-d872f2087c98
* Fix timeout when not detacheddkegel@google.com2009-05-061-4/+12
| | | | | | | | Also fix how timeout kills subprocess on Linux and Mac Review URL: http://codereview.chromium.org/115042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15466 0039d316-1c4b-4281-b951-d872f2087c98
* Redirecting buildbots to use v8_shell.exe instead of v8_shell_sample.exebradnelson@google.com2009-04-061-3/+2
| | | | | | Review URL: http://codereview.chromium.org/62049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13151 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for running the v8 tests under Purify.erikkay@google.com2009-03-191-29/+53
| | | | | | Review URL: http://codereview.chromium.org/50019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12128 0039d316-1c4b-4281-b951-d872f2087c98
* Add hanging test to Purify gtest filter file. Report location of filter filepam@chromium.org2009-03-111-0/+1
| | | | | | | | | | in Purify script, for convenience. BUG=7810 TEST=covered by buildbot Review URL: http://codereview.chromium.org/42082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11463 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes CRLF and trailing white spaces.maruel@chromium.org2009-03-058-77/+77
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10982 0039d316-1c4b-4281-b951-d872f2087c98
* Submitting nirnimesh's changes.jrg@chromium.org2009-02-271-5/+3
| | | | | | | | | LGTMed by Elliot Glaysher. See http://codereview.chromium.org/27079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10552 0039d316-1c4b-4281-b951-d872f2087c98
* Add diagnostic information to help track down why the Purify layout testspam@chromium.org2009-02-221-0/+9
| | | | | | | | | | | | are occasionally hanging and can't be killed. TBR=erikkay BUG=7834 TEST=none Review URL: http://codereview.chromium.org/27039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10156 0039d316-1c4b-4281-b951-d872f2087c98
* In addition to printing to stdout, also log bug report and summary data to a ↵erikkay@google.com2009-02-112-36/+65
| | | | | | | | file in the report dir. Review URL: http://codereview.chromium.org/20166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9590 0039d316-1c4b-4281-b951-d872f2087c98
* Fix purify scripts to output data into the correct directory when running ↵erikkay@google.com2009-02-111-13/+20
| | | | | | | | | | | layout tests. Change layout tests to mark builder as orange on failure (BUG=7516). Review URL: http://codereview.chromium.org/21161 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9589 0039d316-1c4b-4281-b951-d872f2087c98
* Periodically log while waiting for subprocess to complete so that the bot ↵erikkay@google.com2009-02-111-26/+37
| | | | | | | | | | doesn't kill us when we're taking a long time. Also clean up the subprocess wait loop. BUG=7514 Review URL: http://codereview.chromium.org/20165 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9588 0039d316-1c4b-4281-b951-d872f2087c98
* With the latest purify patch, an existing filter (for a benign bzip2 UMR) ↵erikkay@google.com2009-02-091-0/+0
| | | | | | | | | | that had a filename match of blocksort.c stopped working. To get it to work I had to change it to *\blocksort.c. TBR=none Review URL: http://codereview.chromium.org/20167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9377 0039d316-1c4b-4281-b951-d872f2087c98
* Allow purify scripts to take a --report_dir argument which specifies where ↵erikkay@google.com2009-02-063-28/+76
| | | | | | | | | the output data is written to. Also, add a --buildbot flag which will default the report_dir to a specific directory on chrome-web. Review URL: http://codereview.chromium.org/20097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9286 0039d316-1c4b-4281-b951-d872f2087c98
* A few minor tweaks to Purify options that should allow us to enable a few ↵erikkay@google.com2009-02-052-3/+16
| | | | | | | | tests that were previously disabled as well as dealing with a few occasional hangs and crashes. Review URL: http://codereview.chromium.org/23006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9228 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
* 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
* 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
* 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
* 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
* 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
* 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
* Update build files to use PSDK 6.1 (platformsdk_win2008_6_1). This is ↵jungshik@google.com2008-12-311-1/+1
| | | | | | | | | | | | | | | | | 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-301-1/+1
| | | | | | | | 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-301-1/+1
| | | | | | | | | | | 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
* 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
* 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
* 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
* Fix a bogus net_unittests purify error caused by a stack change to ↵erikkay@google.com2008-10-311-0/+0
| | | | | | | | | | | file_util::ShellCopy. BUG=http://code.google.com/p/chromium/issues/detail?id=3959 TBR=evanm Review URL: http://codereview.chromium.org/8977 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4324 0039d316-1c4b-4281-b951-d872f2087c98
* For the filter "Chrome Ignore > IPR_delayLoadHelper2 (winsock2 dll load)",wtc@google.com2008-10-091-0/+0
| | | | | | | | | | | | change the match criterion (range of the function's offset from the top in the call stack) from "1-2" to "0-2" because the new HTTP stack generates a call stack with the function _tailMerge_WS2_32_dll at the top. TBR=pamg BUG=b/1101168 Review URL: http://codereview.chromium.org/7003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3101 0039d316-1c4b-4281-b951-d872f2087c98
* Move SQLite from src/chrome/third_party to src/third_partyaa@google.com2008-08-301-1/+1
| | | | | | | since it will be shared with WebCore and Gears in the future. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1586 0039d316-1c4b-4281-b951-d872f2087c98