Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1139)

Side by Side Diff: android_webview/tools/system_webview_shell/test/data/run_tests.sh

Issue 2659843003: [WebView] Fix the run_tests.sh script and add documentation. (Closed)
Patch Set: update documentation and copyright Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | android_webview/tools/system_webview_shell/test/data/run_tests_rebaseline.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2
3 # Copyright 2015 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 PACKAGE_NAME="org.chromium.webview_shell.test"
8 DEVICE_WEBVIEW_TEST_PATH="/sdcard/chromium_tests_root/android_webview/tools/"
9 DEVICE_WEBVIEW_TEST_PATH+="system_webview_shell/test/data/"
10 TESTRUNNER="../../../../build/android/test_runner.py"
11
12 $TESTRUNNER instrumentation \
13 --test-apk SystemWebViewShellLayoutTest \
14 -f 'WebViewLayoutTest*' \
15 --isolate-file-path android_webview/system_webview_shell_test_apk.isolate
16
17 if [ "$1" = "rebaseline" ]; then
18 adb shell am instrument -w -e mode rebaseline -e class \
19 $PACKAGE_NAME.WebViewLayoutTest \
20 $PACKAGE_NAME/$PACKAGE_NAME.WebViewLayoutTestRunner
21 adb pull $DEVICE_WEBVIEW_TEST_PATH ../test_rebaseline/
22 fi
23
24 exit 0
OLDNEW
« no previous file with comments | « no previous file | android_webview/tools/system_webview_shell/test/data/run_tests_rebaseline.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698