From d454823d203aead2a5536e51b4ef92bd4060ebaf Mon Sep 17 00:00:00 2001 From: fetsorn Date: Mon, 8 May 2023 21:54:35 +0400 Subject: [PATCH] opencv: fix typo "perfomanceTests" -> "performanceTests" --- pkgs/development/libraries/opencv/tests.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)