Enable chessboard detector test on Ubuntu
authorVladislav Sovrasov <sovrasov.vlad@gmail.com>
Tue, 25 Oct 2016 08:53:53 +0000 (11:53 +0300)
committerVladislav Sovrasov <sovrasov.vlad@gmail.com>
Tue, 25 Oct 2016 08:53:53 +0000 (11:53 +0300)
modules/calib3d/test/test_chesscorners.cpp

index f4208a5..781eec2 100644 (file)
@@ -373,8 +373,6 @@ bool CV_ChessboardDetectorTest::checkByGenerator()
 {
     bool res = true;
 
-// for some reason, this test sometimes fails on Ubuntu
-#if (defined __APPLE__ && defined __x86_64__) || defined _MSC_VER
     //theRNG() = 0x58e6e895b9913160;
     //cv::DefaultRngAuto dra;
     //theRNG() = *ts->get_rng();
@@ -473,7 +471,6 @@ bool CV_ChessboardDetectorTest::checkByGenerator()
 
         cv::drawChessboardCorners(cb, cbg.cornersSize(), Mat(corners_found), found);
     }
-#endif
 
     return res;
 }