MSVC: Always enable common tests 137 and 170

This will test the "whole archive" and "generator link whole" for all
Visual C++ versions.
pull/8807/head
Chun-wei Fan 4 years ago committed by Dylan Baker
parent bbb6f2c51c
commit 0a0639ec06
  1. 8
      test cases/common/137 whole archive/meson.build
  2. 7
      test cases/common/170 generator link whole/meson.build

@ -6,14 +6,6 @@ endif
add_project_arguments('-I' + meson.source_root(), language : 'c')
cc = meson.get_compiler('c')
if cc.get_id() == 'msvc'
if cc.version().version_compare('<19')
error('MESON_SKIP_TEST link_whole only works on VS2015 or newer.')
endif
endif
# Test 1: link_whole keeps all symbols
# Make static func1
subdir('st_func1')

@ -4,13 +4,6 @@ if meson.backend() == 'xcode'
error('MESON_SKIP_TEST: whole-archive not supported in Xcode. Patches welcome.')
endif
cc = meson.get_compiler('c')
if cc.get_id() == 'msvc'
if cc.version().version_compare('<19')
error('MESON_SKIP_TEST link_whole only works on VS2015 or newer.')
endif
endif
# This just generates foo.h and foo.c with int foo() defined.
gen_py = find_program('generator.py')
gen = generator(gen_py,

Loading…
Cancel
Save