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

Issue 54870043: Don't bootstrap for non-executable tests

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 3 months ago by bcsaller
Modified:
10 years, 3 months ago
Reviewers:
Marco Ceppi, mp+202400
Visibility:
Public.

Description

Don't bootstrap for non-executable tests This makes an effort to skip tests that can't exec. It does change the policy that tests that expect to execute must be executable, but we don't know the interpreter w/o that anyway. This also moves the find_test tests from being all mocks to using real code which is a win IMO. https://code.launchpad.net/~bcsaller/charm-tools/test-minimal-working-set/+merge/202400 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Don't bootstrap for non-executable tests #

Patch Set 3 : Don't bootstrap for non-executable tests #

Patch Set 4 : Don't bootstrap for non-executable tests #

Patch Set 5 : Don't bootstrap for non-executable tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -46 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M charmtools/test.py View 4 chunks +24 lines, -20 lines 0 comments Download
M tests/test_juju_test.py View 3 chunks +32 lines, -26 lines 0 comments Download
A tests_functional/charms/test/tests/00_setup View 1 chunk +2 lines, -0 lines 0 comments Download
A tests_functional/charms/test/tests/helper.bash View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 3
bcsaller
Please take a look.
10 years, 3 months ago (2014-01-21 06:08:01 UTC) #1
Marco Ceppi
On 2014/01/21 06:08:01, bcsaller wrote: > Please take a look. LGTM +1
10 years, 3 months ago (2014-01-21 15:33:48 UTC) #2
bcsaller
10 years, 3 months ago (2014-01-21 16:38:12 UTC) #3
*** Submitted:

Don't bootstrap for non-executable tests

This makes an effort to skip tests that can't exec. It does
change the policy that tests that expect to execute must 
be executable, but we don't know the interpreter w/o that
anyway.

This also moves the find_test tests from being all mocks
to using real code which is a win IMO.

R=Marco Ceppi
CC=
https://codereview.appspot.com/54870043
Sign in to reply to this message.

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