summaryrefslogtreecommitdiff
path: root/src/test/testlauncher.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-08 16:27:33 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-08 16:27:33 +0300
commitc70431d73da9c821cfedbd162c7d2447b7057459 (patch)
treeb6c1ea809a790415e26edad92d9283977ad72a48 /src/test/testlauncher.cpp
parent0c2def29e3bf56a686305ba7385de45214ec86a4 (diff)
downloadmv-c70431d73da9c821cfedbd162c7d2447b7057459.tar.gz
mv-c70431d73da9c821cfedbd162c7d2447b7057459.tar.bz2
mv-c70431d73da9c821cfedbd162c7d2447b7057459.tar.xz
mv-c70431d73da9c821cfedbd162c7d2447b7057459.zip
Add functions for future batch size detection.
Diffstat (limited to 'src/test/testlauncher.cpp')
-rw-r--r--src/test/testlauncher.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp
index c13f52ffb..4352957ef 100644
--- a/src/test/testlauncher.cpp
+++ b/src/test/testlauncher.cpp
@@ -67,6 +67,8 @@ int TestLauncher::exec()
return testRescale();
else if (mTest == "8" || mTest == "9" || mTest == "10")
return testFps();
+ else if (mTest == "11")
+ return testBatches();
else if (mTest == "99")
return testVideoDetection();
else if (mTest == "100")
@@ -164,6 +166,14 @@ int TestLauncher::testFps()
return 0;
}
+int TestLauncher::testBatches()
+{
+ int batches = 512;
+
+ file << mTest << std::endl;
+ file << batches << std::endl;
+}
+
int TestLauncher::testInternal()
{
timeval start;