Made the crude ability less crude.

This commit is contained in:
Roman Donchenko
2013-07-09 18:57:22 +04:00
parent 215b3e749f
commit 5b2dc26f2c
2 changed files with 13 additions and 6 deletions

View File

@@ -578,6 +578,13 @@ int main(int argc, char **argv) \
return RUN_ALL_TESTS(); \
}
// This usually only makes sense in perf tests with several implementations,
// some of which are not available.
#define CV_TEST_FAIL_NO_IMPL() do { \
::testing::Test::RecordProperty("custom_status", "noimpl"); \
FAIL() << "No equivalent implementation."; \
} while (0)
#endif
#include "ts_perf.hpp"