aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2021-05-27 18:03:18 +0800
committerDylan Baker <dylan@pnwbakers.com>2021-05-27 09:54:37 -0700
commit45af5d9d72f239c88c03b5b52651e900bb07ad8e (patch)
tree7d0ddc3ab65556d371436ca968dde379a1768958
parent0a0639ec06de4c1f6a60faf84623f30fc2be5849 (diff)
downloadmeson-45af5d9d72f239c88c03b5b52651e900bb07ad8e.zip
meson-45af5d9d72f239c88c03b5b52651e900bb07ad8e.tar.gz
meson-45af5d9d72f239c88c03b5b52651e900bb07ad8e.tar.bz2
test cases: Disable whole archive test on older VS IDE
The pre-2015 Visual Studio IDE do not handle things correctly for this test, so disable this.
-rw-r--r--test cases/common/137 whole archive/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/test cases/common/137 whole archive/meson.build b/test cases/common/137 whole archive/meson.build
index 506c723..133146b 100644
--- a/test cases/common/137 whole archive/meson.build
+++ b/test cases/common/137 whole archive/meson.build
@@ -6,6 +6,10 @@ endif
add_project_arguments('-I' + meson.source_root(), language : 'c')
+if meson.backend() == 'vs2010'
+ error('MESON_SKIP_TEST whole-archive not supported in VS2010. Patches welcome.')
+endif
+
# Test 1: link_whole keeps all symbols
# Make static func1
subdir('st_func1')