summaryrefslogtreecommitdiffstats
path: root/tests/run.sh
diff options
context:
space:
mode:
authorUlas Kozat <ulas.kozat@gmail.com>2017-02-23 10:18:28 -0800
committerUlas Kozat <ulas.kozat@gmail.com>2017-02-23 10:19:20 -0800
commit8007284845b803dad3ddbaa6bbf0a7a08c0a64f3 (patch)
tree74314681920e188ae6a32a568823dcdcac32de3d /tests/run.sh
parenteabf24bc23cc4db9a701dadcf6601f62154c09e9 (diff)
Test file update
Change-Id: I725d8a5fe401b217202bf980f359f45a4b39b0fa Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
Diffstat (limited to 'tests/run.sh')
-rwxr-xr-xtests/run.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/run.sh b/tests/run.sh
index 8918ce5..736d991 100755
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -24,6 +24,12 @@ client1_log=./tests/logdata/client1.log
client2_log=./tests/logdata/client2.log
server_log=./tests/logdata/server.log
+install_dependency() {
+ sudo pip install tosca-parser
+ sudo pip install heat-translator
+}
+
+
start_server() {
pgrep -f "python DominoServer.py" && return 0
python DominoServer.py --log "$LOGLEVEL" > "$server_log" 2>&1 &
@@ -97,6 +103,10 @@ echo "Cleaning residue files and folders from previous runs..."
clean_directories
sleep 1
+echo "Installing dependencies..."
+install_dependency
+sleep 1
+
echo "Launching Domino Server..."
start_server
sleep 1