summaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/tests/test_vid
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2017-12-08 11:57:42 -0800
committerVictor Morales <victor.morales@intel.com>2017-12-08 11:57:42 -0800
commit5464664702bc07c180ed82eb1a5d9bcc9e5d18ec (patch)
treec45bae722f80a3481965fec72385ad137c36ea6b /bootstrap/vagrant-onap/tests/test_vid
parent5d21f64981e69f6a266da1ec30754de5d8d71e26 (diff)
Centralize src_folder and repos info
The configuration values that determines where the source code will be cloned and the list of repos associated to specific project have been included in a new global configuration file, which pretends to facilitate their changes. Change-Id: I700bfe02e6b2f8bf8eef763e44b5e037357ec892 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: INT-367
Diffstat (limited to 'bootstrap/vagrant-onap/tests/test_vid')
-rwxr-xr-xbootstrap/vagrant-onap/tests/test_vid10
1 files changed, 5 insertions, 5 deletions
diff --git a/bootstrap/vagrant-onap/tests/test_vid b/bootstrap/vagrant-onap/tests/test_vid
index dc6adba99..79a415242 100755
--- a/bootstrap/vagrant-onap/tests/test_vid
+++ b/bootstrap/vagrant-onap/tests/test_vid
@@ -11,8 +11,8 @@ covered_functions=(
function test_clone_all_vid_repos {
clone_repos "vid"
- asserts_file_exist $vid_src_folder/pom.xml
- asserts_file_exist $vid_src_folder/asdcclient/pom.xml
+ asserts_file_exist ${src_folders[vid]}/pom.xml
+ asserts_file_exist ${src_folders[vid]}/asdcclient/pom.xml
}
# test_compile_all_vid_repos() - Verifies that VID source code is compiled properly
@@ -20,9 +20,9 @@ function test_compile_all_vid_repos {
clone_repos "vid"
compile_repos "vid"
- asserts_file_exist $vid_src_folder/asdcclient/target/asdcclient-1.0.2-SNAPSHOT.jar
- asserts_file_exist $vid_src_folder/epsdk-app-onap/target/vid.war
- asserts_file_exist $vid_src_folder/vid-app-common/target/vid-common.war
+ asserts_file_exist ${src_folders[vid]}/asdcclient/target/asdcclient-1.0.2-SNAPSHOT.jar
+ asserts_file_exist ${src_folders[vid]}/epsdk-app-onap/target/vid.war
+ asserts_file_exist ${src_folders[vid]}/vid-app-common/target/vid-common.war
}
# test_get_vid_images() - Verifies that VID Docker images are built properly