yang.gu@intel.com
63283308f4
Add option device in install apk script
...
Sometimes we need to designate device to install apk on, so this option
is needed.
BUG=
Review URL: https://codereview.chromium.org/321403002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@277050 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-13 18:08:25 +00:00
jbudorick@chromium.org
f117f4656f
[Android] Switch to DeviceUtils versions of Reboot and Install.
...
BUG=267773
NOTRY=true
Review URL: https://codereview.chromium.org/292313015
git-svn-id: http://src.chromium.org/svn/trunk/src/build@276702 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-12 16:24:23 +00:00
mlamouri@chromium.org
a208acb79f
Make adb_install_apk.py saner for humans.
...
Scripts like that usually do not require a --option if this is a
mandatory singleton argument. Also, forgetting to pass the extension
sounds like something that the script could simply handle.
BUG=None
Review URL: https://codereview.chromium.org/286423002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@275755 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-08 20:11:16 +00:00
jbudorick@chromium.org
0408408ab5
[Android] Support generic parallel execution across devices.
...
BUG=267773
Review URL: https://codereview.chromium.org/290573004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@272159 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-22 11:13:40 +00:00
mlamouri@chromium.org
b61ea82960
Move AddBuildTypeOption to adb_install_apk.py and remove test_options_parser.py
...
BUG=None
Review URL: https://codereview.chromium.org/292653003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@271820 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-05-21 02:27:41 +00:00
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
craigdh@chromium.org
436edf51e9
[android] Relands: Adds constants.GetBuildDirectory() and converts test scripts to use it.
...
BUG=260494
TEST=None
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/23494039
git-svn-id: http://src.chromium.org/svn/trunk/src/build@222313 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-10 18:29:03 +00:00
johnme@chromium.org
802e2f3b10
Revert 221736 "[android] Adds constants.GetOutDirectory() and co..."
...
Consistently causing WebKit Android (Nexus4) to fail provision_devices.
> [android] Adds constants.GetOutDirectory() and converts test scripts to use it.
>
> BUG=260494
> TEST=None
> NOTRY=True
>
> Review URL: https://chromiumcodereview.appspot.com/22903016
TBR=craigdh@chromium.org
Review URL: https://codereview.chromium.org/23926012
git-svn-id: http://src.chromium.org/svn/trunk/src/build@222008 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-09 11:36:03 +00:00
craigdh@chromium.org
babb42acc8
[android] Adds constants.GetOutDirectory() and converts test scripts to use it.
...
BUG=260494
TEST=None
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/22903016
git-svn-id: http://src.chromium.org/svn/trunk/src/build@221736 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-09-06 18:11:02 +00:00
craigdh@chromium.org
08bbe7f14d
[android] Fix adb_install_apk.py's printed message.
...
BUG=None
TEST=None
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/21133007
git-svn-id: http://src.chromium.org/svn/trunk/src/build@214710 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-31 13:41:20 +00:00
gkanwar@google.com
0c42207094
Relands test_runner.py, updates buildbot scripts
...
Relands 210035 ("Creates a new test running script test_runner.py"),
and updates the buildbot scripts to point to the test_runner.py script,
so the buildbots don't get deprecated warnings.
BUG=248351
Review URL: https://chromiumcodereview.appspot.com/18514008
git-svn-id: http://src.chromium.org/svn/trunk/src/build@210538 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-09 09:03:26 +00:00
ilevy@chromium.org
56f6e3c191
Revert 210035 "Creates a new test running script test_runner.py"
...
Causes android buildbots to spew deprecation warnings.
> Creates a new test running script test_runner.py
>
> This new script serves as a unified entry point for all tests. The
> existing scripts are now just wrappers around the new script. Old
> commands should thus still work, but you can now make use of the
> new script to run various types of tests.
>
> There are a few TODOs left:
> * Add options to run Monkey tests.
>
> Miscellaneous notes:
> * --python_test_root is now a required flag when Python host-driven
> tests are being run.
>
> BUG=248351
>
> Review URL: https://chromiumcodereview.appspot.com/15942016
TBR=gkanwar@google.com
Review URL: https://codereview.chromium.org/18732002
git-svn-id: http://src.chromium.org/svn/trunk/src/build@210251 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-05 02:29:05 +00:00
gkanwar@google.com
40f6a425e6
Creates a new test running script test_runner.py
...
This new script serves as a unified entry point for all tests. The
existing scripts are now just wrappers around the new script. Old
commands should thus still work, but you can now make use of the
new script to run various types of tests.
There are a few TODOs left:
* Add options to run Monkey tests.
Miscellaneous notes:
* --python_test_root is now a required flag when Python host-driven
tests are being run.
BUG=248351
Review URL: https://chromiumcodereview.appspot.com/15942016
git-svn-id: http://src.chromium.org/svn/trunk/src/build@210035 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-07-03 20:31:43 +00:00
frankf@chromium.org
8a450f5010
[Android] Enable running uiautomator tests.
...
- uiautomator uses instrumentation runner for results reporting.
- Separate the concept of test jar (for progaurd consumption) from test
apk
- clear the app before every uiautomator test
BUG=162742
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/12921004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@189343 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-03-20 18:06:53 +00:00
nduca@chromium.org
74c614c8f2
Add --keep_data as option to adb_install_apk
...
Useful in a compile/debug/retry workflow where you're wanting to keep some options
persisted across installs. Defaults to off so it doesn't mess anything in production.
R=craigdh@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12096018
git-svn-id: http://src.chromium.org/svn/trunk/src/build@179275 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-01-29 02:43:39 +00:00
craigdh@chromium.org
812aa2ed50
[Android] Fix for apk_info.py dependency error.
...
BUG=168813
TEST=adb_install_apk.py --apk=$PATH_TO_APK
Review URL: https://codereview.chromium.org/11773047
git-svn-id: http://src.chromium.org/svn/trunk/src/build@175563 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-01-08 18:40:40 +00:00
craigdh@chromium.org
7e48222284
[Android] Move GTest options to test_options_parser.py.
...
Also move some packages to utils.
BUG=167331
TEST=run_tests.py, device_stats_monitor.py
Review URL: https://codereview.chromium.org/11759012
git-svn-id: http://src.chromium.org/svn/trunk/src/build@175397 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-01-07 22:21:47 +00:00
frankf@google.com
05a3d7fd74
[Android] Revert 175082
...
> Separate apk_info and jar_info and move to utils dir.
>
> This is in preparation for adding uiautomator test runner
> which runs tests without an apk.
>
> BUG=167331
>
> Review URL: https://codereview.chromium.org/11741025
TBR=craigdh@chromium.org
These will be replaced with concept of test packages.
Review URL: https://codereview.chromium.org/11780003
git-svn-id: http://src.chromium.org/svn/trunk/src/build@175218 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-01-04 22:42:20 +00:00
frankf@google.com
50abe55900
Separate apk_info and jar_info and move to utils dir.
...
This is in preparation for adding uiautomator test runner
which runs tests without an apk.
BUG=167331
Review URL: https://codereview.chromium.org/11741025
git-svn-id: http://src.chromium.org/svn/trunk/src/build@175082 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-01-04 02:12:50 +00:00
bulach@chromium.org
a093bd53df
Android: makes "apk_package" optional in adb_install_apk.py
...
We can derive the package name from the mandatory apk.
BUG=
TEST=adb_install_apk.py --apk ContentShell.apk
Review URL: https://chromiumcodereview.appspot.com/11365004
git-svn-id: http://src.chromium.org/svn/trunk/src/build@165450 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-11-01 18:55:26 +00:00
klundberg@chromium.org
b1a4c11621
Adds AndroidWebView and ChromiumTestShell tests to the Android FYI bot.
...
TEST=Ran the changes through the Android FYI (android_fyi_dbg) trybot.
BUG=152492
Review URL: https://codereview.chromium.org/10993069
git-svn-id: http://src.chromium.org/svn/trunk/src/build@159768 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-10-02 21:12:25 +00:00