aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/tests/test_sdc
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_sdc
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_sdc')
-rwxr-xr-xbootstrap/vagrant-onap/tests/test_sdc26
1 files changed, 13 insertions, 13 deletions
diff --git a/bootstrap/vagrant-onap/tests/test_sdc b/bootstrap/vagrant-onap/tests/test_sdc
index 6d5470e80..67657803e 100755
--- a/bootstrap/vagrant-onap/tests/test_sdc
+++ b/bootstrap/vagrant-onap/tests/test_sdc
@@ -11,13 +11,13 @@ covered_functions=(
function test_clone_all_sdc_repos {
clone_repos "sdc"
- asserts_file_exist $sdc_src_folder/pom.xml
- asserts_file_exist $sdc_src_folder/sdc-os-chef/pom.xml
- asserts_file_exist $sdc_src_folder/jtosca/pom.xml
- asserts_file_exist $sdc_src_folder/sdc-distribution-client/pom.xml
- asserts_file_exist $sdc_src_folder/sdc-titan-cassandra/pom.xml
- asserts_file_exist $sdc_src_folder/sdc-tosca/pom.xml
- asserts_file_exist $sdc_src_folder/sdc_common/pom.xml
+ asserts_file_exist ${src_folders[sdc]}/pom.xml
+ asserts_file_exist ${src_folders[sdc]}/sdc-os-chef/pom.xml
+ asserts_file_exist ${src_folders[sdc]}/jtosca/pom.xml
+ asserts_file_exist ${src_folders[sdc]}/sdc-distribution-client/pom.xml
+ asserts_file_exist ${src_folders[sdc]}/sdc-titan-cassandra/pom.xml
+ asserts_file_exist ${src_folders[sdc]}/sdc-tosca/pom.xml
+ asserts_file_exist ${src_folders[sdc]}/sdc_common/pom.xml
}
# test_compile_all_sdc_repos() - Verifies the correct compilation of SDC repositories
@@ -25,18 +25,18 @@ function test_compile_all_sdc_repos {
clone_repos "sdc"
compile_repos "sdc"
- #asserts_file_exist $sdc_src_folder/jtosca/target/jtosca-1.1.10-SNAPSHOT.jar
- #asserts_file_exist $sdc_src_folder/sdc-distribution-client/sdc-distribution-ci/target/sdc-distribution-ci-1.1.*-SNAPSHOT.jar
- #asserts_file_exist $sdc_src_folder/sdc-distribution-client/sdc-distribution-client/target/sdc-distribution-client-1.1.*-SNAPSHOT.jar
- #asserts_file_exist $sdc_src_folder/sdc-titan-cassandra/target/jamm-0.3.0.jar
- #asserts_file_exist $sdc_src_folder/sdc-tosca/target/sdc-tosca-1.1.*-SNAPSHOT.jar
+ #asserts_file_exist ${src_folders[sdc]}/jtosca/target/jtosca-1.1.10-SNAPSHOT.jar
+ #asserts_file_exist ${src_folders[sdc]}/sdc-distribution-client/sdc-distribution-ci/target/sdc-distribution-ci-1.1.*-SNAPSHOT.jar
+ #asserts_file_exist ${src_folders[sdc]}/sdc-distribution-client/sdc-distribution-client/target/sdc-distribution-client-1.1.*-SNAPSHOT.jar
+ #asserts_file_exist ${src_folders[sdc]}/sdc-titan-cassandra/target/jamm-0.3.0.jar
+ #asserts_file_exist ${src_folders[sdc]}/sdc-tosca/target/sdc-tosca-1.1.*-SNAPSHOT.jar
#for dirc in logging sdc-artifact-generator; do
for dirc in logging; do
name="openecomp-$dirc"
for module in api core; do
fullname="$name-$module"
- asserts_file_exist $sdc_src_folder/sdc_common/$name-lib/$fullname/target/$fullname-1.1.0-SNAPSHOT.jar
+ asserts_file_exist ${src_folders[sdc]}/sdc_common/$name-lib/$fullname/target/$fullname-1.1.0-SNAPSHOT.jar
done
done
}