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

Unified Diff: build/android/pylib/gtest/gtest_test_instance.py

Issue 1413253002: Android: Fix error message when trying to run gtest that is not built (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/gtest/gtest_test_instance.py
diff --git a/build/android/pylib/gtest/gtest_test_instance.py b/build/android/pylib/gtest/gtest_test_instance.py
index d276592d793bdc5abf0a0a0984074566a25356ab..626e120ac19e8741a8f0d8055c60c9b9f22a97db 100644
--- a/build/android/pylib/gtest/gtest_test_instance.py
+++ b/build/android/pylib/gtest/gtest_test_instance.py
@@ -160,7 +160,7 @@ class GtestTestInstance(test_instance.TestInstance):
if not os.path.exists(self._exe_path):
self._exe_path = None
- if not apk_path and not self._exe_path:
+ if not self._apk_helper and not self._exe_path:
error_func('Could not find apk or executable for %s' % self._suite)
self._data_deps = []
« 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