mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-05 14:57:30 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
|
|
@ -0,0 +1,36 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
# Copyright (c) 2012 Google Inc. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
"""
|
||||
Verifies that list xcode_settings are flattened before being exported to the
|
||||
environment.
|
||||
"""
|
||||
|
||||
import TestGyp
|
||||
|
||||
import sys
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
print "This test is currently disabled: https://crbug.com/483696."
|
||||
sys.exit(0)
|
||||
|
||||
test = TestGyp.TestGyp(formats=['ninja', 'make', 'xcode'])
|
||||
|
||||
CHDIR = 'non-strs-flattened-to-env'
|
||||
INFO_PLIST_PATH = 'Test.app/Contents/Info.plist'
|
||||
|
||||
test.run_gyp('test.gyp', chdir=CHDIR)
|
||||
test.build('test.gyp', test.ALL, chdir=CHDIR)
|
||||
info_plist = test.built_file_path(INFO_PLIST_PATH, chdir=CHDIR)
|
||||
test.must_exist(info_plist)
|
||||
test.must_contain(info_plist, '''\
|
||||
\t<key>My Variable</key>
|
||||
\t<string>some expansion</string>''')
|
||||
test.must_contain(info_plist, '''\
|
||||
\t<key>CFlags</key>
|
||||
\t<string>-fstack-protector-all -fno-strict-aliasing -DS="A Space"</string>''')
|
||||
|
||||
test.pass_test()
|
||||
Loading…
Add table
Add a link
Reference in a new issue