tests/avocado: don't use tags to define drive
commitfb3af2d182b1aaba87fc1f26a0740bae0c7e2698
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 15 Mar 2023 17:43:09 +0000 (15 17:43 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 22 Mar 2023 15:06:57 +0000 (22 15:06 +0000)
treea4e3673d1e5afc5fa2262168bae24ed6023e5185
parent6f6ca067d2712261502346db6508b8de43adb1a2
tests/avocado: don't use tags to define drive

We are abusing the avocado tags which are intended to provide test
selection metadata to provide parameters to our test. This works OK up
until the point you need to have ,'s in the field as this is the tag
separator character which is the case for a number of the drive
parameters. Fix this by making drive a parameter to the common helper
function.

Fixes: 267fe57c23 (tests: add tuxrun baseline test to avocado)
Reviewed-by: David Woodhouse <dwmw@amazon.co.uk>
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230315174331.2959-11-alex.bennee@linaro.org>
tests/avocado/tuxrun_baselines.py