summaryrefslogtreecommitdiffstats
path: root/build/android/run_tests.py
diff options
context:
space:
mode:
authorbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-11 15:41:56 +0000
committerbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-11 15:41:56 +0000
commit117cae2668f9004d64df74a642591d41f6bfef2b (patch)
tree8bac2070ce22ef875628773d717fd858caf4aa58 /build/android/run_tests.py
parent3ac8b1c27bd58b0476648678f076150ff60a8713 (diff)
downloadchromium_src-117cae2668f9004d64df74a642591d41f6bfef2b.zip
chromium_src-117cae2668f9004d64df74a642591d41f6bfef2b.tar.gz
chromium_src-117cae2668f9004d64df74a642591d41f6bfef2b.tar.bz2
Android: upstream latest changes for build/android.
- uses $EXTERNAL_STORAGE rather than /sdcard - split PerfTEstSetup from android_commands.py BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10914199 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156017 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/android/run_tests.py')
-rwxr-xr-xbuild/android/run_tests.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/build/android/run_tests.py b/build/android/run_tests.py
index 95abe1d..84a1399 100755
--- a/build/android/run_tests.py
+++ b/build/android/run_tests.py
@@ -8,17 +8,18 @@
1. Copy over test binary to /data/local on device.
2. Resources: chrome/unit_tests requires resources (chrome.pak and en-US.pak)
- to be deployed to the device (in TEST_DATA_DIR).
+ to be deployed to the device. We use the device's $EXTERNAL_STORAGE as the
+ base dir (which maps to Context.getExternalFilesDir()).
3. Environment:
3.1. chrome/unit_tests requires (via chrome_paths.cc) a directory named:
- TEST_DATA_DIR + /chrome/test/data
+ $EXTERNAL_STORAGE + /chrome/test/data
3.2. page_cycler_tests have following requirements,
3.2.1 the following data on host:
<chrome_src_dir>/tools/page_cycler
<chrome_src_dir>/data/page_cycler
3.2.2. two data directories to store above test data on device named:
- TEST_DATA_DIR + /tools/ (for database perf test)
- TEST_DATA_DIR + /data/ (for other perf tests)
+ $EXTERNAL_STORAGE + /tools/ (for database perf test)
+ $EXTERNAL_STORAGE + /data/ (for other perf tests)
3.2.3. a http server to serve http perf tests.
The http root is host's <chrome_src_dir>/data/page_cycler/, port 8000.
3.2.4 a tool named forwarder is also required to run on device to