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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user