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
default: '{test-plan}'
description: 'General test plan we will run unless stream-specific one is found'
+- parameter:
+ name: integration-test-suites
+ parameters:
+ - string:
+ name: SUITES
+ default: '{test-suites}'
+ description: |
+ List of space-separated suites. Useful when running specific suites within a testplan.
+ (ex. integration/test/csit/suites/openstack/connectivity/01_l2_tests.robot
+ integration/test/csit/suites/netvirt/ElanService/).
+
- parameter:
name: integration-test-options
parameters:
test-options: '{robot-options}'
- integration-test-plan:
test-plan: '{testplan}'
+ - integration-test-suites:
+ test-suites: '{test-suites}'
- integration-patch-refspec:
branch: 'master'
- integration-jdk-version:
test-options: '{robot-options}'
- integration-test-plan:
test-plan: '{testplan}'
+ - integration-test-suites:
+ test-suites: '{test-suites}'
- integration-patch-refspec:
branch: 'master'
- integration-jdk-version:
robot-options: ''
trigger-jobs: ''
debug-map: ''
+ test-suites: ''
# Data for csit-verify jobs
# Branch for "last" version detection