300 Commits

Autor SHA1 Mensagem Data
nirnimesh@chromium.org 5c291a9aed Point to correct app test binary
TBR=thomasvl
Review URL: http://codereview.chromium.org/149451

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20372 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-10 09:55:29 +00:00
stuartmorgan@chromium.org e5a0c0a2fd Make sure we end up with an executable binary when juggling stripped binaries and fake dSYMs.
Review URL: http://codereview.chromium.org/155305

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20305 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-09 20:12:59 +00:00
nirnimesh@chromium.org 4c2d3c905f Support running app_unittests under Valgrind
Review URL: http://codereview.chromium.org/155216

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20290 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-09 18:42:05 +00:00
dkegel@google.com 258b552d62 Add more suppressions, adapt more to work on hardy (and not just jaunty), fix the whitespace problem (again?!)
BUG=10737,10737,16129,16153,16156,16161,16324,16326
TEST=watch linux ui valgrind test bot go greener


Review URL: http://codereview.chromium.org/155196

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20262 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-09 15:58:36 +00:00
stuartmorgan@chromium.org ca376211b7 Add temporary suppressions for a couple of newly-file Mac leaks.
BUG=16209,16210
TEST=somewhat happier Mac UI valgrind bots
Review URL: http://codereview.chromium.org/155232

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20189 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 21:24:31 +00:00
eroman@chromium.org d58e543dbf Fix a leak of the new location GURL by NotificationTask when doing a redirect.
The problem is scoped_ptr<ResourceRequestDetails> is used to delete an instance of ResourceRedirectDetails, however the base class's destructor is non-virtual, so ResourceRedirectDetails extra field (GURL new_url_) does not get torn down properly.

Note that the blame callstacks in the bug report appear unrelated, because std::string is doing some fancy refcounting under the hood. So as GURLs get passed around, they take over the GURL::spec's memory that got allocated earlier by the network stack.

BUG=http://crbug.com/10873
TEST=The "RedirectTest.*" ui tests when run on linux valgrind bots should show no leaks

Review URL: http://codereview.chromium.org/155204

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20179 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 19:03:29 +00:00
stuartmorgan@chromium.org 3b0f285bf0 Shuffle the Mac valgind suppressions around a bit to match the other suppression file format. No actual changes to the suppressions except to get rid of a name duplication.
BUG=none
TEST=Mac valgrind bots should be unchanged.
Review URL: http://codereview.chromium.org/155225

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20176 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 18:35:43 +00:00
thestig@chromium.org 05fe2add74 Remove svn:executable property from files that don't need it.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/155199

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20161 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 17:39:27 +00:00
stuartmorgan@chromium.org b5f3f2392d Add a suppression for a leak the Mac UI tests get when plugins are first loaded.
BUG=none
TEST=Fewer leaks on the Mac valgrind UI test bots
Review URL: http://codereview.chromium.org/155190

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20156 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-08 16:52:52 +00:00
dank@chromium.org 97032d4532 Fix subtle whitespace problem. Lesson: never copy and paste a suppression
from a web page, and always run it through valgrind once no matter
how perfect it is visually.

Review URL: http://codereview.chromium.org/149271

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20065 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-07 19:42:19 +00:00
dank@chromium.org 53bd373f87 Rejigger a few suppressions to fire properly on the buildbots.
BUG=16096, 10737, 10738
TEST=watch the linux ui buildbots for valgrind warnings; this should make several go away

Review URL: http://codereview.chromium.org/155152

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20050 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-07 18:38:48 +00:00
jrg@chromium.org ffde089063 Beginning of code coverage on Windows.
Review URL: http://codereview.chromium.org/155123

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20045 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-07 18:20:53 +00:00
dank@chromium.org c30e34bd41 Widen a couple suppressions, add a few more.
TEST=none
BUG=12863,16093,16102,16103,16104

Review URL: http://codereview.chromium.org/155144

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20036 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-07 17:21:51 +00:00
dank@chromium.org 61763bf36f Suppress a wad of valgrind warnings that happen in nearly every ui test.
BUG=12863,16089,16091,16092,16093,16095,16096
TEST=run tools/valgrind/chrome_tests.sh -t ui and see many fewer warnings

Review URL: http://codereview.chromium.org/149250

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20025 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-07 14:10:29 +00:00
dank@chromium.org a13fa38fa4 Fix tools/valgrind/chrome_tests.sh to always use --log-file option
so fork() doesn't corrupt log files; lets --generate_suppressions 
work even with the hacky valgrind fix that makes anything but --log-file
crash on child of fork().

Also avoid killing user desktop session if zygote dies!

BUG=none, but related to fix for http://crbug.com/15771
TEST=patch valgrind with fork workaround; sh tools/valgrind/chrome_tests.sh --generate_suppressions -t ui logs you out on linux without this.

