1 #!/usr/bin/env python 2 3 # Copyright 2013 Google Inc. All rights reserved. 4 # Use of this source code is governed by a BSD-style license that can be 5 # found in the LICENSE file. 6 7 """ 8 Verifies that unicode strings in 'xcode_settings' work. 9 Also checks that ASCII control characters are escaped properly. 10 """ 11 12 import TestGyp 13 14 import sys 15 16 if sys.platform == 'darwin': 17 test = TestGyp.TestGyp(formats=['xcode']) 18 test.run_gyp('test.gyp', chdir='unicode-settings') 19 test.build('test.gyp', test.ALL, chdir='unicode-settings') 20 test.pass_test() 21