The CI breaking because some new format was added in the master branch is pretty annoying so only run these on release versions that are known to work to reduce some maintenance burden. Although why we even bother with this is still a valid question.
Unified · Split
| @@ -135,9 +135,9 @@ endif · 134 unmodified lines | ||
| 135 | 135 | |
| 136 | 136 | # Supported libavutil versions that work with these tests. |
| 137 | 137 | # Will need to be manually updated when ffmpeg adds/removes more formats in the future. |
| 138 | −if libavutil.version().version_compare('>= 59.0.100') | |
| 138 | +if libavutil.version().version_compare('>= 59.0.100') and libavutil.version().version_compare('<= 59.39.100') | |
| 139 | 139 | refdir = join_paths(source_root, 'test', 'ref', 'ffmpeg7') |
| 140 | −elif libavutil.version().version_compare('>= 58.27.100') | |
| 140 | +elif libavutil.version().version_compare('>= 58.27.100') and libavutil.version().version_compare('< 59.0.100') | |
| 141 | 141 | refdir = join_paths(source_root, 'test', 'ref', 'ffmpeg6') |
| 142 | 142 | endif |
| 143 | 143 | |