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

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: Addressed review feedback. 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 f8dbf77ae98e4baf95403b3aed8f9603e166c863..334da5a15548c3b2412324fc7bfc5338021da914 100644
--- a/scripts/slave/recipes/chromium.py
+++ b/scripts/slave/recipes/chromium.py
@@ -182,6 +182,16 @@ def GenTests(api):
'base_unittests',
{'test': 'browser_tests', 'shard_index': 0, 'total_shards': 2},
{'test': 'content_unittests', 'name': 'renamed_content_unittests'},
+ {
+ 'test': 'gl_unittests',
+ 'args': ['--correct-common-arg'],
+ 'precommit_args': ['--SHOULD-NOT-BE-PRESENT-DURING-THE-RUN'],
+ 'non_precommit_args': [
+ '--these-args-should-be-present',
+ '--test-machine-name=\"${buildername}\"',
+ '--build-revision=\"${got_revision}\"',
+ ],
+ },
],
},
}))

Powered by Google App Engine
This is Rietveld 408576698