Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(44)

Issue 49160046: -

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 4 months ago by Marco Ceppi for realsies
Modified:
10 years, 4 months ago
Reviewers:
benjamin.saller, mp+200921
Visibility:
Public.

Description

Added support for substrate parsing in TestCfg https://code.launchpad.net/~marcoceppi/charm-tools/test-cfg/+merge/200921 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : - #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -21 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M charmtools/bundles.py View 1 chunk +0 lines, -1 line 0 comments Download
M charmtools/generate.py View 1 chunk +0 lines, -1 line 0 comments Download
M charmtools/test.py View 10 chunks +36 lines, -10 lines 3 comments Download
M charmtools/update.py View 2 chunks +2 lines, -0 lines 0 comments Download
M tests/test_juju_test.py View 10 chunks +12 lines, -9 lines 0 comments Download

Messages

Total messages: 4
Marco Ceppi for realsies
Please take a look.
10 years, 4 months ago (2014-01-08 22:51:55 UTC) #1
Marco Ceppi for realsies
Please take a look.
10 years, 4 months ago (2014-01-08 22:56:44 UTC) #2
benjamin.saller
I like what you started here and put a few comments inline. I took a ...
10 years, 4 months ago (2014-01-09 07:52:40 UTC) #3
Marco Ceppi for realsies
10 years, 4 months ago (2014-01-09 15:07:47 UTC) #4
I'll take a look at your proposal too, thanks for the review!

https://codereview.appspot.com/49160046/diff/20001/charmtools/test.py
File charmtools/test.py (right):

https://codereview.appspot.com/49160046/diff/20001/charmtools/test.py#newcode413
charmtools/test.py:413: self.substrates = {}
I agree, think of self.substrates as more self.substrate_rules where it as if
it's inclusive or not and the values for inclusive or not. It never has a
comprehensive list of _all_ substrates at any one time, it's more a parsing of
the substrate option provided in the test_config.yaml

On 2014/01/09 07:52:40, benjamin.saller wrote:
> I think while we could validate the substrates its important to note that what
> we produce from this parse is a set of rules, not a list of substrates. 
> 
> As we add substrates we want to automatically include those unless the charm
> explicitly said it only tests on one substrate (which could happen for EC2
> specific charms for example) or that it explicitly doesn't run on one (or
more)
> substrates
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b