summaryrefslogtreecommitdiff
path: root/openstack
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2015-09-11 15:11:06 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2015-09-11 15:34:21 +0100
commita9d45a4321b797326e1ceb4c4a1150555ffbc5f9 (patch)
tree806f819d028d25c93dff08ee670654c681b87601 /openstack
parent365695cba3060e54c6724ddf68388e8142534e0a (diff)
downloadciat-tester-a9d45a4321b797326e1ceb4c4a1150555ffbc5f9.tar.gz
Allow selection of testing backend.
Diffstat (limited to 'openstack')
-rwxr-xr-xopenstack/do-tests.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/openstack/do-tests.sh b/openstack/do-tests.sh
new file mode 100755
index 0000000..a615711
--- /dev/null
+++ b/openstack/do-tests.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+# Config
+OS_TEST_SCRIPT="openstack/tester"
+OS_NET_ID="b635e4b7-40f2-4ca2-8d35-644c479f6ba6"
+OS_FLAVOUR="dc1.1x2"
+
+# Inputs
+FILE=$1
+shift
+TEST_FILES=$@
+
+# Run the test
+echo "Running: $OS_TEST_SCRIPT --net-id $OS_NET_ID --flavour $OS_FLAVOUR --image-file $FILE $TEST_FILES"
+"$OS_TEST_SCRIPT" \
+ --net-id "$OS_NET_ID" \
+ --flavour "$OS_FLAVOUR" \
+ --image-file "$FILE" \
+ $TEST_FILES