History

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.

Martin Storsjö committed 12 years ago

Commit c3702d91 parent 0b858551 file · +1 −1Browse files

Showing the changes to test/encoder/EncUT_EncoderExt.cpp (1 of 1 file). Show all

Unified · Split

test/encoder/EncUT_EncoderExt.cpp+1−1
@@ -12,7 +12,7 @@ class EncoderInterfaceTest : public ::testing::Test { · 11 unmodified lines
12#define VALID_SIZE(iSize) (((iSize)>1)?(iSize):1)12#define VALID_SIZE(iSize) (((iSize)>1)?(iSize):1)
13#define MEM_VARY_SIZE (512)13#define MEM_VARY_SIZE (512)
14#define IMAGE_VARY_SIZE (512)14#define IMAGE_VARY_SIZE (512)
15#define TEST_FRAMES (200)15#define TEST_FRAMES (30)
16 16
17#define NAL_HEADER_BYTES (4)17#define NAL_HEADER_BYTES (4)
18#define NAL_TYPE (0x0F)18#define NAL_TYPE (0x0F)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t