Review URL: http://codereview.chromium.org/155130

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20024 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-07 14:00:59 +00:00
deanm@chromium.org f14f62b91f Add the README.chromium for the symbol and source server scripts.
Review URL: http://codereview.chromium.org/155139


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20023 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-07 13:44:51 +00:00
deanm@chromium.org d8f26273eb Add the symbol and source server scripts.
Review URL: http://codereview.chromium.org/155136


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20022 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-07 13:42:24 +00:00
nirnimesh@chromium.org dce2a95987 Disable IPCSyncChannelTest.* under Valgrind
Times out too often under Valgrind on Mac
Tracking bug: crbug.com/15817

Review URL: http://codereview.chromium.org/150218

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19846 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-02 20:48:10 +00:00
nirnimesh@chromium.org b46ecf0994 Suppress valgrind errors in Apple libraries
TEST=check Mac valgrind bot
BUG=15819

Review URL: http://codereview.chromium.org/149129

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19831 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-02 19:48:14 +00:00
ojan@google.com 776017a250 Fix the suppression using the output from valgrind.
TBR=jorlow
TEST=none
BUG=15762
Review URL: http://codereview.chromium.org/151175

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19774 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-01 22:02:50 +00:00
ojan@google.com 3e856b1b50 Add bug number now that the issue tracker is back up.
TBR=jorlow
TEST=none
BUG=15762
Review URL: http://codereview.chromium.org/150173

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19750 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-01 18:42:38 +00:00
ojan@google.com 76d2501073 Suppress valgrind error that started with r19701, which
enabled the ImageOperations test.

This should be fixed eventually, but suppressing it now
to get the build green since it's not a regression.

TEST=none
BUG=Issue tracker is down
Review URL: http://codereview.chromium.org/150172

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19748 0039d316-1c4b-4281-b951-d872f2087c98
2009-07-01 18:29:39 +00:00
jrg@chromium.org ee7eeabcaa Fix for
http://build.chromium.org/buildbot/waterfall/builders/Modules%20Mac%20(valgrind)/builds/1303/steps/valgrind%20test:%20unit/logs/stdio

Review URL: http://codereview.chromium.org/151107

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19666 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-30 22:08:32 +00:00
cmp@google.com 696197a949 Add common page_cycler and checkout acid3 cycler.
These common files are used by page cyclers to provide a
standard JS test harness and report base.

Add acid3 page cycler to chromium checkout.

Review URL: http://codereview.chromium.org/151053

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19564 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-30 00:12:53 +00:00
dkegel@google.com 25e368c384 Widen /lib/ld.so suppression to match on 64 bit systems.
BUG=none
TEST="make -r base_unittests; sh tools/valgrind/chrome-tests.sh -t base_unittests" on 64 bit ubuntu and verify no valgrind warnings from ld-*.so

Review URL: http://codereview.chromium.org/147254

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19497 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-29 17:47:03 +00:00
dkegel@google.com 2f7e030d10 Teach the valgrind and layout tests about the output directory used by the Make build on Linux
BUG=http://crbug.com/15454
TEST=export GYP_GENERATORS=make; rm -rf sconsbuild; gclient runhooks --force; make -r base_unittests layout_tests; sh tools/valgrind/chrome_tests.sh -t base_unittests; verify that it finds and runs base_unittests; same thing with -t layout_tests

Review URL: http://codereview.chromium.org/147209

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19453 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-27 02:07:51 +00:00
stuartmorgan@chromium.org e83ab30159 Add a framework leak suppression on the Mac.
Already filed with Apple.

BUG=none
TEST=fewer leaks reported from the UI tests under valgrind on Mac
Review URL: http://codereview.chromium.org/146115

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19195 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-24 23:18:12 +00:00
jrg@chromium.org 34249e18dc Fix Linux code coverage.
Review URL: http://codereview.chromium.org/141016

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18921 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-22 18:31:49 +00:00
stuartmorgan@chromium.org 5e7b73e9ad Add a switch to allow longer shutdown timeouts, since quitting under valgrind is very slow on the Mac.
BUG=none
TEST=Most/all of the UI tests should pass on the Mac when run under valgrind.
Review URL: http://codereview.chromium.org/140008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18849 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-19 20:49:40 +00:00
sgk@google.com a240d04543 Instead of try:-except:-finally:, use nested try:-except: within
try:-finally: so builds will work without forced upgrades to Python 2.5.
BUG=12818
TEST=successful build
Review URL: http://codereview.chromium.org/140005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18848 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-19 20:44:08 +00:00
stuartmorgan@chromium.org 2363886e9e Add a suppression for couple of valgrind warnings in OpenGL.framework initialization.
BUG=none
TEST=Run ui_tests under valgrind; see fewer warning that we can't fix.
Review URL: http://codereview.chromium.org/131081

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18824 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-19 17:31:49 +00:00
tony@chromium.org 1854e08e75 Add a small untility for checking to see if the X server is alive.
This will be used by the buildbots after Xvfb is executated to make sure that Xvfb is alive.

Review URL: http://codereview.chromium.org/126165


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18549 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-16 22:44:58 +00:00
willchan@chromium.org a5601bdf2c Remove valgrind suppression for BrowserWindowGtk::ConnectAccelerators().
BUG=http://crbug.com/10737

