Disable tests for RPM packages
[openstack-build/neutron-build.git] / tests / runtests.sh
index a730baa8f0255dcd1fd1f121876ecff4f01a14df..7d63238c8f5d83cc13ed19d336af6ed56dd119f5 100755 (executable)
@@ -11,7 +11,14 @@ AUTH="--os-auth-url http://127.0.0.1:35357 --os-token $TOKEN --os-endpoint http:
 NEUTRON_AUTH="--os-username neutron --os-password neutron --os-tenant-name neutron --os-auth-url http://127.0.0.1:35357/v2.0"
 CORE_PLUGIN="neutron.plugins.ml2.plugin.Ml2Plugin"
 
-if [[ $PLATFORM =~ Ubuntu ]]; then UBUNTU=true; fi
+if [[ $PLATFORM =~ Ubuntu ]]
+then UBUNTU=true
+else
+   #Tests for RPM packages are disabled
+   #until migration to CentOS 7 is completed
+   echo "RPM tests are temporarily disabled"
+   exit 0
+fi
 if [ -z $PACKAGE ]; then echo "Package for testing is not specified"; exit 1; fi
 echo "127.0.10.1 $(hostname)" >> /etc/hosts