diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2021-05-27 12:18:10 +0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-05-27 09:54:37 -0700 |
commit | 0a0639ec06de4c1f6a60faf84623f30fc2be5849 (patch) | |
tree | 1f87a1845fa1754ebc8b0ec6d1c3feb05ac3bb4f | |
parent | bbb6f2c51ce2c5d6a6dffa720dc5cdd1ddf1fb50 (diff) | |
download | meson-0a0639ec06de4c1f6a60faf84623f30fc2be5849.zip meson-0a0639ec06de4c1f6a60faf84623f30fc2be5849.tar.gz meson-0a0639ec06de4c1f6a60faf84623f30fc2be5849.tar.bz2 |
MSVC: Always enable common tests 137 and 170
This will test the "whole archive" and "generator link whole" for all
Visual C++ versions.
-rw-r--r-- | test cases/common/137 whole archive/meson.build | 8 | ||||
-rw-r--r-- | test cases/common/170 generator link whole/meson.build | 7 |
2 files changed, 0 insertions, 15 deletions
diff --git a/test cases/common/137 whole archive/meson.build b/test cases/common/137 whole archive/meson.build index 33fe1ea..506c723 100644 --- a/test cases/common/137 whole archive/meson.build +++ b/test cases/common/137 whole archive/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') diff --git a/test cases/common/170 generator link whole/meson.build b/test cases/common/170 generator link whole/meson.build index 106153a..f5d3e58 100644 --- a/test cases/common/170 generator link whole/meson.build +++ b/test cases/common/170 generator link whole/meson.build @@ -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, |