Changes between Version 7 and Version 8 of FATE/AddingATest


Ignore:
Timestamp:
Apr 20, 2014, 11:14:44 PM (5 years ago)
Author:
Timothy_Gu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FATE/AddingATest

    v7 v8  
    5252}}}
    5353
    54 ==== Multiple Tests for One Feature ====
     54==== <= 3 Tests for One Feature ====
    5555
    5656Now knowing how to add one test for one feature, it is easy to add multiple tests. For example, you can just add multiple tests like this:
     
    73732. It is not possible to do `make fate-dts` which runs these two tests (of course you can add another target that depends on the two tests, but that is not pretty for code readers).
    7474
     75The two disadvantages become more severe with more tests for this approach.
     76
     77==== Lots of Tests for One Test -- Irregular File Names ====
     78
    7579Therefore, you can use an additional variable that contains the targets related to a feature, and then use it.
    7680
    77 '''tl;dr:''' Let's open `tests/fate/amrnb.mk`, which is a great example of multiple tests. (A part of the file is omitted for clarity below.)
     81Let's open `tests/fate/amrnb.mk`, which is a great example of multiple tests with irregular file names. (A part of the file is omitted for clarity below.)
    7882
    7983{{{