aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/tests/test_functions
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/vagrant-onap/tests/test_functions')
-rwxr-xr-x[-rw-r--r--]bootstrap/vagrant-onap/tests/test_functions25
1 files changed, 5 insertions, 20 deletions
diff --git a/bootstrap/vagrant-onap/tests/test_functions b/bootstrap/vagrant-onap/tests/test_functions
index 3ab5828cb..9411b46f4 100644..100755
--- a/bootstrap/vagrant-onap/tests/test_functions
+++ b/bootstrap/vagrant-onap/tests/test_functions
@@ -4,7 +4,7 @@ source /var/onap_tests/_test_base
source /var/onap/functions
covered_functions=(
-"create_configuration_files" "clone_repo" "install_dev_tools"
+"create_configuration_files" "clone_repo"
"configure_bind" "install_java" "install_maven" "install_nodejs" "install_python"
"install_docker" "pull_docker_image" "install_docker_compose" "configure_service"
"start_ODL" "compile_src" "build_docker_image" "docker_openecomp_login"
@@ -55,15 +55,6 @@ function test_clone_repo {
asserts_file_exist $git_src_folder/demo/LICENSE.TXT
}
-# test_install_dev_tools() - Verify the correct installation of developer tools
-function test_install_dev_tools {
- install_dev_tools
-
- asserts_installed_package apt-transport-https
- asserts_installed_package ca-certificates
- asserts_installed_package curl
-}
-
# test_configure_bind() - Verify the correct installation and configuration of bind
function test_configure_bind {
configure_bind
@@ -167,18 +158,12 @@ function test_build_docker_image {
# test_coverity_repos() - Verify that all the repos are covered by scripts
function test_coverity_repos {
- # Get repositories list from source code files
- repos_list=()
- for module in $( stat -c "%F %n" /var/onap/* | grep -v "_\|functions\|commons\|files" | cut -d' ' -f 3-); do
- source $module
- module_repo_list=$(eval echo \${$(basename $module)_repos[@]})
- repos_list=(${repos_list[@]} ${module_repo_list[@]})
- done
-
pushd /var/onap_tests/
cp projects.txt remaining_projects.txt
- for covered_repo in "${repos_list[@]}"; do
- sed -i '/^'${covered_repo//\//\\/}'$/d' remaining_projects.txt
+ for project in "${repos[@]}"; do
+ for covered_repo in $project; do
+ sed -i '/^'${covered_repo//\//\\/}'$/d' remaining_projects.txt
+ done
done
threshold=75