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