summaryrefslogtreecommitdiff
path: root/other-licenses/gyp-deps/tools/gyp/test/mac/gyptest-unicode-settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'other-licenses/gyp-deps/tools/gyp/test/mac/gyptest-unicode-settings.py')
-rw-r--r--other-licenses/gyp-deps/tools/gyp/test/mac/gyptest-unicode-settings.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/other-licenses/gyp-deps/tools/gyp/test/mac/gyptest-unicode-settings.py b/other-licenses/gyp-deps/tools/gyp/test/mac/gyptest-unicode-settings.py
new file mode 100644
index 000000000..a71b3bd9a
--- /dev/null
+++ b/other-licenses/gyp-deps/tools/gyp/test/mac/gyptest-unicode-settings.py
@@ -0,0 +1,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()