Disable b_ndebug tests on MSVC

pull/3286/head
Aleksey Filippov 7 years ago committed by Nirbheek Chauhan
parent 6795b619c6
commit 848ee45bb2
  1. 4
      test cases/common/185 ndebug if-release enabled/meson.build
  2. 4
      test cases/common/186 ndebug if-release disabled/meson.build
  3. 4
      test cases/unit/25 ndebug if-release/meson.build

@ -4,4 +4,8 @@ project('ndebug enabled', 'c',
'b_ndebug=if-release',
])
if meson.get_compiler('c').get_id() == 'msvc'
error('MESON_SKIP_TEST b_ndebug is not supported on Visual Studio')
endif
test('exe', executable('main', 'main.c'))

@ -4,4 +4,8 @@ project('ndebug disabled', 'c',
'b_ndebug=if-release',
])
if meson.get_compiler('c').get_id() == 'msvc'
error('MESON_SKIP_TEST b_ndebug is not supported on Visual Studio')
endif
test('exe', executable('main', 'main.c'))

@ -1,3 +1,7 @@
project('ndebug enabled', 'c')
if meson.get_compiler('c').get_id() == 'msvc'
error('MESON_SKIP_TEST b_ndebug is not supported on Visual Studio')
endif
executable('main', 'main.c')

Loading…
Cancel
Save