Changes between Version 5 and Version 6 of FATE/AddingATest
- Timestamp:
- Apr 12, 2014, 9:03:02 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FATE/AddingATest
v5 v6 28 28 }}} 29 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`. The `DEMDEC` function returns "yes" if the required `DEM`uxer and `DEC`oder , in this case the `mpegts` demuxer and `dca` decoder, are enabled. So `fate-dts`, the target name of the test, gets added into `FATE_SAMPLES_AUDIO-yes` variable.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`. The `DEMDEC` function returns "yes" if the required `DEM`uxer and `DEC`oder are enabled, in this case the `mpegts` demuxer and `dca` decoder. So `fate-dts`, the target name of the test, gets added into `FATE_SAMPLES_AUDIO-yes` variable. 31 31 32 32 Then, if you look at the end of the file: … … 44 44 Keep in mind that different tests may have different variable prefixes. Not all tests can be categorized into `FATE_SAMPLES_FFMPEG` variable. 45 45 46 If only one component for the test you want to add is required, you can replace `$(call DEMDEC, MPEGTS, DCA)` with `$(CONFIG_*)`. 46 {{{ 47 #!div style="border: 1pt dotted; margin: 1em; background-color: #fffff9;" 48 49 '''Notes:''' 50 * If only one component for the test you want to add is required, you can replace `$(call DEMDEC, MPEGTS, DCA)` with `$(CONFIG_*)`. 51 * There are many functions similar to `DEMDEC` but offers other checks like encoder and muxer (`MUXENC`). Check `tests/Makefile` for more info. 52 }}} 47 53 48 54 == Filter Tests ==
