From b80bdf324d6f6d54eea4cb95331fb45ccf01a878 Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Thu, 21 Oct 2010 15:51:23 +0000 Subject: [PATCH] two small fixes in the recently added stuff --- tests/cxts/cxts.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/cxts/cxts.cpp b/tests/cxts/cxts.cpp index 5c6e3c57cc..e41108030a 100644 --- a/tests/cxts/cxts.cpp +++ b/tests/cxts/cxts.cpp @@ -1370,7 +1370,7 @@ int CvTS::run( int argc, char** argv, const char** blacklist ) if( datapath_dir ) { sprintf( buf, "%s/%s", datapath_dir, module_name ? module_name : "" ); - printf( LOG + CONSOLE + SUMMARY, "Data Path = %s\n", buf); + printf( LOG + SUMMARY, "Data Path = %s\n", buf); set_data_path(buf); } } @@ -1949,8 +1949,9 @@ int CvTS::filter( CvTest* test, int& filter_state, const char** blacklist ) filter_state = 1; return inverse; } - if( greater_or_equal == 2 ) + else { + assert(filter_state == 2); filter_state = 1; return inverse ^ 1; } -- GitLab