gyptest-unicode-settings.py 539 B

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