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

Side by Side Diff: android_webview/tools/WebViewShell/test/run_tests.sh

Issue 1541873002: [WebViewShell] Fix package name in run_tests.sh (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright 2015 The Chromium Authors. All rights reserved. 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 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 PACKAGE_NAME="org.chromium.webview_shell" 7 PACKAGE_NAME="org.chromium.webview_shell.test"
8 DEVICE_WEBVIEW_TEST_PATH="/sdcard/android_webview/tools/WebViewShell/test/" 8 DEVICE_WEBVIEW_TEST_PATH="/sdcard/android_webview/tools/WebViewShell/test/"
9 TESTRUNNER="../../../../build/android/test_runner.py" 9 TESTRUNNER="../../../../build/android/test_runner.py"
10 10
11 $TESTRUNNER instrumentation \ 11 $TESTRUNNER instrumentation \
12 --test-apk SystemWebViewShellLayoutTest \ 12 --test-apk SystemWebViewShellLayoutTest \
13 -f 'WebViewLayoutTest*' \ 13 -f 'WebViewLayoutTest*' \
14 --isolate-file-path android_webview/system_webview_shell_test_apk.isolate 14 --isolate-file-path android_webview/system_webview_shell_test_apk.isolate
15 15
16 if [ "$1" = "rebaseline" ]; then 16 if [ "$1" = "rebaseline" ]; then
17 adb shell am instrument -w -e mode rebaseline -e class \ 17 adb shell am instrument -w -e mode rebaseline -e class \
18 $PACKAGE_NAME.WebViewLayoutTest \ 18 $PACKAGE_NAME.WebViewLayoutTest \
19 $PACKAGE_NAME/$PACKAGE_NAME.WebViewLayoutTestRunner 19 $PACKAGE_NAME/$PACKAGE_NAME.WebViewLayoutTestRunner
20 adb pull $DEVICE_WEBVIEW_TEST_PATH ../test_rebaseline/ 20 adb pull $DEVICE_WEBVIEW_TEST_PATH ../test_rebaseline/
21 fi 21 fi
22 22
23 exit 0 23 exit 0
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698