Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1641)

Issue 9949032: Read in gtest_exclude files before running ASAN. (Closed)

Created:
8 years, 8 months ago by Lei Zhang
Modified:
8 years, 8 months ago
CC:
chromium-reviews, nsylvain+cc_chromium.org, cmp+cc_chromium.org, Mark Seaborn
Visibility:
Public.

Description

Read in gtest_exclude files before running ASAN. BUG=122219 TEST=none

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -0 lines) Patch
M scripts/slave/runtest.py View 3 chunks +51 lines, -0 lines 2 comments Download

Messages

Total messages: 8 (0 generated)
Lei Zhang
8 years, 8 months ago (2012-04-05 21:53:15 UTC) #1
Lei Zhang
Test run with locally modified runtest.py here: http://build.chromium.org/p/chromium.memory/builders/ASAN%20Tests%20%282%29/builds/6093
8 years, 8 months ago (2012-04-05 21:53:37 UTC) #2
Timur Iskhodzhanov
-me +glider
8 years, 8 months ago (2012-04-06 07:03:24 UTC) #3
Alexander Potapenko
LGTM with nits. BTW do we need something like this for the regular bots? https://chromiumcodereview.appspot.com/9949032/diff/1/scripts/slave/runtest.py ...
8 years, 8 months ago (2012-04-06 07:32:52 UTC) #4
Reid Kleckner
Is this necessary? You can already change the source to disable the test conditionally on ...
8 years, 8 months ago (2012-04-06 15:46:18 UTC) #5
Alexander Potapenko
On 2012/04/06 15:46:18, Reid Kleckner wrote: > Is this necessary? > > You can already ...
8 years, 8 months ago (2012-04-06 16:19:20 UTC) #6
Reid Kleckner (google)
On Fri, Apr 6, 2012 at 9:19 AM, <glider@chromium.org> wrote: > On 2012/04/06 15:46:18, Reid ...
8 years, 8 months ago (2012-04-06 16:40:43 UTC) #7
Lei Zhang
8 years, 8 months ago (2012-04-06 20:53:41 UTC) #8
On 2012/04/06 16:40:43, Reid Kleckner (google) wrote:
> On Fri, Apr 6, 2012 at 9:19 AM, <mailto:glider@chromium.org> wrote:
> 
> > On 2012/04/06 15:46:18, Reid Kleckner wrote:
> >
> >> Is this necessary?
> >>
> >
> >  You can already change the source to disable the test conditionally on the
> >> ADDRESS_SANITIZER macro:
> >>
> >
> > http://code.google.com/**searchframe#OAMlx_jo-ck/src/**
> > base/process_util_unittest.cc&**exact_package=chromium&q=**
> >
>
address_sanitizer&l=227<http://code.google.com/searchframe#OAMlx_jo-ck/src/base/process_util_unittest.cc&exact_package=chromium&q=address_sanitizer&l=227>
> >
> >  ifdefs are ugly but they also live with the source, which means they're
> >> more
> >> likely to get noticed and fixed.
> >>
> >
> > We currently have the same gtest machinery for the rest of memory bots.
> > The advantage is that enabling/disabling the tests does not require
> > recompilation. The disadvantage is that the devs will be required to pass
> > these
> > gtest_flags manually if they run the tests locally.
> > After thinking for a while, I think you are right: it's better to have the
> > same
> > setup for the developers.
> >
> 
> Good point.
> 
> The memory waterfall exclusion mechanism also tends to rot.  Often devs
> will write a new test case using the same techniques that make the excluded
> test case incompatible with the tool and not update the exclusions, leading
> to more redness.
> 
> Or they'll delete or rename the test and the exclusions stay behind.
>  Consider all the ui_tests jam@ has recently converted to browser_tests, I
> bet we still have exclusions for those.
> 
> Reid

In that case, I'll retract this CL and use the ADDRESS_SANITIZER macro instead.

Powered by Google App Engine
This is Rietveld 408576698