summaryrefslogtreecommitdiffstats
path: root/third_party/python/gyp/test/mac/gyptest-unicode-settings.py
blob: a71b3bd9a32eea95be53b3571ed0be2c16cff64e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python

# Copyright 2013 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 unicode strings in 'xcode_settings' work.
Also checks that ASCII control characters are escaped properly.
"""

import TestGyp

import sys

if sys.platform == 'darwin':
  test = TestGyp.TestGyp(formats=['xcode'])
  test.run_gyp('test.gyp', chdir='unicode-settings')
  test.build('test.gyp', test.ALL, chdir='unicode-settings')
  test.pass_test()