summaryrefslogtreecommitdiff
path: root/libavutil/adler32.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-11-29 22:01:09 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-12-05 20:05:44 +0100
commitd086c1203c062c35911c240d55b8c0b06fe9b64f (patch)
tree83ce406f28148c744dbdf3b879094201fcdd9feb /libavutil/adler32.c
parent840ecc9e075a0268884141eb25e4f2dc3f35d9dc (diff)
downloadffmpeg-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/adler32.c')
-rw-r--r--libavutil/adler32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/adler32.c b/libavutil/adler32.c
index 9d3d896506..8ea5fc2958 100644
--- a/libavutil/adler32.c
+++ b/libavutil/adler32.c
@@ -56,6 +56,7 @@ unsigned long av_adler32_update(unsigned long adler, const uint8_t * buf,
}
#ifdef TEST
+// LCOV_EXCL_START
#include <string.h>
#include "log.h"
#include "timer.h"
@@ -84,4 +85,5 @@ int main(int argc, char **argv)
av_log(NULL, AV_LOG_DEBUG, "%X (expected 50E6E508)\n", checksum);
return checksum == 0x50e6e508 ? 0 : 1;
}
+// LCOV_EXCL_STOP
#endif