Get board name for skip test in Tast |
|
Issue descriptionBecause of a driver issue, some video test cases fails on a specific device. For example, see video_VideoEncodeAccelerator [1]. In autotest, we have been skipping those test cases by specifying board name. On the other hand, there is no function to get board name in Tast. One way i to skip by using autotest-capability. However, I would like to avoid adding many capability in the yaml files and keep as small capabilities as possible. We will never use this kind of HACK skip ways heavily indeed. Ideally, we should fix all the drivers, but it is hard from time to time due to our bandwidth. Is it ok to implement this function and use it for media tests? nya@ and derat@, what do you think? [1] https://chromium.googlesource.com/chromiumos/third_party/autotest/+/master/client/site_tests/video_VideoEncodeAccelerator/video_VideoEncodeAccelerator.py#64
,
Jan 10
> Runtime detection is still the best approach, though. Controlling behavior from board names is problematic since it's effectively obsolete with Unibuild. Could you elaborate "it's effectively obsolete with Unibuild."? I guess driver behavior will be the same for boards whose name for unibuild is the same.
,
Jan 10
> Could you elaborate "it's effectively obsolete with Unibuild."? Sorry for being unclear. My point was that although board-based behavior-switching may work in some cases like this one (since what you really care about seems to be chipsets, and those will likely be the same for all devices that use a single board), it's unlikely to work reliably in other cases in the future with Unibuild since we'll have multiple hardware configs sharing a single board. Do we set USE flags for the chipsets that you care about? |
|
►
Sign in to add a comment |
|
Comment 1 by derat@chromium.org
, Jan 10Components: Tests>Tast