summaryrefslogtreecommitdiffstats
path: root/test/CameraHal/camera_test_menu.cpp
diff options
context:
space:
mode:
authorDimitar Borisov <x0152684@ti.com>2012-08-23 17:49:32 +0300
committerDaniel Levin <dendy@ti.com>2012-12-05 15:44:54 +0200
commitd1e01a97370fadea6cacc300f0fd0c6e5e89fae2 (patch)
tree4e50c92f2c60bb8151323d5776ebf6e4c6f74ea7 /test/CameraHal/camera_test_menu.cpp
parentf31faef4c309412049a5916e002ec4d1cf32a958 (diff)
downloadandroid_hardware_ti_omap4-d1e01a97370fadea6cacc300f0fd0c6e5e89fae2.tar.gz
android_hardware_ti_omap4-d1e01a97370fadea6cacc300f0fd0c6e5e89fae2.tar.bz2
android_hardware_ti_omap4-d1e01a97370fadea6cacc300f0fd0c6e5e89fae2.zip
camera_test: Iteration count for all scripts
Iteration counter is added that is incremented on every new line form the script. Change-Id: Ie5d5cf63c326aa781bf5d2edc95f1ad57f32feb3 Signed-off-by: Dimitar Borisov <x0152684@ti.com>
Diffstat (limited to 'test/CameraHal/camera_test_menu.cpp')
-rw-r--r--test/CameraHal/camera_test_menu.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CameraHal/camera_test_menu.cpp b/test/CameraHal/camera_test_menu.cpp
index c4e8ec9..e72bcd7 100644
--- a/test/CameraHal/camera_test_menu.cpp
+++ b/test/CameraHal/camera_test_menu.cpp
@@ -189,6 +189,8 @@ param_Array ** Vcapture_Array = 0;
param_Array ** preview_Array = 0;
param_Array ** thumbnail_Array = 0;
fps_Array * fpsArray = 0;
+int iterationCount = 1;
+bool iterationPrint = true;
int enableMisalignmentCorrectionIdx = 0;
@@ -4274,6 +4276,7 @@ int runRegressionTest(cmd_args_t *cmd_args) {
free(cmd);
cmd = NULL;
+ iterationCount = 0;
restartTestCount ++;
if(restartTestCount > 3) {
return res;