mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 19:50:38 +08:00
ts: flush stdout/stderr before and after test code run
This commit is contained in:
parent
699565828d
commit
aa1c86f95e
@ -24,10 +24,13 @@ extern int testThreads;
|
||||
|
||||
#define CV__TEST_INIT \
|
||||
CV__TEST_NAMESPACE_CHECK \
|
||||
fflush(stdout); fflush(stderr); \
|
||||
cv::ipp::setIppStatus(0); \
|
||||
cv::theRNG().state = cvtest::param_seed; \
|
||||
cv::setNumThreads(cvtest::testThreads);
|
||||
#define CV__TEST_CLEANUP ::cvtest::checkIppStatus();
|
||||
#define CV__TEST_CLEANUP \
|
||||
fflush(stdout); fflush(stderr); \
|
||||
::cvtest::checkIppStatus();
|
||||
#define CV__TEST_BODY_IMPL(name) \
|
||||
{ \
|
||||
CV__TRACE_APP_FUNCTION_NAME(name); \
|
||||
|
Loading…
Reference in New Issue
Block a user