Disable b_ndebug tests on MSVC

pull/3274/head
Aleksey Filippov 7 years ago
parent 2febb99eee
commit 6910f604ed
  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', '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')) test('exe', executable('main', 'main.c'))

@ -4,4 +4,8 @@ project('ndebug disabled', 'c',
'b_ndebug=if-release', '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')) test('exe', executable('main', 'main.c'))

@ -1,3 +1,7 @@
project('ndebug enabled', 'c') 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') executable('main', 'main.c')

Loading…
Cancel
Save