summaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-10-01 20:43:08 +0100
committerJon Turney <jon.turney@dronecode.org.uk>2018-11-04 15:42:06 +0000
commitac17f168eac45943fe972233835df68703579d7a (patch)
treed9828301f0361d9cccb7b54b3ce77053c24b982b /test cases
parentd528a8d2815741773bdd70378ba2ac964cc2530a (diff)
downloadmeson-ac17f168eac45943fe972233835df68703579d7a.tar.gz
Accomodate clang-cl in test common/127
clang-cl does support '-Wmissing-include-dirs' (unlike msvc), but doesn't (currently) support '/ZI' (which is used by the default 'debug' buildtype), the presence of which will cause an 'unknown-argument' warning, which is treated as an error with 'Werror'. Adjust the default buildtype so this test can pass with clang-cl
Diffstat (limited to 'test cases')
-rw-r--r--test cases/common/127 no buildincdir/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/common/127 no buildincdir/meson.build b/test cases/common/127 no buildincdir/meson.build
index ac69e8e46..53f1a7f58 100644
--- a/test cases/common/127 no buildincdir/meson.build
+++ b/test cases/common/127 no buildincdir/meson.build
@@ -1,5 +1,5 @@
project('nobuilddir', 'c',
- default_options : 'werror=true')
+ default_options : ['werror=true', 'buildtype=plain'])
cc = meson.get_compiler('c')