diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-01-04 16:58:10 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2017-01-04 17:03:17 +0100 |
commit | d258cbb06182cf49a5a7d06f4a5350a3b696d3eb (patch) | |
tree | c09efab4f63385b0fd79711d84f011a4746c1f22 /run_unit_tests.sh | |
parent | b30ad39874519322b5b866d2a5fe6a43c6efd6a4 (diff) |
Remove clean_results_dir
clean_results_dir is now useless [1]
[1] https://gerrit.opnfv.org/gerrit/#/c/26661/
Change-Id: I7ec02798696d4cbc4930bf2d8aa9cb35ce99b7aa
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'run_unit_tests.sh')
-rwxr-xr-x | run_unit_tests.sh | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/run_unit_tests.sh b/run_unit_tests.sh index c18f3cab3..79d05d3d1 100755 --- a/run_unit_tests.sh +++ b/run_unit_tests.sh @@ -2,22 +2,6 @@ set -o errexit set -o pipefail -function clean_results_dir { - if [ -d "/home/opnfv/functest/results" ] - then - sudo rm -rf /home/opnfv/functest/results - fi -} - -# ****************************** -# prepare the env for the tests -# ****************************** -# clean useless results dir -# should be done at the end -# but in case of crash during unit test -# clean it anyway -clean_results_dir - # Either Workspace is set (CI) if [ -z $WORKSPACE ] then @@ -59,10 +43,4 @@ rc=$? deactivate -# ******* -# clean -# ******* -# Clean useless logs -clean_results_dir - exit $rc |