Commit 69b2d82b by Michael DeHaan

Convert test system to use Make

parent ddf91a3d
all: non_destructive destructive # amazon rackspace
non_destructive:
ansible-playbook non_destructive.yml -i inventory -e @integration_config.yml -v $(TEST_FLAGS)
...@@ -30,18 +30,19 @@ outside of those test subdirectories. They will also not reconfigure or bounce ...@@ -30,18 +30,19 @@ outside of those test subdirectories. They will also not reconfigure or bounce
Run as follows: Run as follows:
# sh test.sh # OR make non_destructive
# ansible-playbook non_destructive.yml -i inventory -e @integration_config.yml -v $*
You can select specific tests with the --tags parameter. You can select specific tests with the --tags parameter.
TEST_FLAGS="--tags test_vars_blending" make
Destructive Tests Destructive Tests
================= =================
These tests are allowed to install and remove some trivial packages. You will likely want to devote these These tests are allowed to install and remove some trivial packages. You will likely want to devote these
to a virtual environment. They won't reformat your filesystem, however :) to a virtual environment. They won't reformat your filesystem, however :)
# ansible-playbook destructive.yml -i inventory -e @integration_config.yml -v $* make destructive
Cloud Tests Cloud Tests
=========== ===========
......
ansible-playbook non_destructive.yml -i inventory -e @integration_config.yml -v $*
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment