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

Unified Diff: client/deps/chrome_test/chrome_test.py

Issue 669195: Added test for CHROME_ORIGIN presence, should fix the build. (Closed)
Patch Set: Created 10 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 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: client/deps/chrome_test/chrome_test.py
diff --git a/client/deps/chrome_test/chrome_test.py b/client/deps/chrome_test/chrome_test.py
index a876836bd39ba220acb9ad778d64ebb807844d05..a84662215fd5ea9cc086fdfcca0f1de9f9d07b28 100755
--- a/client/deps/chrome_test/chrome_test.py
+++ b/client/deps/chrome_test/chrome_test.py
@@ -10,10 +10,11 @@ from autotest_lib.client.bin import utils
version = 1
def setup(top_dir):
- if os.environ['CHROME_ORIGIN'] != 'LOCAL_SOURCE':
+ if 'CHROME_ORIGIN' not in os.environ.keys() or \
+ os.environ['CHROME_ORIGIN'] != 'LOCAL_SOURCE':
logging.info('Skipping Chrome test resource setup for non-local builds')
return
-
+
chrome_test_files = os.environ['SYSROOT'] + '/usr/local/autotest-chrome'
logging.info('Configuring chrome test resources in %s' % top_dir)
testsrc_dir = top_dir + '/test_src'
« 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