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

Unified Diff: chrome/test/mini_installer/test_installer.py

Issue 2802713002: Enable side-by-side beta and dev channels. (Closed)
Patch Set: add missing test stanza for reland Created 3 years, 8 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 | « chrome/test/mini_installer/mini_installer_test.gni ('k') | chrome/test/mini_installer/variable_expander.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/mini_installer/test_installer.py
diff --git a/chrome/test/mini_installer/test_installer.py b/chrome/test/mini_installer/test_installer.py
index c0c9a91e3b7314954d49ff6a0fb09ffef640403e..21f10a9f2e4917e9020dd2839cb8c1cc9e2d340a 100644
--- a/chrome/test/mini_installer/test_installer.py
+++ b/chrome/test/mini_installer/test_installer.py
@@ -207,9 +207,17 @@ def RunCleanCommand(force_clean, variable_expander):
(True, '$CHROME_LONG_NAME', '--system-level',
'$CHROME_UPDATE_REGISTRY_SUBKEY'),
]
- if variable_expander.Expand('$SUPPORTS_SXS') == 'True':
- data.append((False, '$CHROME_LONG_NAME_SXS', '',
- '$CHROME_UPDATE_REGISTRY_SUBKEY_SXS'))
+ if variable_expander.Expand('$BRAND') == 'Google Chrome':
+ data.extend([(False, '$CHROME_LONG_NAME_BETA', '',
+ '$CHROME_UPDATE_REGISTRY_SUBKEY_BETA'),
+ (True, '$CHROME_LONG_NAME_BETA', '--system-level',
+ '$CHROME_UPDATE_REGISTRY_SUBKEY_BETA'),
+ (False, '$CHROME_LONG_NAME_DEV', '',
+ '$CHROME_UPDATE_REGISTRY_SUBKEY_DEV'),
+ (True, '$CHROME_LONG_NAME_DEV', '--system-level',
+ '$CHROME_UPDATE_REGISTRY_SUBKEY_DEV'),
+ (False, '$CHROME_LONG_NAME_SXS', '',
+ '$CHROME_UPDATE_REGISTRY_SUBKEY_SXS')])
interactive_option = '--interactive' if not force_clean else ''
for system_level, product_name, product_switch, registry_subkey in data:
« no previous file with comments | « chrome/test/mini_installer/mini_installer_test.gni ('k') | chrome/test/mini_installer/variable_expander.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698