Browse Source

disable mp3 tests by default

remove_deprecated_ffmpeg_api
Alexandros Theodotou 3 years ago
parent
commit
5cfbede9a6
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 6
      meson_options.txt
  2. 16
      tests/meson.build

6
meson_options.txt

@ -28,3 +28,9 @@ option ( @@ -28,3 +28,9 @@ option (
value: true,
yield: true,
description: 'Compile tests')
option (
'mp3_tests',
type: 'boolean',
value: false,
description: 'Compile mp3 tests')

16
tests/meson.build

@ -29,13 +29,13 @@ if get_option ('tests') @@ -29,13 +29,13 @@ if get_option ('tests')
meson.current_source_dir(), 'test.wav'),
'44000',
])
if have_ffmpeg
test (
'mp3_test', e,
args: [
join_paths (
meson.current_source_dir(), 'test.mp3'),
'48000',
])
if have_ffmpeg and get_option ('mp3_tests')
test (
'mp3_test', e,
args: [
join_paths (
meson.current_source_dir(), 'test.mp3'),
'48000',
])
endif
endif

Loading…
Cancel
Save