From d258cbb06182cf49a5a7d06f4a5350a3b696d3eb Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Wed, 4 Jan 2017 16:58:10 +0100 Subject: [PATCH] Remove clean_results_dir MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit clean_results_dir is now useless [1] [1] https://gerrit.opnfv.org/gerrit/#/c/26661/ Change-Id: I7ec02798696d4cbc4930bf2d8aa9cb35ce99b7aa Signed-off-by: Cédric Ollivier --- run_unit_tests.sh | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/run_unit_tests.sh b/run_unit_tests.sh index c18f3cab..79d05d3d 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 -- 2.16.6