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

Issue 8283033: Make sure we cleanup what was generated by the architecture. (Closed)

Created:
9 years, 2 months ago by ngeoffray
Modified:
9 years, 2 months ago
Reviewers:
zundel
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Make sure we cleanup what was generated by the architecture. Committed: https://code.google.com/p/dart/source/detail?r=440

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M tools/testing/architecture.py View 1 chunk +0 lines, -1 line 0 comments Download
M tools/testing/test_case.py View 1 chunk +4 lines, -0 lines 4 comments Download

Messages

Total messages: 5 (0 generated)
ngeoffray
9 years, 2 months ago (2011-10-14 13:53:57 UTC) #1
zundel
http://codereview.chromium.org/8283033/diff/1/tools/testing/test_case.py File tools/testing/test_case.py (right): http://codereview.chromium.org/8283033/diff/1/tools/testing/test_case.py#newcode159 tools/testing/test_case.py:159: if not self.context.keep_temporary_files: What do you think about moving ...
9 years, 2 months ago (2011-10-14 13:57:22 UTC) #2
ngeoffray
http://codereview.chromium.org/8283033/diff/1/tools/testing/test_case.py File tools/testing/test_case.py (right): http://codereview.chromium.org/8283033/diff/1/tools/testing/test_case.py#newcode159 tools/testing/test_case.py:159: if not self.context.keep_temporary_files: On 2011/10/14 13:57:22, zundel wrote: > ...
9 years, 2 months ago (2011-10-14 14:08:39 UTC) #3
zundel
lgtm http://codereview.chromium.org/8283033/diff/1/tools/testing/test_case.py File tools/testing/test_case.py (right): http://codereview.chromium.org/8283033/diff/1/tools/testing/test_case.py#newcode159 tools/testing/test_case.py:159: if not self.context.keep_temporary_files: On 2011/10/14 14:08:39, ngeoffray wrote: ...
9 years, 2 months ago (2011-10-14 14:13:02 UTC) #4
ngeoffray
9 years, 2 months ago (2011-10-14 14:25:06 UTC) #5
Thanks Eric!

http://codereview.chromium.org/8283033/diff/1/tools/testing/test_case.py
File tools/testing/test_case.py (right):

http://codereview.chromium.org/8283033/diff/1/tools/testing/test_case.py#newc...
tools/testing/test_case.py:159: if not self.context.keep_temporary_files:
On 2011/10/14 14:13:02, zundel wrote:
> On 2011/10/14 14:08:39, ngeoffray wrote:
> > On 2011/10/14 13:57:22, zundel wrote:
> > > What do you think about moving this method to TestCase.Cleanup and sharing
> > code
> > > with StandardTestCase.
> > > 
> > > We can test for the presence of run_arch with:
> > > 
> > > if run_arch in self and not self.context.keep_temporary_files:
> > >  ...
> > 
> > I'd rather not touch TestCase. The run_arch kind of looks like detail to me,
> > which TestCase should not deal with. Would you prefer an class in between
> > TestCase and all the other test cases?
> 
> No, I don't think adding a class in between would be much good just for this
one
> case. 
> 
> 

OK, committing then. If it turns out there are too many things that can be
shared in TestCase, we can reconsider.

Powered by Google App Engine
This is Rietveld 408576698