ref: c3702d9075834a03f89fc99471e8e15769f267d9
parent: 0b85855e986f44d40adce62f607aa2950b8f277e
author: Martin Storsjö <[email protected]>
date: Fri Aug 8 08:23:12 EDT 2014
Reduce the number of frames tested in EncoderInterfaceTest There's little point in running the same test over and over for a huge number of frames if it doesn't test much different things. This reduces the runtime of EncoderInterfaceTest.* from 322 seconds to 140 seconds, when running in valgrind.
--- a/test/encoder/EncUT_EncoderExt.cpp
+++ b/test/encoder/EncUT_EncoderExt.cpp
@@ -12,7 +12,7 @@
#define VALID_SIZE(iSize) (((iSize)>1)?(iSize):1)
#define MEM_VARY_SIZE (512)
#define IMAGE_VARY_SIZE (512)
-#define TEST_FRAMES (200)
+#define TEST_FRAMES (30)
#define NAL_HEADER_BYTES (4)
#define NAL_TYPE (0x0F)