~openstack-charmers-next/charms/vivid/neutron-api-odl/trunk

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Ryan Beisner
  • Date: 2015-11-12 19:04:08 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: ryan.beisner@canonical.com-20151112190408-a03ws21wje2nu7ct
Update Makefile target names for consistency with other os-charms and bundletester;  Fix charm proof issues (add copyright, icon and readme files).  README.md will still need content.

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 tests
 
5
        @flake8 --exclude hooks/charmhelpers,tests/charmhelpers \
 
6
        hooks unit_tests tests
6
7
        @charm proof
7
8
 
8
 
unit_test:
 
9
test:
 
10
        @# Bundletester expects unit tests here.
9
11
        @echo Starting tests...
10
12
        @$(PYTHON) /usr/bin/nosetests --nologcapture unit_tests
11
13
 
 
14
functional_test:
 
15
        @echo Starting Amulet tests...
 
16
        @tests/setup/00-setup
 
17
        @juju test -v -p AMULET_HTTP_PROXY,AMULET_OS_VIP --timeout 2700
 
18
 
12
19
bin/charm_helpers_sync.py:
13
20
        @mkdir -p bin
14
21
        @bzr cat lp:charm-helpers/tools/charm_helpers_sync/charm_helpers_sync.py \
17
24
sync: bin/charm_helpers_sync.py
18
25
        @$(PYTHON) bin/charm_helpers_sync.py -c charm-helpers-hooks.yaml
19
26
        @$(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,AMULET_OS_VIP --timeout 2700