Review URL: http://codereview.chromium.org/118491

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18422 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-15 20:05:16 +00:00
nsylvain@chromium.org 75846d58a2 Return 88 instead of -88 from the purify scripts since
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
2009-06-12 14:56:41 +00:00
nirnimesh@chromium.org 757e16abf6 Increase valgrind's --num-callers to 50
Review URL: http://codereview.chromium.org/119445

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18162 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-11 13:30:07 +00:00
nsylvain@chromium.org d22eb250c2 Add MOZ_Z_deflate to the known filter for UMR in purify.
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
2009-06-09 19:54:04 +00:00
nirnimesh@chromium.org 19234aba7d Fix suppression with PNGEncoder::EncodeBGRASkBitmap()
BUG=12640

Review URL: http://codereview.chromium.org/119354

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17950 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-09 17:01:09 +00:00
kuchhal@chromium.org 5216a39e23 Trying to re-land r17758 (http://codereview.chromium.org/118247) but with name installer_util_unittests instead of util_unittests.
BUG=12849

Review URL: http://codereview.chromium.org/119322

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17916 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-09 00:29:17 +00:00
deanm@chromium.org 36303a6a1a Some improvements and bug fixes to traceline.
SVG UI:
  - Fix some TODOs about clipping SVG objects to the scene.  This fixes bugs
    where a rectangle is too large and not displayed at all.
  - Fix the calculation of the thread endms done time.  This fixes the thread
    gray background not being drawn for the full length of the thread.

Traceline tracer:
  - Enable PatchCreateThread on XP.  This fixes not having the thread creation
    information output in the JSON files on XP.  Still doesn't work on Vista.
  - Print the manual-quit message to stderr, so it doesn't end up in the JSON.
  - Cast a symbol API callback to compile with both older and newer SDKs.
  - Add two small scripts for breaking apart large JSON files into smaller
    pieces, so that the Python tools can handle processing the smaller files.

Review URL: http://codereview.chromium.org/118377


git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17859 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-08 14:58:14 +00:00
nsylvain@chromium.org b36fd2b093 Change one more -88 to 88
Review URL: http://codereview.chromium.org/118361

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17829 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-06 13:00:54 +00:00
glen@chromium.org 11f68205e1 Re-Retry. This is the change from hell.
Revert DCHECKs to what they used to be - turns out a bunch of stuff in the code depended on input.empty() == true.

---

I believe the code (with your width() * bbp fix) is correct.

The UMR errors occur when the source image contain alpha. I believe the issue
comes from webkit glue image decoder, and the reason this only started
triggering valgrind errors is that the old ones were masked by the change
detailed in bug 12640

Also adds valgrind suppression for the new code.

TBR=Nick
BUG=12891,12640
TEST=none

Review URL: http://codereview.chromium.org/119271

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17811 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-06 00:43:00 +00:00
glen@chromium.org 71f2ff3ce3 Revert pngencoder changes.
BUG=none
TEST=none

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17803 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-05 23:57:59 +00:00
glen@chromium.org b0da1b3a42 Retry. I believe the code (with your width() * bbp fix) is correct.
The UMR errors occur when the source image contain alpha. I believe the issue comes from webkit glue image decoder, and the reason this only started triggering valgrind errors is that the old ones were masked by the change detailed in bug 12640

Also adds valgrind suppression for the new code.

BUG=12891,12640
TEST=none

Review URL: http://codereview.chromium.org/118297

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17792 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-05 23:03:34 +00:00
jrg@chromium.org 18f348c4d5 Add unit_tests (Chrome browser unit tests) to Mac/Linux coverage.
Minor fixes to coverage related scripts.

Review URL: http://codereview.chromium.org/118298

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17785 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-05 22:47:32 +00:00
rspangler@google.com f12b200a12 Add example .croc file.
Review URL: http://codereview.chromium.org/119209

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17776 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-05 21:47:35 +00:00
sgk@chromium.org 598b7c4b39 Convert to gyp generation of chrome_resources and chrome_strings.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/119128

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17609 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-04 05:45:18 +00:00
sgk@chromium.org 24f64c575a Revert last checkin to fix resources in Release builds.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/119075

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17468 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-03 06:21:25 +00:00
sgk@chromium.org 130f6accd7 Convert to gyp generation of chrome_resources and chrome_strings.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/119061

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17467 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-03 05:41:00 +00:00
aa@chromium.org 1400c254f7 Broaden valgrind supression for known issue in zlib. This seems ok because this code changes infrequently.
Re-enable zip unit tests on mac.

Review URL: http://codereview.chromium.org/118087

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17369 0039d316-1c4b-4281-b951-d872f2087c98
2009-06-01 23:41:37 +00:00
rspangler@google.com 04f1e2df66 Forgot the CSS file.
Review URL: http://codereview.chromium.org/118034

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17249 0039d316-1c4b-4281-b951-d872f2087c98
2009-05-29 22:14:09 +00:00