blob: 338280948644c2203646653db8bd5eb27654c038 [file] [log] [blame]
Victor Moralesdd074802017-07-26 16:06:35 -05001#!/bin/bash
2
3source /var/onap_tests/_test_base
4source /var/onap/vfc
5
6covered_functions=(
Victor Morales94b3e972017-08-17 14:55:55 -05007"clone_all_vfc_repos" "compile_all_vfc_repos" "install_vfc"
Victor Moralesdd074802017-07-26 16:06:35 -05008)
9
10# test_clone_all_vfc_repos() - Verify cloning and pulling source code from repositories
11function test_clone_all_vfc_repos {
12 # TODO(sshank)
13 echo ""
14}
15
Victor Morales94b3e972017-08-17 14:55:55 -050016# test_compile_all_vfc_repos() - Verify that all the VFC modules are compiled properly
17function test_compile_all_vfc_repos {
18 clone_all_vfc_repos
19 compile_all_vfc_repos
20
21 # TODO(electrocucaracha): Add asserts_file_exist
22}
23
24# test_install_vfc() - Verify that the VFC are up and running
25function test_install_vfc {
26 install_vfc
27
28 # TODO(electrocucaracha): Add whatever asserts are needed
29}
30
Victor Moralesdd074802017-07-26 16:06:35 -050031if [ "$1" != '*' ]; then
32 unset covered_functions
33 covered_functions=$1
34fi
35main "${covered_functions[@]}"