From af05db2d7dca2d0e9144e3f320ebcbac2b46016e Mon Sep 17 00:00:00 2001 From: Kaido Kert Date: Fri, 30 Aug 2024 09:02:02 -0700 Subject: [PATCH] Disable Cast codec tests by default Those codecs are not required by Technical Requirements, disabling by default. Making it configurable can be done as follow-up. b/362356408 --- starboard/nplb/player_test_util.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/starboard/nplb/player_test_util.cc b/starboard/nplb/player_test_util.cc index 0c38b9b6c56a..672aa197d9cc 100644 --- a/starboard/nplb/player_test_util.cc +++ b/starboard/nplb/player_test_util.cc @@ -60,18 +60,22 @@ const char* kAudioOnlyTestFiles[] = { "iamf_base_profile_stereo_ambisonics.dmp", "iamf_simple_profile_5_1.dmp", #endif // SB_API_VERSION >= 15 + "sintel_5s_pcm_s16le.dmp", "sintel_5s_flac.dmp", +#if defined(ENABLE_CAST_CODEC_TESTS) "sintel_5s_mp3.dmp", - "sintel_5s_pcm_s16le.dmp", "sintel_5s_vorbis.dmp", +#endif }; const char* kVideoTestFiles[] = { "beneath_the_canopy_137_avc.dmp", "beneath_the_canopy_248_vp9.dmp", "sintel_399_av1.dmp", +#if defined(ENABLE_CAST_CODEC_TESTS) "sintel_5s_vp8.dmp", "sintel_5s_hevc.dmp", +#endif }; const SbPlayerOutputMode kOutputModes[] = {kSbPlayerOutputModeDecodeToTexture,