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

Unified Diff: build/android/test_runner.py

Issue 2974163002: Fix the stack script issue when symbolizing tombstones. (Closed)
Patch Set: Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: build/android/test_runner.py
diff --git a/build/android/test_runner.py b/build/android/test_runner.py
index 835888b02a16a9a11cec9f042f678f9a60149ebd..58878a9ab39dd501761055e4287635e60cdc6b8f 100755
--- a/build/android/test_runner.py
+++ b/build/android/test_runner.py
@@ -14,6 +14,7 @@ import logging
import os
import shutil
import signal
+import subprocess
import sys
import threading
import traceback
@@ -786,6 +787,12 @@ def RunTestsInPlatformMode(args):
upload_logcats_file(),
'upload_logcats_file' in args and args.upload_logcats_file)
+ if args.apk_under_test:
+ subprocess.check_call(
+ 'unzip -o %s -d %s' % (args.apk_under_test,
+ constants.GetOutDirectory()),
+ shell=True)
mikecase (-- gone --) 2017/07/10 22:51:33 where is the unzipped APK used?
BigBossZhiling 2017/07/11 08:02:58 hmm I thought the stack file would automatically s
+
### Set up test objects.
env = environment_factory.CreateEnvironment(args, infra_error)

Powered by Google App Engine
This is Rietveld 408576698