aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/tests/test_vnfsdk
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_vnfsdk
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_vnfsdk')
-rwxr-xr-xbootstrap/vagrant-onap/tests/test_vnfsdk22
1 files changed, 11 insertions, 11 deletions
diff --git a/bootstrap/vagrant-onap/tests/test_vnfsdk b/bootstrap/vagrant-onap/tests/test_vnfsdk
index 6f37904a1..cd29a9733 100755
--- a/bootstrap/vagrant-onap/tests/test_vnfsdk
+++ b/bootstrap/vagrant-onap/tests/test_vnfsdk
@@ -11,13 +11,13 @@ covered_functions=(
function test_clone_all_vnfsdk_repos {
clone_repos "vnfsdk"
- asserts_file_exist $vnfsdk_src_folder/compliance/veslibrary/README
- asserts_file_exist $vnfsdk_src_folder/functest/pom.xml
- asserts_file_exist $vnfsdk_src_folder/lctest/pom.xml
- asserts_file_exist $vnfsdk_src_folder/model/docs/index.rst
- asserts_file_exist $vnfsdk_src_folder/pkgtools/pom.xml
- asserts_file_exist $vnfsdk_src_folder/refrepo/pom.xml
- asserts_file_exist $vnfsdk_src_folder/validation/pom.xml
+ asserts_file_exist ${src_folders[vnfsdk]}/compliance/veslibrary/README
+ asserts_file_exist ${src_folders[vnfsdk]}/functest/pom.xml
+ asserts_file_exist ${src_folders[vnfsdk]}/lctest/pom.xml
+ asserts_file_exist ${src_folders[vnfsdk]}/model/docs/index.rst
+ asserts_file_exist ${src_folders[vnfsdk]}/pkgtools/pom.xml
+ asserts_file_exist ${src_folders[vnfsdk]}/refrepo/pom.xml
+ asserts_file_exist ${src_folders[vnfsdk]}/validation/pom.xml
}
# test_compile_all_vnfsdk_repos () - Verify if VNFSDK source repo compiles correctly.
@@ -25,10 +25,10 @@ function test_compile_all_vnfsdk_repos {
clone_repos "vnfsdk"
compile_repos "vnfsdk"
- asserts_file_exist $vnfsdk_src_folder/lctest/lifecycle-test/target/lifecycle-test-service-1.0.0-SNAPSHOT.war
- asserts_file_exist $vnfsdk_src_folder/pkgtools/target/vnf-sdk-pkgtools-1.0.0-SNAPSHOT.zip
- asserts_file_exist $vnfsdk_src_folder/refrepo/vnfmarket-be/vnf-sdk-marketplace/target/ROOT.war
- asserts_file_exist $vnfsdk_src_folder/validation/csarvalidation/target/validation-csar-1.0.0-SNAPSHOT.jar
+ asserts_file_exist ${src_folders[vnfsdk]}/lctest/lifecycle-test/target/lifecycle-test-service-1.0.0-SNAPSHOT.war
+ asserts_file_exist ${src_folders[vnfsdk]}/pkgtools/target/vnf-sdk-pkgtools-1.0.0-SNAPSHOT.zip
+ asserts_file_exist ${src_folders[vnfsdk]}/refrepo/vnfmarket-be/vnf-sdk-marketplace/target/ROOT.war
+ asserts_file_exist ${src_folders[vnfsdk]}/validation/csarvalidation/target/validation-csar-1.0.0-SNAPSHOT.jar
}
# test_get_vnfsdk_images() - Verify that the VNFSDK images are created or retrieved