X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=ci%2Ftest_kvmfornfv.sh;h=850ba4eadaede3d1baa3384a1c8f667b03ee995d;hb=fec69427c654e3dc2022b4eaebbb1e294babdcd1;hp=47158dedd2db9a9fc1950d6682bc2a8819e24e67;hpb=748c85b8fa92c96186e6eeb3d518c45813d7c5f4;p=kvmfornfv.git diff --git a/ci/test_kvmfornfv.sh b/ci/test_kvmfornfv.sh index 47158dedd..850ba4ead 100755 --- a/ci/test_kvmfornfv.sh +++ b/ci/test_kvmfornfv.sh @@ -14,12 +14,20 @@ test_type=$1 test_name=$2 ftrace_enable=0 -cyclictest_env_verify=("idle_idle" "cpustress_idle" "memorystress_idle" "iostress_idle") #cyclictest environment +cyclictest_env_verify=("idle_idle" "memorystress_idle") #cyclictest environment cyclictest_env_daily=("idle_idle" "cpustress_idle" "memorystress_idle" "iostress_idle") cyclictest_result=0 #exit code of cyclictest packetforward_result=0 #exit code of packet forward source $WORKSPACE/ci/envs/host-config +#check if any kernel rpms available for testing +rpm_count=`ls -1 $WORKSPACE/build_output/*.rpm 2>/dev/null | wc -l` +if [ $rpm_count = 0 ];then + echo "This patch is used for building kernel debian packages required by compass installer and \ +the test environment for testing debain packages is not available" + exit 0 +fi + function packetForward { #executing packet forwarding test cases based on the job type. if [ ${test_type} == "verify" ];then