Add test-suites option to run specific suites
[releng/builder.git] / jjb / integration / integration-deploy-openstack-run-test.sh
index 72d36b2aeee3c7989855b48ca2ea4e60f61b8c6e..0ae2bd2522bdb3823836170e833cd7dc880947bc 100644 (file)
@@ -821,7 +821,9 @@ echo "Changing the testplan path..."
 cat "${testplan_filepath}" | sed "s:integration:${WORKSPACE}:" > testplan.txt
 cat testplan.txt
 
-SUITES=`egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' testplan.txt | tr '\012' ' '`
+if [ -z "${SUITES}" ]; then
+    SUITES=`egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' testplan.txt | tr '\012' ' '`
+fi
 
 #Environment Variables Needed to execute Openstack Client for NEtvirt Jobs
 cat > /tmp/os_netvirt_client_rc << EOF