Changes between Version 3 and Version 4 of FATE/AddingATest


Ignore:
Timestamp:
Apr 12, 2014, 11:54:45 PM (5 years ago)
Author:
Timothy_Gu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FATE/AddingATest

    v3 v4  
    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`. That function returns
     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, in this case the `mpegts` demuxer and `dca` decoder, are enabled. Then, if you look at the end of the file:
     31
     32{{{
     33FATE_SAMPLES_AUDIO += $(FATE_SAMPLES_AUDIO-yes)
     34
     35FATE_SAMPLES_FFMPEG += $(FATE_SAMPLES_AUDIO)
     36}}}
     37
     38The enabled tests are added into `FATE_SAMPLES_AUDIO` and subsequently `FATE_SAMPLES_FFMPEG` variable, which then of course gets called when doing `make fate`.
     39
     40Keep in mind that different tests may have different variable prefixes. Not all tests can be categorized into `FATE_SAMPLES_FFMPEG` variable.
     41
     42If only one component for the test you want to add is required, you can replace `$(call DEMDEC, MPEGTS, DCA)` to `$(CONFIG_*)`.
    3143
    3244== Filter Tests ==