OSDN Git Service

gralloctest: update test for ARCVM
authorDavid Stevens <stevensd@chromium.org>
Tue, 27 Oct 2020 04:40:17 +0000 (13:40 +0900)
committerCommit Bot <commit-bot@chromium.org>
Wed, 28 Oct 2020 02:54:48 +0000 (02:54 +0000)
commitdfb45b0b5ca610e101f773ff23e3c66a02725b0a
tree6ef554177f2235c8e493c134947c99f31d823b0c
parentfd6f6f9788d9c07fa2eb7a3eb6d03d7a07b1d3eb
gralloctest: update test for ARCVM

On ARCVM, the stride obtained from GRALLOC_DRM_GET_STRIDE is the host
stride, and may be larger than the guest stride.

This change also moves the line which prints the next test to execute to
before the test actually runs, so it appears before test failures.

BUG=b:155238003
TEST=tast run DUT arc.Gralloc*

Change-Id: I4594f352fba585fa4bdbaff609f198888b99c8f5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2500971
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Commit-Queue: David Stevens <stevensd@chromium.org>
Tested-by: David Stevens <stevensd@chromium.org>
cros_gralloc/gralloc0/tests/gralloctest.c