gyptest-sanitize-rule-names.py 479 B

1234567891011121314151617
  1. #!/usr/bin/env python
  2. # Copyright (c) 2012 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. Make sure rule names with non-"normal" characters in them don't cause
  7. broken build files. This test was originally causing broken .ninja files.
  8. """
  9. import TestGyp
  10. test = TestGyp.TestGyp()
  11. test.run_gyp('sanitize-rule-names.gyp')
  12. test.build('sanitize-rule-names.gyp', test.ALL)
  13. test.pass_test()