~hatch/charms/precise/juju-gui/trunk

Viewing all changes in revision 25.

  • Committer: Francesco Banconi
  • Date: 2013-01-11 18:02:42 UTC
  • mfrom: (22.2.14 juju-gui)
  • Revision ID: francesco.banconi@canonical.com-20130111180242-6lfbpabi02snvv4x
Juju GUI source as env var + Charm test branch

This branch introduces the possibility to provide
the Juju GUI source (used in tests) by setting an
environment variable. This way the charm tests can
be run as part of the release qa process, e.g.:

$ JUJU_GUI_SOURCE=lp:mybranch jitsu test juju-gui ...

or, to test a new trunk release:

$ JUJU_GUI_SOURCE=trunk jitsu test juju-gui ...

Also updated the test exercising the process of 
making a release from a branch, i.e. when the
juju-gui-source option points to a Bazaar branch.

Now the branch used is a customized one, present in
`lp:~frankban/juju-gui/charm-tests-branch` (please 
feel free to suggest another, more sane, location, 
and please take a look at that as part of your reviews).
This is a test branch containing only a minimal
Makefile and a release tarball. There, `make distfile`
is almost a no-op, and for this reason the charm test
speed is slightly increased (~4 minutes on ec2).
Source: http://bazaar.launchpad.net/~frankban/juju-gui/charm-tests-branch/files

R=gary.poster, teknico
CC=
https://codereview.appspot.com/7102044

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: