diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-07-31 13:42:54 +0000 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2019-07-31 14:48:15 +0000 |
commit | 17983da5a95d53d2be69537e3816438d114c3d5b (patch) | |
tree | b1cc5c378009f3479c635bcc3eeb87d6bb54b548 /resources/libraries/bash/entry | |
parent | 18ddfb237072adfa7daaf64de769d5f05e98be1d (diff) |
Add: Prerequisites checker
Change-Id: Ida54722ee5c73a0b3e0a8e22692795daf5bb09f3
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/bash/entry')
4 files changed, 4 insertions, 0 deletions
diff --git a/resources/libraries/bash/entry/bootstrap_verify_perf.sh b/resources/libraries/bash/entry/bootstrap_verify_perf.sh index bf7fa3519c..2329beba70 100644 --- a/resources/libraries/bash/entry/bootstrap_verify_perf.sh +++ b/resources/libraries/bash/entry/bootstrap_verify_perf.sh @@ -33,6 +33,7 @@ source "${BASH_FUNCTION_DIR}/common.sh" || { source "${BASH_FUNCTION_DIR}/gather.sh" || die "Source failed." source "${BASH_FUNCTION_DIR}/ansible.sh" || die "Source failed." common_dirs || die +check_prerequisites || die get_test_code "${1-}" || die get_test_tag_string || die select_topology || die diff --git a/resources/libraries/bash/entry/bootstrap_vpp_device.sh b/resources/libraries/bash/entry/bootstrap_vpp_device.sh index 4ac73e777f..ce887f4b5b 100755 --- a/resources/libraries/bash/entry/bootstrap_vpp_device.sh +++ b/resources/libraries/bash/entry/bootstrap_vpp_device.sh @@ -32,6 +32,7 @@ source "${BASH_FUNCTION_DIR}/common.sh" || { } source "${BASH_FUNCTION_DIR}/gather.sh" || die "Source failed." common_dirs || die +check_prerequisites || die get_test_code "${1-}" || die get_test_tag_string || die select_topology || die diff --git a/resources/libraries/bash/entry/per_patch_device.sh b/resources/libraries/bash/entry/per_patch_device.sh index 6624047862..65577c2909 100644 --- a/resources/libraries/bash/entry/per_patch_device.sh +++ b/resources/libraries/bash/entry/per_patch_device.sh @@ -37,6 +37,7 @@ source "${BASH_FUNCTION_DIR}/common.sh" || { } source "${BASH_FUNCTION_DIR}/per_patch.sh" || die "Source failed." common_dirs || die +check_prerequisites || die set_perpatch_vpp_dir || die build_vpp_ubuntu_amd64 "CURRENT" || die set_aside_commit_build_artifacts || die diff --git a/resources/libraries/bash/entry/per_patch_perf.sh b/resources/libraries/bash/entry/per_patch_perf.sh index ef75ea90ce..afe5f97575 100644 --- a/resources/libraries/bash/entry/per_patch_perf.sh +++ b/resources/libraries/bash/entry/per_patch_perf.sh @@ -40,6 +40,7 @@ source "${BASH_FUNCTION_DIR}/common.sh" || { } source "${BASH_FUNCTION_DIR}/per_patch.sh" || die "Source failed." common_dirs || die +check_prerequisites || die set_perpatch_vpp_dir || die build_vpp_ubuntu_amd64 "CURRENT" || die set_aside_commit_build_artifacts || die |