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

Unified Diff: scripts/slave/recipes/chromium.py

Issue 1588793002: Support variable substitution and tryserver- and waterfall-only cmd line args. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 11 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: scripts/slave/recipes/chromium.py
diff --git a/scripts/slave/recipes/chromium.py b/scripts/slave/recipes/chromium.py
index 436199651cc62f85a6281944d99609b515a7d45e..7411ed4b15935ef520a729c299b13416e75f919a 100644
--- a/scripts/slave/recipes/chromium.py
+++ b/scripts/slave/recipes/chromium.py
@@ -178,6 +178,17 @@ def GenTests(api):
'gtest_tests': [
'base_unittests',
{'test': 'browser_tests', 'shard_index': 0, 'total_shards': 2},
+ {
+ 'test': 'content_unittests',
+ 'args': ['--correct-common-arg'],
+ 'precommit_args': ['--THIS-ARG-SHOULD-NOT-BE-PRESENT'],
+ 'non_precommit_args': [
+ '--these-args-should-be-present',
+ '--mastername=\"${master_name}\"',
+ '--buildername=\"${builder_name}\"',
+ '--buildrevision=\"${build_revision}\"',
+ ],
+ },
],
},
}))

Powered by Google App Engine
This is Rietveld 408576698