1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 00:03:03 +04:00

dnn(test): replace SkipTestException with tags

This commit is contained in:
Alexander Alekhin
2019-06-15 12:17:25 +00:00
parent f8c96cb18a
commit 894f208de3
15 changed files with 354 additions and 182 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ TEST_P(setInput, normalization)
const bool kSwapRB = true;
if (backend == DNN_BACKEND_OPENCV && target == DNN_TARGET_OPENCL_FP16 && dtype != CV_32F)
throw SkipTestException("");
applyTestTag(CV_TEST_TAG_DNN_SKIP_OPENCL_FP16);
Mat inp(5, 5, CV_8UC3);
randu(inp, 0, 255);