From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- .../gyp/test/win/gyptest-link-enable-winrt.py | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 third_party/python/gyp/test/win/gyptest-link-enable-winrt.py (limited to 'third_party/python/gyp/test/win/gyptest-link-enable-winrt.py') diff --git a/third_party/python/gyp/test/win/gyptest-link-enable-winrt.py b/third_party/python/gyp/test/win/gyptest-link-enable-winrt.py new file mode 100644 index 0000000000..5e0493aade --- /dev/null +++ b/third_party/python/gyp/test/win/gyptest-link-enable-winrt.py @@ -0,0 +1,37 @@ +#!/usr/bin/env python + +# Copyright (c) 2013 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 msvs_enable_winrt works correctly. +""" + +from __future__ import print_function + +import TestGyp + +import os +import sys +import struct + +CHDIR = 'enable-winrt' + +print('This test is not currently working on the bots: https://code.google.com/p/gyp/issues/detail?id=466') +sys.exit(0) + +if (sys.platform == 'win32' and + int(os.environ.get('GYP_MSVS_VERSION', 0)) >= 2013): + test = TestGyp.TestGyp(formats=['msvs']) + + test.run_gyp('enable-winrt.gyp', chdir=CHDIR) + + test.build('enable-winrt.gyp', 'enable_winrt_dll', chdir=CHDIR) + + test.build('enable-winrt.gyp', 'enable_winrt_missing_dll', chdir=CHDIR, + status=1) + + test.build('enable-winrt.gyp', 'enable_winrt_winphone_dll', chdir=CHDIR) + + test.pass_test() -- cgit v1.2.3