Changes between Version 7 and Version 8 of FATE/AddingATest
- Timestamp:
- Apr 20, 2014, 8:14:44 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FATE/AddingATest
v7 v8 52 52 }}} 53 53 54 ==== MultipleTests for One Feature ====54 ==== <= 3 Tests for One Feature ==== 55 55 56 56 Now 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: … … 73 73 2. 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). 74 74 75 The two disadvantages become more severe with more tests for this approach. 76 77 ==== Lots of Tests for One Test -- Irregular File Names ==== 78 75 79 Therefore, you can use an additional variable that contains the targets related to a feature, and then use it. 76 80 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.)81 Let'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.) 78 82 79 83 {{{
