summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/run_qtip.sh14
-rw-r--r--docker/supervisord.conf2
2 files changed, 9 insertions, 7 deletions
diff --git a/docker/run_qtip.sh b/docker/run_qtip.sh
index a7a20501..c2cf8c7b 100755
--- a/docker/run_qtip.sh
+++ b/docker/run_qtip.sh
@@ -1,20 +1,22 @@
#! /bin/bash
+QTIP=scripts/qtip.py
+
run_test_suite()
{
if [ "$TEST_CASE" == "compute" ]; then
- cd ${QTIP_DIR} && python qtip.py -l default -f compute
+ cd ${QTIP_DIR} && python ${QTIP} -l default -f compute
cd ${QTIP_DIR} && python scripts/ref_results/suite_result.py compute
elif [ "$TEST_CASE" == "storage" ]; then
- cd ${QTIP_DIR} && python qtip.py -l default -f storage
+ cd ${QTIP_DIR} && python ${QTIP} -l default -f storage
cd ${QTIP_DIR} && python scripts/ref_results/suite_result.py storage
elif [ "$TEST_CASE" == "network" ]; then
- cd ${QTIP_DIR} && python qtip.py -l default -f network
+ cd ${QTIP_DIR} && python ${QTIP} -l default -f network
cd ${QTIP_DIR} && python scripts/ref_results/suite_result.py network
elif [ "$TEST_CASE" == "all" ]; then
- cd ${QTIP_DIR} && python qtip.py -l default -f compute
- cd ${QTIP_DIR} && python qtip.py -l default -f storage
- cd ${QTIP_DIR} && python qtip.py -l default -f network
+ cd ${QTIP_DIR} && python ${QTIP} -l default -f compute
+ cd ${QTIP_DIR} && python ${QTIP} -l default -f storage
+ cd ${QTIP_DIR} && python ${QTIP} -l default -f network
cd ${QTIP_DIR} && python scripts/ref_results/suite_result.py compute
cd ${QTIP_DIR} && python scripts/ref_results/suite_result.py storage
diff --git a/docker/supervisord.conf b/docker/supervisord.conf
index 35d16c7e..a6d457dd 100644
--- a/docker/supervisord.conf
+++ b/docker/supervisord.conf
@@ -2,7 +2,7 @@
nodaemon=true
[program:qtip_server]
-command=bash -c "cd $REPOS_DIR/qtip&&python restful_server/qtip_server.py"
+command=bash -c "cd $REPOS_DIR/qtip&&python qtip/api/qtip_server.py"
numprocs=1
autostart=true
autorestart=true