Commit Graph

25 Commits

Author SHA1 Message Date
Aurelien Lourot 84d10161a6 Sync helpers for 20.05
Change-Id: I25d1d225f209f825e552c841e60e22c7d12ea4e3
2020-05-18 14:40:01 +02:00
Liam Young 64d3b2ce48 Tests dir no longer need copy of charmhelpers
Charmhelpers is now installed via pip for unit tests so stop
'Make sync' from pulling it down.

Change-Id: I389357dac8b39933b917cde7dc916a065d4bfccd
2018-10-10 12:40:04 +00:00
Frode Nordahl c52e9ac2ac Update repo to do ch-sync from Git
Change-Id: Idfd1979871c31ea47e83f4ac3cd39ea0ffb076ca
2017-09-26 10:20:35 +02:00
Ryan Beisner e6100d9dd5 Use bundletester for amulet test execution
Switch to using bundletester for execution of functional tests,
leveraging tox to build out test virtualenvs.

Rename amulet tests inline with gate-*, dev-* and dfs-*
naming standards.

Update README to refer to functional testing section of the charm
guide.

Change-Id: I6d9582386b77cae8a00726760dc7cead85af7527
2016-07-19 03:39:41 +00:00
Billy Olsen 843e55f0cd Use tox in Makefile targets
Modify the Makefile to point at the appropriate tox targets
so that tox and Make output can be equivalent. This involves
mapping the lint target to the pep8 target and the test target
to the py27 target.

Change-Id: Ia3875d1133ae63f62223d866fb18ab2cf061514f
2016-03-15 20:12:21 -07:00
Ryan Beisner 55f026256c Move 00-setup to prevent extra, unnecessary bootstrap in test runs. 2016-01-08 21:44:52 +00:00
Ryan Beisner 1ea16d2a4d update makefile unit test target 2015-10-06 14:39:46 +00:00
Ryan Beisner 69288412ca fix publish target in makefile 2015-06-29 18:29:39 +00:00
Ryan Beisner 01dbb884ae sync tests/charmhelpers 2015-06-23 23:52:51 +00:00
Ryan Beisner e8024e0c66 amulet test refactor 2015-06-23 23:52:07 +00:00
Ryan Beisner fb5d97b723 auto Makefile test target (amulet): bump juju test timeout to 2700s (same value as the juju-deployer default). Also remove explicit test names, which will cause all +x files in ./tests to be executed (as bundletester does by default). 2015-04-16 21:32:02 +00:00
Ryan Beisner 5245768208 auto add AMULET_OS_VIP to preserved env vars in makefile 2015-04-16 21:31:53 +00:00
James Page 9962b569e0 [coreycb,r=james-page] Add deploy from source support. 2015-04-16 20:49:27 +01:00
Corey Bryant 994e29fd27 Deploy from source 2015-04-02 12:13:45 +00:00
Corey Bryant 6a427372de Overall refresh to current install from source approach 2015-03-21 02:18:45 +00:00
Corey Bryant 05d6b57348 Amulet test fixes:
* Makefile:
    - Run flake8 on tests dir
    - Only run precise-icehouse and trusty-icehouse tests by default
      and increase test timeout
    - Fix charm-helpers sync target
  * t/00-setup: Simplify dependencies install
  * t/README: Mention charm-tools dependency
  * t/basic_deployment.py:
    - Turn off debugging (OpenStackAmuletUtils(ERROR))
    - Specify unstable charm deployment
    - Use dicts in add_services
    - Rename restart test
    - Cleanup on restart test failure
    - Drop fake fail debug function
2014-10-07 18:32:59 +00:00
James Page 4a67401c8d [beisner,r=james-page] Add amulet tests - w00t! 2014-10-06 22:50:53 +01:00
Ryan Beisner 3ffa92bcae add basic amulet tests; update Makefile publish and *test targets 2014-07-31 15:27:14 +00:00
Ryan Beisner 04f6e35c7b Move charm-helpers.yaml to charm-helpers-hooks.yaml, add charm-helpers-tests.yaml, update Makefile sync target. 2014-07-28 14:38:09 +00:00
James Page 730b876845 Resync helpers for mysql changes 2014-07-02 09:07:17 +01:00
James Page a251fd18c8 [trivial] Update publish target to lint + test first 2014-05-21 11:11:37 +01:00
James Page c26783373e [trivial] Add publish target to makefile 2014-05-02 10:40:27 +01:00
James Page bfbf3eaa09 [yolanda] Add support for postgresql
Refactor templates to use includes.
2014-03-31 12:11:01 +01:00
James Page b1e99b7e88 Improve unit testing coverage 2013-10-19 17:58:37 +01:00
Adam Gandelman fb49349776 Merging python-redux and havana work. 2013-10-17 14:48:08 -07:00