summaryrefslogtreecommitdiff
path: root/src/test/testlauncher.cpp
diff options
context:
space:
mode:
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;