History log of /external/autotest/client/site_tests/graphics_Gralloc/graphics_Gralloc.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
82f838c302bd6c8b5ade8bcc01739c4bf19dc234 09-Nov-2016 Ilja H. Friedel <ihf@chromium.org> graphics_Gralloc: catch exception during failure.

1) Catch exception that happens during test failure.
2) Provide better failure message.

BUG=chromium:616275
TEST=test_that $DUT graphics_Gralloc
FAIL: Failed: gralloc on broadwell in ['api', 'gralloc_order', 'uninitialized_handle'].

Change-Id: I6fe779fd0fcf8fb99196d2a1c6a331415216d3c7
Reviewed-on: https://chromium-review.googlesource.com/409119
Tested-by: Ilja H. Friedel <ihf@chromium.org>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Haixia Shi <hshi@chromium.org>
/external/autotest/client/site_tests/graphics_Gralloc/graphics_Gralloc.py
619ee2569463359d155539539f5c0d7b2515ccd6 29-Oct-2016 Ilja H. Friedel <ihf@chromium.org> autotest graphics_*: unify TestStatus.

The goal is for graphics tests to only pass or fail. As much as
possible do not use TestError, TestWarn or TestNA etc. Having
only Pass/Fail will make reading on external dashboards (wmatrix,
sponge) less ambiguous. Also prepend all TestFail messages with
"Failed:" to make reading/understanding messages easier.

BUG=chromium:647465
TEST=pylint

Change-Id: I92160c9def35b72e22af8c19af6275932a63d00b
Reviewed-on: https://chromium-review.googlesource.com/404953
Commit-Ready: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
Reviewed-by: Dominik Behr <dbehr@chromium.org>
/external/autotest/client/site_tests/graphics_Gralloc/graphics_Gralloc.py
a854fbf43f5273f9c1e9700c05d8173e9ca4177d 09-Sep-2016 Cheng-Yu Lee <cylee@chromium.org> autotest: Fix ArcTest cleanup() failures if setup() is not run

ArcTest misuses setup(), which is not guaranteed to be run on DUT. For
example if emerge builds binaries in src/ on host machine, setup() would
be skipped on DUT.
ArcTest needs a pure client side setup step when run_once() is called to
do things like Android packages installation. This CL makes arc_setup()
such a function instead of setup(). That is,
1. arc_setup() is called by default in default implementation of
initialize() of ArcTest. It tries to install needed packages.
2. Subclasses can override arc_setup() to install their specific
packages or whatever needs to be done after Android is booted.

BUG=chromium:623790
TEST=Run all the modified tests on my minnie. All passed except some tests
which fail even on a clean checkout.
CQ-DEPEND=CL:*284358

Change-Id: I16d9ccd07ab36b875d273d6915dee89318043801
Reviewed-on: https://chromium-review.googlesource.com/383454
Commit-Ready: Cheng-Yu Lee <cylee@chromium.org>
Tested-by: Cheng-Yu Lee <cylee@chromium.org>
Reviewed-by: Chung-yih Wang <cywang@google.com>
/external/autotest/client/site_tests/graphics_Gralloc/graphics_Gralloc.py
d7b2470a20bfec8f22823a764411e9e50e1e123a 09-Sep-2016 Victor Hsieh <victorhsieh@chromium.org> Revert the arc_new import fallback

TEST=None. I had trouble to run the test for other issue, but tests in the
other repo work.
BUG=b:28937952

Change-Id: Ib9757730a7d835cf6637892efedcd62c9c7e4e60
Reviewed-on: https://chromium-review.googlesource.com/383837
Commit-Ready: Victor Hsieh <victorhsieh@chromium.org>
Tested-by: Victor Hsieh <victorhsieh@chromium.org>
Reviewed-by: Chung-yih Wang <cywang@google.com>
/external/autotest/client/site_tests/graphics_Gralloc/graphics_Gralloc.py
fafa54b4f3045df0f4e732fbd985f461d8a8e503 31-Aug-2016 Gurchetan Singh <gurchetansingh@chromium.org> graphics_Gralloc: Add private API test

We decided to go with a private API to determine characteristics of the
buffer. Let's add a test for it. Also modified the use flags we test
for to be the same as the ones we support.

BUG=chromium:616275
TEST=./gralloctest perform

Change-Id: Ica1ceb420b6295b78aae01443c1efb51f2ed95ea
Reviewed-on: https://chromium-review.googlesource.com/379612
Commit-Ready: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
/external/autotest/client/site_tests/graphics_Gralloc/graphics_Gralloc.py
2eba892985ce86df60b4a1a04f84a9683eec6349 17-Aug-2016 Victor Hsieh <victorhsieh@chromium.org> Move arc.py to the public repo as arc_new.py

To avoid conflict with the original file while installing the package,
the file is temporarily named differently.

Also, for tests, fallback to import arc_new when import arc failed.
This is to make sure two ebuilds won't have the same file at the same
time.

TEST=install autotest-lib, force the test to use the new version and run it
BUG=b:28937952

Change-Id: I0bb6b8f28be95b342e28b8fd8f460accc9a3fce3
Reviewed-on: https://chromium-review.googlesource.com/372158
Commit-Ready: Victor Hsieh <victorhsieh@chromium.org>
Tested-by: Victor Hsieh <victorhsieh@chromium.org>
Reviewed-by: Victor Hsieh <victorhsieh@chromium.org>
/external/autotest/client/site_tests/graphics_Gralloc/graphics_Gralloc.py
b3ea64f1d91a35c754c25f080b56d735415da051 10-Aug-2016 Gurchetan Singh <gurchetansingh@chromium.org> autotest: Added gralloc unit test

The graphics_Gbm test often catches many bugs on CrOS. It is desirable to
have a similar test for the gralloc API.

BUG=chromium:616275
TEST=Ran

test_that -b veyron_minnie-cheets $IP1 graphics_Gralloc
test_that -b cyan-cheets $IP1 graphics_Gralloc

Change-Id: I0d2df06c12f17d610a10862dae379046df270362
Reviewed-on: https://chromium-review.googlesource.com/367952
Commit-Ready: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
/external/autotest/client/site_tests/graphics_Gralloc/graphics_Gralloc.py