mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 22:32:51 +00:00
Bug 1354581 - Make automation builds imply --enable-release at the configure level. r=cmanchester+432261
--HG-- extra : rebase_source : b6be454ec3b6aad7a1b60905ffe65e1891d4bb22
This commit is contained in:
parent
da18a9b1df
commit
7cccfe94be
@ -1049,6 +1049,7 @@ set_config('RUSTFLAGS', depends('RUSTFLAGS')(lambda flags: flags))
|
||||
|
||||
|
||||
imply_option('--enable-release', mozilla_official)
|
||||
imply_option('--enable-release', depends_if('MOZ_AUTOMATION')(lambda x: True))
|
||||
|
||||
js_option('--enable-release',
|
||||
help='Build with more conservative, release engineering-oriented '
|
||||
|
@ -14,8 +14,6 @@ mk_add_options AUTOCLOBBER=1
|
||||
|
||||
ac_add_options --enable-crashreporter
|
||||
|
||||
ac_add_options --enable-release
|
||||
|
||||
# Tell the build system where to find llvm-config for builds on automation.
|
||||
export LLVM_CONFIG="${TOOLTOOL_DIR:-$topsrcdir}/clang/bin/llvm-config"
|
||||
|
||||
|
@ -80,6 +80,8 @@ class TestToolkitMozConfigure(BaseConfigureTest):
|
||||
with self.assertRaises(InvalidOptionError):
|
||||
get_value(['--disable-release'], environ={'MOZILLA_OFFICIAL': 1})
|
||||
|
||||
self.assertEqual(get_value(environ={'MOZ_AUTOMATION': 1}), None)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
Loading…
x
Reference in New Issue
Block a user