Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Directly call Functest console scripts"
[releng.git]
/
jjb
/
functest
/
functest-loop.sh
diff --git
a/jjb/functest/functest-loop.sh
b/jjb/functest/functest-loop.sh
index
869c395
..
a590d9f
100755
(executable)
--- a/
jjb/functest/functest-loop.sh
+++ b/
jjb/functest/functest-loop.sh
@@
-1,8
+1,8
@@
#!/bin/bash
set +e
#!/bin/bash
set +e
-
-cmd="
python ${FUNCTEST_REPO_DIR}/functest/ci/run_tests.py
-t all ${flags}"
+[[ "$PUSH_RESULTS_TO_DB" == "true" ]] && flags+="-r"
+cmd="
run_tests
-t all ${flags}"
container_id=$(docker ps -a | grep opnfv/functest | awk '{print $1}' | head -1)
docker exec $container_id $cmd
container_id=$(docker ps -a | grep opnfv/functest | awk '{print $1}' | head -1)
docker exec $container_id $cmd