1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

cmake: disable implicit-fallthrough by default

This commit is contained in:
Vladislav Sovrasov
2017-09-11 16:04:00 +03:00
parent 597b3f4456
commit 32bf712102
3 changed files with 11 additions and 0 deletions
+4
View File
@@ -178,7 +178,9 @@ public:
if (ext != "mpg")
{
if (count_prop > 0)
{
EXPECT_EQ(count_gt, count_prop);
}
}
int count_actual = 0;
@@ -193,7 +195,9 @@ public:
count_actual += 1;
}
if (count_prop > 0)
{
EXPECT_NEAR(count_gt, count_actual, 1);
}
else
std::cout << "Frames counter is not available. Actual frames: " << count_actual << ". SKIP check." << std::endl;
}