From 1cf7799df26232dda45fd94a2c5e2b1ad3851c3d Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 22 Mar 2020 21:14:56 +0200 Subject: [PATCH] Do not try to mix gcc with link.exe. --- run_unittests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run_unittests.py b/run_unittests.py index 2f7ad4330..957e1b107 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -4992,6 +4992,8 @@ class WindowsTests(BasePlatformTests): self._check_ld('lld-link', 'c', 'lld-link') def test_link_environment_variable_link(self): + if shutil.which('gcc'): + raise unittest.SkipTest('GCC can not used with link.exe.') self._check_ld('link', 'c', 'link') def test_link_environment_variable_optlink(self):