diff --git a/pkgs/development/libraries/opencv/tests.nix b/pkgs/development/libraries/opencv/tests.nix index 5a155a9119b..03a89db0882 100644 --- a/pkgs/development/libraries/opencv/tests.nix +++ b/pkgs/development/libraries/opencv/tests.nix @@ -57,7 +57,7 @@ let (map (test: "${testRunner}${opencv4.package_tests}/opencv_test_${test} --test_threads=$NIX_BUILD_CORES --gtest_filter=$GTEST_FILTER" ) testNames) } ''; - perfomanceTests = lib.optionalString runPerformanceTests '' + performanceTests = lib.optionalString runPerformanceTests '' ${ builtins.concatStringsSep "\n" (map (test: "${testRunner}${opencv4.package_tests}/opencv_perf_${test} --perf_impl=plain --perf_min_samples=10 --perf_force_samples=10 --perf_verify_sanity --skip_unstable=1 --gtest_filter=$GTEST_FILTER") perfTestNames) } @@ -67,4 +67,4 @@ runCommand "opencv4-tests" { nativeBuildInputs = lib.optionals enableGStreamer (with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good ]); } - (testsPreparation + accuracyTests + perfomanceTests) + (testsPreparation + accuracyTests + performanceTests)