This can be useful in known-broken scenarios like miscompilation by legacy compilers and similar. ---
Yeah, one could come up with more elaborate solutions, but this already works and we have cases where it could be useful right away... configure | 3 +++ tests/Makefile | 2 ++ 2 files changed, 5 insertions(+) diff --git a/configure b/configure index 7d4a4ab..be27c1a 100755 --- a/configure +++ b/configure @@ -347,6 +347,7 @@ Developer options (useful when working on Libav itself): --random-seed=VALUE seed value for --enable/disable-random --disable-valgrind-backtrace do not print a backtrace under Valgrind (only applies to --disable-optimizations builds) + --skip-tests=TESTS whitespace-separated list of FATE tests to skip NOTE: Object files are built at the place where configure is launched. EOF @@ -1808,6 +1809,7 @@ CMDLINE_SET=" pkg_config_flags random_seed samples + skip_tests sysinclude sysroot target_exec @@ -5313,6 +5315,7 @@ SLIB_INSTALL_EXTRA_LIB=${SLIB_INSTALL_EXTRA_LIB} SLIB_INSTALL_EXTRA_SHLIB=${SLIB_INSTALL_EXTRA_SHLIB} VERSION_SCRIPT_POSTPROCESS_CMD=${VERSION_SCRIPT_POSTPROCESS_CMD} SAMPLES:=${samples:-\$(LIBAV_SAMPLES)} +SKIP_TESTS=$skip_tests EOF get_version(){ diff --git a/tests/Makefile b/tests/Makefile index 36a3a72..4bcdc4a 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -142,6 +142,8 @@ endif FATE_UTILS = base64 tiny_psnr +FATE := $(filter-out $(SKIP_TESTS),$(FATE)) + fate: $(FATE) $(FATE): $(FATE_UTILS:%=tests/%$(HOSTEXESUF)) -- 2.7.3 _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel