blob: a71b3bd9a32eea95be53b3571ed0be2c16cff64e [file] [log] [blame]
Ben Murdoch097c5b22016-05-18 11:27:45 +01001#!/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()