Change-Id: I3e621fd3e294de251f0b2db6c5d39405f6798e36
Signed-off-by: Sam Hague <shague@redhat.com>
# Use the testplan if specific SUITES are not defined.
if [ -z "${SUITES}" ]; then
SUITES=`egrep -v '(^[[:space:]]*#|^[[:space:]]*$)' testplan.txt | tr '\012' ' '`
+else
+ newsuites=""
+ workpath="${WORKSPACE}/test/csit/suites"
+ for suite in ${SUITES}; do
+ fullsuite="${workpath}/${suite}"
+ if [ -z ${newsuites} ]; then
+ newsuites+=${fullsuite}
+ else
+ newsuites+=" "${fullsuite}
+ fi
+ done
+ SUITES=${newsuites}
fi
# TODO: run openrc on control node and then scrape the vars from it
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
+ Do not include ${{WORKSPACE}}/test/csit/suites/ in the values:
+ (ex. openstack/connectivity/l2.robot openstack/tempest/tempest.robot
integration/test/csit/suites/netvirt/ElanService/).
- parameter: