perf_main.cpp 326 B

12345678910111213141516
  1. #include "perf_precomp.hpp"
  2. static const char* extraTestDataPath =
  3. #ifdef WINRT
  4. NULL;
  5. #else
  6. getenv("OPENCV_DNN_TEST_DATA_PATH");
  7. #endif
  8. #if defined(HAVE_HPX)
  9. #include <hpx/hpx_main.hpp>
  10. #endif
  11. CV_PERF_TEST_MAIN(dnn,
  12. extraTestDataPath ? (void)cvtest::addDataSearchPath(extraTestDataPath) : (void)0
  13. )