Changes between Version 5 and Version 6 of FATE/AddingATest


Ignore:
Timestamp:
Apr 13, 2014, 12:03:02 AM (6 years ago)
Author:
Timothy_Gu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FATE/AddingATest

    v5 v6  
    2828}}}
    2929
    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.
     30This 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.
    3131
    3232Then, if you look at the end of the file:
     
    4444Keep in mind that different tests may have different variable prefixes. Not all tests can be categorized into `FATE_SAMPLES_FFMPEG` variable.
    4545
    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}}}
    4753
    4854== Filter Tests ==