summaryrefslogtreecommitdiffstats
path: root/jjb/functest
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2015-05-18 11:50:09 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2015-05-18 18:37:29 +0200
commitbbd75550cb523285f94296940ee417bf07303fd2 (patch)
tree79d2d236d191d54e7aabaa38e34ae652a058e0f3 /jjb/functest
parent4e146226d64d7d911a23d564c0765876bf7643ba (diff)
functest.yml: added "-d" flag to provide debug information
copy results from functest environment to a permanent directory JIRA: FUNCTEST-7 Change-Id: Ia59879889a3371b8028ecdc17005c659b2e14b33 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'jjb/functest')
-rw-r--r--jjb/functest/functest.yml14
1 files changed, 8 insertions, 6 deletions
diff --git a/jjb/functest/functest.yml b/jjb/functest/functest.yml
index 7def7249a..5036e9c0b 100644
--- a/jjb/functest/functest.yml
+++ b/jjb/functest/functest.yml
@@ -282,12 +282,14 @@
- shell: |
echo "Functest: prepare Functest environment"
source $HOME/functest/opnfv-openrc.sh
- python $HOME/functest/config_functest.py start
+ python $HOME/functest/config_functest.py -d start
echo "Functest: run Functest suites"
- python $HOME/.functest/Rally_test/run_rally.py all
- python $HOME/.functest/Rally_test/run_rally.py tempest smoke
- python $HOME/.functest/vPing/vPing.py
+ python $HOME/.functest/Rally_test/run_rally.py -d all
+ python $HOME/.functest/Rally_test/run_rally.py -d tempest smoke
+ python $HOME/.functest/vPing/vPing.py -d
$HOME/.functest/ODL/start_tests.sh
- echo "Functest: clean Functest environment"
- python $HOME/functest/config_functest.py clean
+ echo "Functest: copy results and clean Functest environment"
+ mkdir -p $HOME/functest/results
+ cp $HOME/.functest/Rally_test/results/* $HOME/functest/
+ python $HOME/functest/config_functest.py -d -f clean