aboutsummaryrefslogtreecommitdiff
path: root/test cases/unit
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-03-29 20:56:52 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2017-04-02 00:07:23 +0300
commit1b81b32afbe516f9230393cd5706de692531e10c (patch)
treee1e3144610a9fa7e666d0bb6b536e7cafae2b7fd /test cases/unit
parent553ac89e02c170b504c495e83164a7a9d15198f4 (diff)
downloadmeson-1b81b32afbe516f9230393cd5706de692531e10c.zip
meson-1b81b32afbe516f9230393cd5706de692531e10c.tar.gz
meson-1b81b32afbe516f9230393cd5706de692531e10c.tar.bz2
Add test for werror which is a boolean type.
Diffstat (limited to 'test cases/unit')
-rw-r--r--test cases/unit/6 std override/meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/test cases/unit/6 std override/meson.build b/test cases/unit/6 std override/meson.build
index 35af1e8..ef2baac 100644
--- a/test cases/unit/6 std override/meson.build
+++ b/test cases/unit/6 std override/meson.build
@@ -1,8 +1,10 @@
project('cpp std override', 'cpp',
- default_options : 'cpp_std=c++03')
+ default_options : ['cpp_std=c++03',
+ 'werror=true'])
executable('plain', 'progp.cpp',
override_options : 'cpp_std=none')
-executable('v03', 'prog03.cpp')
+executable('v03', 'prog03.cpp',
+ override_options : 'werror=false')
executable('v11', 'prog11.cpp',
override_options : 'cpp_std=c++11')