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""" 8Verifies that unicode strings in 'xcode_settings' work. 9Also checks that ASCII control characters are escaped properly. 10""" 11 12import TestGyp 13 14import sys 15 16if 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