Index: test/win/gyptest-cl-compile-as-winrt.py |
diff --git a/test/win/gyptest-cl-compile-as-winrt.py b/test/win/gyptest-cl-compile-as-winrt.py |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5cb78255129431dc926584acb1b850fff0f2948f |
--- /dev/null |
+++ b/test/win/gyptest-cl-compile-as-winrt.py |
@@ -0,0 +1,20 @@ |
+# Copyright (c) 2016 Microsoft. All rights reserved. |
scottmg
2016/04/04 22:05:18
Same.
munyirik
2016/04/11 20:07:10
Acknowledged.
|
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import TestGyp |
+ |
+import os |
+import sys |
+ |
+if (sys.platform == 'win32' and |
+ int(os.environ.get('GYP_MSVS_VERSION', 0)) == 2015): |
scottmg
2016/04/04 22:05:17
>= 2015?
munyirik
2016/04/11 20:07:10
Acknowledged.
|
+ test = TestGyp.TestGyp(formats=['msvs']) |
+ |
+ CHDIR = 'compiler-flags' |
+ |
+ test.run_gyp('compile-as-winrt.gyp', chdir=CHDIR) |
+ |
+ test.build('compile-as-winrt.gyp', 'test-compile-as-winrt', chdir=CHDIR) |
+ |
+ test.pass_test() |