1#!/bin/bash 2# Copyright 2019-2021 Huawei Technologies Co., Ltd 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# ============================================================================ 16 17# This script is the driver of the individual test scenarios 18CURRPATH=$(cd "$(dirname $0)" || exit; pwd) 19 20echo "----------------------------------------------" 21echo "Invalid syntax and cache_admin failure testing" 22echo "----------------------------------------------" 23echo 24${CURRPATH}/cachetest_args.sh 25num_failures=$? 26echo 27echo "Invalid syntax and cache_admin failure testing complete. Number of failures: $num_failures" 28echo 29 30echo "----------------------------------------------" 31echo "Test pipelines with cache (python)" 32echo "----------------------------------------------" 33echo 34${CURRPATH}/cachetest_py.sh 35num_failures=$? 36echo 37echo "Test pipelines with cache complete. Number of failures: $num_failures" 38echo 39 40echo "----------------------------------------------" 41echo "Cache cpp tests" 42echo "----------------------------------------------" 43echo 44${CURRPATH}/cachetest_cpp.sh 45num_failures=$? 46echo 47echo "Cache cpp tests complete. Number of failures: $num_failures" 48echo 49