Граф коммитов

16 Коммитов

Автор SHA1 Сообщение Дата
jbudorick@chromium.org 13b8cb19e8 [Android] Change object types from AndroidCommands to DeviceUtils in build/android/.
BUG=267773

Review URL: https://codereview.chromium.org/221823011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@263055 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-10 19:37:30 +00:00
jbudorick@chromium.org 9763b9f4f2 [Android] Lint pylib/base.
BUG=168518

Review URL: https://codereview.chromium.org/156603003

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250545 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-11 23:21:15 +00:00
jbudorick@chromium.org 41ed360447 Revert of Enable presubmit pylint in build/android. (https://codereview.chromium.org/132463007/)
Reason for revert:
This patch is probably the cause of crbug.com/342539.

Original issue's description:
> Enable presubmit pylint in build/android.
> 
> BUG=168518
> 
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=249793

TBR=craigdh@chromium.org,frankf@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=168518

Review URL: https://codereview.chromium.org/153743008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@250269 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-11 01:47:41 +00:00
jbudorick@chromium.org 3d8bcfb710 Enable presubmit pylint in build/android.
BUG=168518

Review URL: https://codereview.chromium.org/132463007

git-svn-id: http://src.chromium.org/svn/trunk/src/build@249793 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-07 21:34:23 +00:00
craigdh@chromium.org 3c0b61d777 [android] Fail if all devices drop offline while running tests.
BUG=278631
TEST=unittest included
R=frankf@chromium.org

Review URL: https://codereview.chromium.org/23440009

git-svn-id: http://src.chromium.org/svn/trunk/src/build@220084 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-28 20:52:41 +00:00
frankf@chromium.org 8edcdfe27d [Android] Move getting the list of devices out of test_dispatcher.
BUG=272486
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/23205011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@218483 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-20 14:24:57 +00:00
frankf@chromium.org 0a13fa7f52 [Android] Return error exit code if no devices are attached.
BUG=274819
R=craigdh@chromium.org

Review URL: https://codereview.chromium.org/22865020

git-svn-id: http://src.chromium.org/svn/trunk/src/build@218120 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-16 23:52:44 +00:00
craigdh@chromium.org 9c2576b64c [android] Make build_type a singleton.
BUG=260494
TEST=None
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/22933005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@217855 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-15 22:25:28 +00:00
bulach@chromium.org d1de9e64f5 Android: first step into making "perf tests" reuse the functional test infra.
Perf tests are currently using build/android/bb_run_sharded_steps.py,
which lacks a lot of functionality to retry on different devices on failure,
plus it adds an entirely separate hierarchy for running tests.
This patch is the first step to deprecate it and reuse the same mechanism
as all other functional tests.

BUG=270165,268450

Review URL: https://chromiumcodereview.appspot.com/22854004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@217550 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-14 14:39:47 +00:00
gkanwar@chromium.org 0c95243f04 Fixes exit code when there are no host-driven tests
Undoes the temporary fix in 215986.

NOTRY=True
BUG=

Review URL: https://chromiumcodereview.appspot.com/22445005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@216027 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-06 23:35:34 +00:00
gkanwar@chromium.org df229b4b98 Temporary fix to make steps with no host-driven tests pass.
Currently steps with no host-driven tests are marked as failure because
no tests are found.

NOTRY=True
BUG=

Review URL: https://chromiumcodereview.appspot.com/22267011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@215986 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-06 21:31:47 +00:00
gkanwar@chromium.org db7c9d502b Converts host driven tests to common test_dispatcher
Also renames several files in pylib/host_driven to match the general file
naming scheme.

This change will break existing host-driven tests downstream which are run
though scripts other than test_runner.

NOTRY=True
BUG=176323

Review URL: https://chromiumcodereview.appspot.com/19537004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@215944 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-06 19:10:13 +00:00
pliard@chromium.org 5df58990ce Reland r212020: Move Python setup/tear down logic into Forwarder ...
The initial attempt caused flakiness (random deadlocks). It turns out that
testserver.py was inheriting undesirable file descriptors when it was spawned
(including file lock file descriptors). Closing the unnecessary file
descriptors between fork() and exec() solves the problem.

Forwarder used to be a pain to setup/tear down across all the various
harnesses.
This CL should hopefully solve these issues by hiding these
implementation details. The host daemon is now killed once the first time that
the Forwarder class is used and the daemon running on the devices is also
killed the first time a port is forwarded for a specific device.

TBR=bulach@chromium.org
BUG=242846

Review URL: https://codereview.chromium.org/20824008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@215023 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-08-01 13:45:46 +00:00
gkanwar@chromium.org 0aee671b0a Fixes test tagging to just update the name
BUG=263053
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/19859004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@213005 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-23 00:18:10 +00:00
pliard@chromium.org 014efa0322 Revert "Reland r212020: Move Python setup/tear down logic into Forwarder ..."
This reverts r212020 which caused some timeouts on the net_unittests every ~15
builds.

Conflicts:
	build/android/pylib/base/test_dispatcher.py
	build/android/pylib/instrumentation/test_runner.py
	chrome/test/chromedriver/run_py_tests.py

TBR=bulach@chromium.org
BUG=262573,242846

Review URL: https://codereview.chromium.org/19844006

git-svn-id: http://src.chromium.org/svn/trunk/src/build@212888 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-22 15:56:17 +00:00
gkanwar@google.com be15ecbdeb [Android] Redesigns the sharder to allow replicated vs distributed tests
In addition, cleans up dispatch.

BUG=259063, 259128
NOTRY=True

Review URL: https://chromiumcodereview.appspot.com/18770008

git-svn-id: http://src.chromium.org/svn/trunk/src/build@212663 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-19 22:08:37 +00:00