blob: 3e0168b67876a8750d96e54d350bb8c8e9c04406 [file] [log] [blame]
Ben Murdoch097c5b22016-05-18 11:27:45 +01001# Copyright (c) 2016 Google Inc. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import TestGyp
6
7import os
8import sys
9
10if (sys.platform == 'win32' and
11 int(os.environ.get('GYP_MSVS_VERSION', 0)) >= 2015):
12 test = TestGyp.TestGyp(formats=['msvs'])
13
14 CHDIR = 'compiler-flags'
15
16 test.run_gyp('compile-as-winrt.gyp', chdir=CHDIR)
17
18 test.build('compile-as-winrt.gyp', 'test-compile-as-winrt', chdir=CHDIR)
19
20 test.pass_test()