Merge pull request #248 from taka-no-me:reduce_tmp_size

pull/250/merge
Andrey Kamaev 12 years ago committed by OpenCV Buildbot
commit 512f0091db
  1. 4
      modules/ml/test/test_save_load.cpp

@ -64,11 +64,11 @@ int CV_SLMLTest::run_test_case( int testCaseIdx )
if( code == cvtest::TS::OK ) if( code == cvtest::TS::OK )
{ {
get_error( testCaseIdx, CV_TEST_ERROR, &test_resps1 ); get_error( testCaseIdx, CV_TEST_ERROR, &test_resps1 );
fname1 = tempfile(); fname1 = tempfile(".yml.gz");
save( fname1.c_str() ); save( fname1.c_str() );
load( fname1.c_str() ); load( fname1.c_str() );
get_error( testCaseIdx, CV_TEST_ERROR, &test_resps2 ); get_error( testCaseIdx, CV_TEST_ERROR, &test_resps2 );
fname2 = tempfile(); fname2 = tempfile(".yml.gz");
save( fname2.c_str() ); save( fname2.c_str() );
} }
else else

Loading…
Cancel
Save