~james-page/charms/trusty/openstack-dashboard/lp1531102-trunk

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Corey Bryant
  • Date: 2015-02-12 13:03:59 UTC
  • mfrom: (50.2.7 openstack-dashboard)
  • Revision ID: corey.bryant@canonical.com-20150212130359-oh6xzesh7bq8xefv
[gnuoy,r=corey.bryant] Add basic Amulet tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
PYTHON := /usr/bin/env python
3
3
 
4
4
lint:
5
 
        @flake8 --exclude hooks/charmhelpers hooks unit_tests
 
5
        @flake8 --exclude hooks/charmhelpers hooks unit_tests tests
6
6
        @charm proof
7
7
 
8
8
unit_test:
16
16
 
17
17
sync: bin/charm_helpers_sync.py
18
18
        @$(PYTHON) bin/charm_helpers_sync.py -c charm-helpers.yaml
 
19
        @$(PYTHON) bin/charm_helpers_sync.py -c charm-helpers-tests.yaml
 
20
 
 
21
test:
 
22
        @echo Starting Amulet tests...
 
23
        # coreycb note: The -v should only be temporary until Amulet sends
 
24
        # raise_status() messages to stderr:
 
25
        #   https://bugs.launchpad.net/amulet/+bug/1320357
 
26
        @juju test -v -p AMULET_HTTP_PROXY --timeout 900 \
 
27
        00-setup 14-basic-precise-icehouse 15-basic-trusty-icehouse \
 
28
        16-basic-trusty-juno
19
29
 
20
30
publish: lint test
21
31
        bzr push lp:charms/openstack-dashboard