summaryrefslogtreecommitdiffstats
path: root/bootstrap/vagrant-onap/lib/vnfsdk
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2017-10-23 11:56:43 -0700
committerVictor Morales <victor.morales@intel.com>2017-10-23 11:56:43 -0700
commit6d280a1548070d12dee8dae9b3de6ccba6a6e655 (patch)
tree75cd2be939c3078157e31e80ed61029f56a52aea /bootstrap/vagrant-onap/lib/vnfsdk
parent41a427a8806633f4dd93faa73d9dbe891c91f57b (diff)
Update UTs for VNFSDK
The Unit tests for VNF SDK component was skipping some compile validations. This change fixes those UT and the tox bash syntax. Change-Id: Ibaac790ac3096b44e7ba99986aee2ea526345562 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-Id: INT-290
Diffstat (limited to 'bootstrap/vagrant-onap/lib/vnfsdk')
-rw-r--r--bootstrap/vagrant-onap/lib/vnfsdk13
1 files changed, 5 insertions, 8 deletions
diff --git a/bootstrap/vagrant-onap/lib/vnfsdk b/bootstrap/vagrant-onap/lib/vnfsdk
index b73e06426..c23ed8581 100644
--- a/bootstrap/vagrant-onap/lib/vnfsdk
+++ b/bootstrap/vagrant-onap/lib/vnfsdk
@@ -5,22 +5,19 @@ set -o xtrace
source /var/onap/functions
vnfsdk_src_folder=$git_src_folder/vnfsdk
-
-vnfsdk_repos=("refrepo")
+vnfsdk_repos=("vnfsdk/compliance" "vnfsdk/functest" "vnfsdk/lctest" "vnfsdk/model" "vnfsdk/pkgtools" "vnfsdk/refrepo" "vnfsdk/validation")
# clone_all_vnfsdk_repos() - Function that clones vnfsdk source repo.
function clone_all_vnfsdk_repos {
-
- for dirc in ${vnfsdk_repos[@]}; do
- clone_repo vnfsdk/$dirc $vnfsdk_src_folder/$dirc
+ for repo in ${vnfsdk_repos[@]}; do
+ clone_repo $repo $vnfsdk_src_folder${repo#*vnfsdk}
done
}
# compile_all_vnfsdk_repos - Function that builds vnfsdk source repo
function compile_all_vnfsdk_repos {
-
- for dirc in ${vnfsdk_repos[@]}; do
- clone_repo vnfsdk/$dirc $vnfsdk_src_folder/$dirc
+ for repo in ${vnfsdk_repos[@]}; do
+ compile_src $vnfsdk_src_folder${repo#*vnfsdk}
done
}