aboutsummaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-07-15 13:40:27 +0200
committerJose Lausuch <jose.lausuch@ericsson.com>2016-07-18 17:18:18 +0000
commit31e30777a3bf32d4d081d019338ee65906ffc2ca (patch)
treef0f47bc5179dbedb08c663a7862c23bbf92cc7e5 /ci
parenta0659906030a98f0c82a7405e6729c2bea6fe7e1 (diff)
Don't take openstack snapshot when "-n" option is set
JIRA: FUNCTEST-236 Change-Id: I37bfa4ebe88a8cf02f2cddc8fc4cce70ad87b775 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/run_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ci/run_tests.py b/ci/run_tests.py
index 050ef0c11..b3728ce9f 100755
--- a/ci/run_tests.py
+++ b/ci/run_tests.py
@@ -76,7 +76,8 @@ def run_test(test):
print_separator("=")
logger.debug("\n%s" % test)
- generate_os_snapshot()
+ if CLEAN_FLAG:
+ generate_os_snapshot()
flags = (" -t %s" % (test_name))
if REPORT_FLAG: