Bug 1355579 - Remove last references to spsProfile in the tree. r?dustin
MozReview-Commit-ID: 9kZeiaFWZCp
--- a/taskcluster/taskgraph/test/test_try_option_syntax.py
+++ b/taskcluster/taskgraph/test/test_try_option_syntax.py
@@ -284,18 +284,18 @@ class TestTryOptionSyntax(unittest.TestC
self.assertEqual(tos.notifications, None)
def test_setenv(self):
"--setenv VAR=value adds a environment variables setting to env"
tos = TryOptionSyntax('try: --setenv VAR1=value1 --setenv VAR2=value2', empty_graph)
self.assertEqual(tos.env, ['VAR1=value1', 'VAR2=value2'])
def test_profile(self):
- "--spsProfile sets profile to true"
- tos = TryOptionSyntax('try: --spsProfile', empty_graph)
+ "--geckoProfile sets profile to true"
+ tos = TryOptionSyntax('try: --geckoProfile', empty_graph)
self.assertTrue(tos.profile)
def test_tag(self):
"--tag TAG sets tag to TAG value"
tos = TryOptionSyntax('try: --tag tagName', empty_graph)
self.assertEqual(tos.tag, 'tagName')
def test_no_retry(self):
--- a/taskcluster/taskgraph/transforms/tests.py
+++ b/taskcluster/taskgraph/transforms/tests.py
@@ -582,17 +582,17 @@ def set_retry_exit_status(config, tests)
yield test
@transforms.add
def set_profile(config, tests):
"""Set profiling mode for tests."""
for test in tests:
if config.config['args'].profile and test['suite'] == 'talos':
- test['mozharness']['extra-options'].append('--spsProfile')
+ test['mozharness']['extra-options'].append('--geckoProfile')
yield test
@transforms.add
def set_tag(config, tests):
"""Set test for a specific tag."""
for test in tests:
tag = config.config['args'].tag
--- a/taskcluster/taskgraph/try_option_syntax.py
+++ b/taskcluster/taskgraph/try_option_syntax.py
@@ -227,17 +227,17 @@ def parse_message(message):
parser.add_argument('-e', '--all-emails',
dest='notifications', action='store_const', const='all')
parser.add_argument('-f', '--failure-emails',
dest='notifications', action='store_const', const='failure')
parser.add_argument('-j', '--job', dest='jobs', action='append')
parser.add_argument('--rebuild-talos', dest='talos_trigger_tests', action='store',
type=int, default=1)
parser.add_argument('--setenv', dest='env', action='append')
- parser.add_argument('--spsProfile', dest='profile', action='store_true')
+ parser.add_argument('--geckoProfile', dest='profile', action='store_true')
parser.add_argument('--tag', dest='tag', action='store', default=None)
parser.add_argument('--no-retry', dest='no_retry', action='store_true')
parser.add_argument('--include-nightly', dest='include_nightly', action='store_true')
# While we are transitioning from BB to TC, we want to push jobs to tc-worker
# machines but not overload machines with every try push. Therefore, we add
# this temporary option to be able to push jobs to tc-worker.
parser.add_argument('-w', '--taskcluster-worker',