Add coverage exclusions for test code.

For some of the code e.g. doing timing measurements there is no
real point in running regression testing on it, thus it should
not be counted against coverage.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
Reimar Döffinger
2011-11-29 22:01:09 +01:00
parent 840ecc9e07
commit d086c1203c
5 changed files with 12 additions and 0 deletions

View File

@@ -259,6 +259,7 @@ int av_aes_init(AVAES *a, const uint8_t *key, int key_bits, int decrypt)
}
#ifdef TEST
// LCOV_EXCL_START
#include <string.h>
#include "lfg.h"
#include "log.h"
@@ -331,4 +332,5 @@ int main(int argc, char **argv)
}
return err;
}
// LCOV_EXCL_STOP
#endif