diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-08 16:27:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-08 16:27:33 +0300 |
commit | c70431d73da9c821cfedbd162c7d2447b7057459 (patch) | |
tree | b6c1ea809a790415e26edad92d9283977ad72a48 /src/test/testlauncher.cpp | |
parent | 0c2def29e3bf56a686305ba7385de45214ec86a4 (diff) | |
download | ManaVerse-c70431d73da9c821cfedbd162c7d2447b7057459.tar.gz ManaVerse-c70431d73da9c821cfedbd162c7d2447b7057459.tar.bz2 ManaVerse-c70431d73da9c821cfedbd162c7d2447b7057459.tar.xz ManaVerse-c70431d73da9c821cfedbd162c7d2447b7057459.zip |
Add functions for future batch size detection.
Diffstat (limited to 'src/test/testlauncher.cpp')
-rw-r--r-- | src/test/testlauncher.cpp | 10 |
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; |