~openstack-charmers-archive/charms/precise/swift-storage/old-1501

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: james.page at ubuntu
  • Date: 2014-07-28 11:54:32 UTC
  • mfrom: (32.1.3 swift-storage)
  • Revision ID: james.page@ubuntu.com-20140728115432-em4ntc388qe058e3
[corey.bryant,r=james-page] Add amulet tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
lint:
5
5
        @flake8 --exclude hooks/charmhelpers hooks
6
 
        @flake8 --exclude hooks/charmhelpers unit_tests
 
6
        @flake8 --exclude hooks/charmhelpers unit_tests tests
7
7
        @charm proof
8
8
 
 
9
unit_test:
 
10
        @echo Starting unit tests...
 
11
        @$(PYTHON) /usr/bin/nosetests -v --nologcapture --with-coverage unit_tests
 
12
 
9
13
test:
10
 
        @echo Starting tests...
11
 
        @$(PYTHON) /usr/bin/nosetests -v --nologcapture --with-coverage unit_tests
 
14
        @echo Starting Amulet tests...
 
15
        # coreycb note: The -v should only be temporary until Amulet sends
 
16
        # raise_status() messages to stderr:
 
17
        #   https://bugs.launchpad.net/amulet/+bug/1320357
 
18
        @juju test -v -p AMULET_HTTP_PROXY
12
19
 
13
20
sync:
14
 
        @charm-helper-sync -c charm-helpers.yaml
 
21
        @charm-helper-sync -c charm-helpers-hooks.yaml
 
22
        @charm-helper-sync -c charm-helpers-tests.yaml
15
23
 
16
24
publish: lint test
17
25
        bzr push lp:charms/swift-storage