From a2d641b90446097b2c5e84871f30335699883e83 Mon Sep 17 00:00:00 2001 From: "Matthias C. M. Troffaes" Date: Thu, 8 Oct 2020 19:34:22 +0100 Subject: [PATCH] Add test for mp3lame feature. --- test/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index aea49f8..6172956 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -9,7 +9,7 @@ endif() project(ffmpeg_test) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) -set(FEATURES "avcodec;avformat;bzip2;ffmpeg;ffplay;ffprobe;iconv;lzma;nvcodec;opus;postproc;snappy;soxr;swresample;theora;vpx;x264;x265;zlib" CACHE STRING "List of all features enabled through vcpkg.") +set(FEATURES "avcodec;avformat;bzip2;ffmpeg;ffplay;ffprobe;iconv;lzma;mp3lame;nvcodec;opus;postproc;snappy;soxr;swresample;theora;vpx;x264;x265;zlib" CACHE STRING "List of all features enabled through vcpkg.") enable_testing() function(test_for _feature _name) @@ -41,6 +41,10 @@ if ("avcodec" IN_LIST FEATURES) test_for("snappy" test_encoder_hap) add_test(NAME test_decoder_hap COMMAND test_find_decoder hap) + add_test(NAME test_encoder_libmp3lame COMMAND test_find_encoder libmp3lame) + test_for("mp3lame" test_encoder_libmp3lame) + add_test(NAME test_decoder_mp3 COMMAND test_find_decoder mp3) + add_test(NAME test_encoder_mpeg4 COMMAND test_find_encoder mpeg4) add_test(NAME test_decoder_mpeg4 COMMAND test_find_decoder mpeg4)