| 21 | | The most common case is that only one test is allocated for one feature (e.g. decoder, muxer, hashing algorithm, etc.). Let's open `tests/fate/audio.mak`, which is a file containing tests for audio codecs. |
| | 21 | The most common case is that only one test is allocated for one feature (e.g. decoder, muxer, hashing algorithm, etc.). Let's open `tests/fate/audio.mak`, which contains tests for audio codecs, and scroll down to a test named `fate-dts`. For convenience, you can also see a copy of the recipe below. |
| | 22 | |
| | 23 | {{{ |
| | 24 | FATE_SAMPLES_AUDIO-$(call DEMDEC, MPEGTS, DCA) += fate-dts |
| | 25 | fate-dts: CMD = pcm -i $(TARGET_SAMPLES)/dts/dts.ts |
| | 26 | fate-dts: CMP = oneoff |
| | 27 | fate-dts: REF = $(SAMPLES)/dts/dts.pcm |
| | 28 | }}} |
| | 29 | |
| | 30 | This is one of the simplest tests for FFmpeg. Look at the first quoted line. It adds `fate-dts` to a weird variable containing a call to `DEMDEC`. That function returns |