construct test_groups from test_group and tf_config if present

If the environment variable 'test_groups' is not present, then check
if 'test_group' and 'tf_config' are present, then construct the
test_groups from the latter and default the rest of the configs,
'tftf_config', 'scp_config', 'scp_tools' and 'run_config'.

This change would allow Jenkins jobs (see [1]) to specify the above
parameters, thus allowing a more flexible way to construct the
test_groups variable.

[1] https://review.trustedfirmware.org/c/ci/tf-a-job-configs/+/4917

Change-Id: I3f0e5f2f107160b6b0a485139f43488245f5ec9e
Signed-off-by: Leonardo Sandoval <leonardo.sandoval@linaro.org>
1 file changed