Index: test/win/gyptest-cl_character_set.py |
diff --git a/test/win/gyptest-cl_character_set.py b/test/win/gyptest-cl_character_set.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..34fa487010d24e17cc965ca0bdd4aa2937eed480 |
--- /dev/null |
+++ b/test/win/gyptest-cl_character_set.py |
@@ -0,0 +1,23 @@ |
+#!/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 character set setting is extracted properly. |
+""" |
+ |
+import TestGyp |
+ |
+import subprocess |
+import sys |
+ |
+if sys.platform == 'win32': |
+ test = TestGyp.TestGyp(formats=['ninja', 'msvs']) |
+ |
+ CHDIR = 'compiler-flags' |
+ test.run_gyp('character-set.gyp', chdir=CHDIR) |
+ test.build('character-set.gyp', test.ALL, chdir=CHDIR) |
+ |
+ test.pass_test() |