summaryrefslogtreecommitdiff
path: root/integration-tests/openstackclient-tip.sh
diff options
context:
space:
mode:
authorDoug Hellmann <doug.hellmann@dreamhost.com>2014-01-03 22:43:37 +0000
committerDoug Hellmann <doug.hellmann@dreamhost.com>2014-01-03 22:58:50 +0000
commit5fad56e89f4daeaeccfdcdb0210f23d94086e9e1 (patch)
treebecfe94fcef112f7a934809886c9bc2d1b546c78 /integration-tests/openstackclient-tip.sh
parent8c6c3403f065152a0b4dee6a32b274966846ea7e (diff)
downloadcliff-5fad56e89f4daeaeccfdcdb0210f23d94086e9e1.tar.gz
Add integration tests with known consumers
Run the tests of some consumers of cliff to ensure that changes being made do not break the apps or downsteam libraries. Change-Id: Ifded67608b49044cc6a0832389ad7fe825148a3c
Diffstat (limited to 'integration-tests/openstackclient-tip.sh')
-rwxr-xr-xintegration-tests/openstackclient-tip.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/integration-tests/openstackclient-tip.sh b/integration-tests/openstackclient-tip.sh
new file mode 100755
index 0000000..b24ff31
--- /dev/null
+++ b/integration-tests/openstackclient-tip.sh
@@ -0,0 +1,14 @@
+#!/bin/sh -x
+
+set -e
+
+envdir=$1
+
+# The source for the client library is checked out by pip because of
+# the deps listed in tox.ini, so we just need to move into that
+# directory.
+cd $envdir/src/openstackclient/
+
+pip install -r test-requirements.txt
+
+python setup.py testr