mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Bug 1391123
- Add a newline to the end of try_task_config.json r=gps
MozReview-Commit-ID: BtQntIHOo2G --HG-- extra : rebase_source : b8e6d6a32ea728590bf4aec85c7605a8829d47c1
This commit is contained in:
parent
c36e650732
commit
44fefedf8c
@ -11,6 +11,7 @@ Test fuzzy selector
|
||||
"test/foo-opt"
|
||||
]
|
||||
}
|
||||
|
||||
$ ./mach try fuzzy $testargs -q "'bar"
|
||||
no tasks selected
|
||||
$ ./mach try fuzzy $testargs --full -q "'bar"
|
||||
@ -22,6 +23,7 @@ Test fuzzy selector
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Test templates
|
||||
|
||||
$ ./mach try fuzzy --no-push --artifact -q "'foo"
|
||||
@ -37,6 +39,7 @@ Test templates
|
||||
"test/foo-opt"
|
||||
]
|
||||
}
|
||||
|
||||
$ ./mach try fuzzy $testargs --env FOO=1 --env BAR=baz -q "'foo"
|
||||
Calculated try selector:
|
||||
{
|
||||
@ -51,3 +54,4 @@ Test templates
|
||||
"test/foo-opt"
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -42,6 +42,7 @@ Test preset with fuzzy subcommand
|
||||
"build-baz"
|
||||
]
|
||||
}
|
||||
|
||||
$ ./mach try fuzzy $testargs --preset baz
|
||||
Calculated try selector:
|
||||
{
|
||||
@ -49,6 +50,7 @@ Test preset with fuzzy subcommand
|
||||
"build-baz"
|
||||
]
|
||||
}
|
||||
|
||||
$ ./mach try $testargs --preset baz
|
||||
Calculated try selector:
|
||||
{
|
||||
@ -56,5 +58,6 @@ Test preset with fuzzy subcommand
|
||||
"build-baz"
|
||||
]
|
||||
}
|
||||
|
||||
$ ./mach try fuzzy $testargs --list-presets
|
||||
baz: 'baz
|
||||
|
@ -86,6 +86,7 @@ class VCSHelper(object):
|
||||
try_task_config['templates'] = templates
|
||||
|
||||
json.dump(try_task_config, fh, indent=2, separators=(',', ':'))
|
||||
fh.write('\n')
|
||||
return config
|
||||
|
||||
def check_working_directory(self, push=True):
|
||||
|
Loading…
Reference in New Issue
Block a user