]> rtime.felk.cvut.cz Git - opencv.git/commitdiff
throw exception instead of crash causing for win32
authoranatoly <anatoly@73c94f0f-984f-4a5f-82bc-2d8db8d8ee08>
Mon, 1 Feb 2010 16:34:23 +0000 (16:34 +0000)
committeranatoly <anatoly@73c94f0f-984f-4a5f-82bc-2d8db8d8ee08>
Mon, 1 Feb 2010 16:34:23 +0000 (16:34 +0000)
git-svn-id: https://code.ros.org/svn/opencv/trunk@2653 73c94f0f-984f-4a5f-82bc-2d8db8d8ee08

opencv/tests/cxts/cxts.cpp

index c4f35cbd2cd830c035a0a1750830b584a95df851..2acacb6acc85a521bffb199ba77e3f37c6785ced 100644 (file)
@@ -1298,9 +1298,9 @@ int CvTS::run( int argc, char** argv )
     // 0. reset all the parameters, reorder tests
     clear();
 
-#if defined WIN32 || defined _WIN32
+/*#if defined WIN32 || defined _WIN32
        cv::setBreakOnError(true);
-#endif
+#endif*/
 
     for( test = get_first_test(), i = 0; test != 0; test = test->get_next(), i++ )
         all_tests.push(test);