Index: test/ninja/sanitize-rule-names/gyptest-sanitize-rule-names.py |
diff --git a/test/ninja/sanitize-rule-names/gyptest-sanitize-rule-names.py b/test/ninja/sanitize-rule-names/gyptest-sanitize-rule-names.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8f00f9b06cec83ff11c03e7770252a9f2789c379 |
--- /dev/null |
+++ b/test/ninja/sanitize-rule-names/gyptest-sanitize-rule-names.py |
@@ -0,0 +1,17 @@ |
+#!/usr/bin/env python |
+ |
+# Copyright (c) 2012 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. |
+ |
+""" |
+Make sure rule names with non-"normal" characters in them don't cause |
+invalid .ninja files. |
+""" |
+ |
+import TestGyp |
+ |
+test = TestGyp.TestGyp(formats=['ninja']) |
+test.run_gyp('sanitize-rule-names.gyp') |
+test.build('sanitize-rule-names.gyp', test.ALL) |
Nico
2012/04/30 21:30:33
Nothing in this test looks ninja-specific. Should
scottmg
2012/04/30 21:33:04
Yeah, good point. I don't think any other generato
|
+test.pass_test() |