Changes between Version 2 and Version 3 of FATE/AddingATest


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

wip

Legend:

Unmodified
Added
Removed
Modified
  • FATE/AddingATest

    v2 v3  
    1919==== One Test for one Feature ====
    2020
    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.
     21The 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{{{
     24FATE_SAMPLES_AUDIO-$(call DEMDEC, MPEGTS, DCA) += fate-dts
     25fate-dts: CMD = pcm -i $(TARGET_SAMPLES)/dts/dts.ts
     26fate-dts: CMP = oneoff
     27fate-dts: REF = $(SAMPLES)/dts/dts.pcm
     28}}}
     29
     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`. That function returns
    2231
    2332== Filter Tests ==