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

Issue 10830232: Add msvs version option to gyptest. (Closed)

Created:
8 years, 4 months ago by iannucci
Modified:
8 years, 4 months ago
Reviewers:
scottmg
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

This makes it easier to test combinations of msvs version without having to muck with environment variables Committed: https://code.google.com/p/gyp/source/detail?r=1467

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -4 lines) Patch
M gyptest.py View 1 2 3 2 chunks +9 lines, -1 line 0 comments Download
M test/lib/TestGyp.py View 1 2 3 chunks +11 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
iannucci
Pretty straightforward (I hope). I've been using this change to test my other gyp+msvs changes ...
8 years, 4 months ago (2012-08-09 00:34:29 UTC) #1
scottmg
On 2012/08/09 00:34:29, iannucci wrote: > Pretty straightforward (I hope). I've been using this change ...
8 years, 4 months ago (2012-08-09 15:22:13 UTC) #2
iannucci
On 2012/08/09 15:22:13, scottmg wrote: > On 2012/08/09 00:34:29, iannucci wrote: > > Pretty straightforward ...
8 years, 4 months ago (2012-08-09 18:12:44 UTC) #3
scottmg
On 2012/08/09 18:12:44, iannucci wrote: > On 2012/08/09 15:22:13, scottmg wrote: > > On 2012/08/09 ...
8 years, 4 months ago (2012-08-09 18:22:05 UTC) #4
iannucci
Ok, modified to pass -G options through to gyp, as well as use msvs_version in ...
8 years, 4 months ago (2012-08-10 01:50:40 UTC) #5
scottmg
lgtm https://chromiumcodereview.appspot.com/10830232/diff/8002/gyptest.py File gyptest.py (right): https://chromiumcodereview.appspot.com/10830232/diff/8002/gyptest.py#newcode232 gyptest.py:232: status = cr.run([sys.executable, test]+gyp_options, spacing https://chromiumcodereview.appspot.com/10830232/diff/8002/test/lib/TestGyp.py File test/lib/TestGyp.py ...
8 years, 4 months ago (2012-08-10 16:11:46 UTC) #6
iannucci
On 2012/08/10 16:11:46, scottmg wrote: > lgtm > > https://chromiumcodereview.appspot.com/10830232/diff/8002/gyptest.py > File gyptest.py (right): > ...
8 years, 4 months ago (2012-08-10 18:30:32 UTC) #7
scottmg
8 years, 4 months ago (2012-08-10 19:09:52 UTC) #8
On 2012/08/10 18:30:32, iannucci wrote:
> On 2012/08/10 16:11:46, scottmg wrote:
> > lgtm
> > 
> > https://chromiumcodereview.appspot.com/10830232/diff/8002/gyptest.py
> > File gyptest.py (right):
> > 
> >
>
https://chromiumcodereview.appspot.com/10830232/diff/8002/gyptest.py#newcode232
> > gyptest.py:232: status = cr.run([sys.executable, test]+gyp_options,
> > spacing
> > 
> >
https://chromiumcodereview.appspot.com/10830232/diff/8002/test/lib/TestGyp.py
> > File test/lib/TestGyp.py (right):
> > 
> >
>
https://chromiumcodereview.appspot.com/10830232/diff/8002/test/lib/TestGyp.py...
> > test/lib/TestGyp.py:625: msvs_version = os.environ.get('GYP_MSVS_VERSION',
> > msvs_version)
> > Hmm, sorry. I sort of assumed we passed generator flags through here
already.
> I
> > guess it makes sense not to so that you're isolated from the environment
when
> > running tests though.
> 
> Fixed nit. Yeah it's a little messy, I guess, but since it's test scaffolding,
> it seems better to have the scaffolding be a little more complex to keep the
> tested thing simple/consistent (since we want to exercise the -G flag on gyp).


Yeah, seems fine.

> 
> Might it be worth passing the format parameter in this fashion as well?

Shrug, not too worried about it. Either way.

Powered by Google App Engine
This is Rietveld 408576698