diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-11-29 22:01:09 +0100 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-12-05 20:05:44 +0100 |
commit | d086c1203c062c35911c240d55b8c0b06fe9b64f (patch) | |
tree | 83ce406f28148c744dbdf3b879094201fcdd9feb /libavutil/eval.c | |
parent | 840ecc9e075a0268884141eb25e4f2dc3f35d9dc (diff) | |
download | ffmpeg-d086c1203c062c35911c240d55b8c0b06fe9b64f.tar.gz |
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>
Diffstat (limited to 'libavutil/eval.c')
-rw-r--r-- | libavutil/eval.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/eval.c b/libavutil/eval.c index 3a8b60d505..1b8176c505 100644 --- a/libavutil/eval.c +++ b/libavutil/eval.c @@ -579,6 +579,7 @@ int av_expr_parse_and_eval(double *d, const char *s, } #if FF_API_OLD_EVAL_NAMES +// LCOV_EXCL_START int av_parse_expr(AVExpr **expr, const char *s, const char * const *const_names, const char * const *func1_names, double (* const *funcs1)(void *, double), @@ -608,9 +609,11 @@ void av_free_expr(AVExpr *e) { av_expr_free(e); } +// LCOV_EXCL_STOP #endif /* FF_API_OLD_EVAL_NAMES */ #ifdef TEST +// LCOV_EXCL_START #undef printf #include <string.h> @@ -723,4 +726,5 @@ int main(int argc, char **argv) return 0; } +// LCOV_EXCL_STOP #endif |