The wm-adsp-fw-find suite runs wm_adsp_fw_find_test_search_order()
against six different sets of parameters by listing it six times with
KUNIT_CASE_PARAM(), which names each case after the function. All six
cases are therefore called wm_adsp_fw_find_test_search_order, which
makes the results ambiguous.

Use KUNIT_CASE_PARAM_UNIQUE() for these entries so that each case is
also named for the parameter generator it is run with, for example
wm_adsp_fw_find_test_search_order-wm_adsp_fw_find_full_search_gen_params.

Signed-off-by: Mark Brown <[email protected]>
---
 sound/soc/codecs/wm_adsp_fw_find_test.c | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/sound/soc/codecs/wm_adsp_fw_find_test.c 
b/sound/soc/codecs/wm_adsp_fw_find_test.c
index ae686dc4fa94..0b2b7db3f9f9 100644
--- a/sound/soc/codecs/wm_adsp_fw_find_test.c
+++ b/sound/soc/codecs/wm_adsp_fw_find_test.c
@@ -1219,23 +1219,23 @@ KUNIT_ARRAY_PARAM(wm_adsp_fw_find_pick,
                  wm_adsp_fw_find_test_param_desc);
 
 static struct kunit_case wm_adsp_fw_find_test_cases[] = {
-       KUNIT_CASE_PARAM(wm_adsp_fw_find_test_search_order,
-                        wm_adsp_fw_find_full_search_gen_params),
+       KUNIT_CASE_PARAM_UNIQUE(wm_adsp_fw_find_test_search_order,
+                               wm_adsp_fw_find_full_search_gen_params),
 
-       KUNIT_CASE_PARAM(wm_adsp_fw_find_test_search_order,
-                        wm_adsp_fw_find_system_alsaname_gen_params),
+       KUNIT_CASE_PARAM_UNIQUE(wm_adsp_fw_find_test_search_order,
+                               wm_adsp_fw_find_system_alsaname_gen_params),
 
-       KUNIT_CASE_PARAM(wm_adsp_fw_find_test_search_order,
-                        wm_adsp_fw_find_system_gen_params),
+       KUNIT_CASE_PARAM_UNIQUE(wm_adsp_fw_find_test_search_order,
+                               wm_adsp_fw_find_system_gen_params),
 
-       KUNIT_CASE_PARAM(wm_adsp_fw_find_test_search_order,
-                        wm_adsp_fw_find_alsaname_gen_params),
+       KUNIT_CASE_PARAM_UNIQUE(wm_adsp_fw_find_test_search_order,
+                               wm_adsp_fw_find_alsaname_gen_params),
 
-       KUNIT_CASE_PARAM(wm_adsp_fw_find_test_search_order,
-                        wm_adsp_fw_find_noqual_gen_params),
+       KUNIT_CASE_PARAM_UNIQUE(wm_adsp_fw_find_test_search_order,
+                               wm_adsp_fw_find_noqual_gen_params),
 
-       KUNIT_CASE_PARAM(wm_adsp_fw_find_test_search_order,
-                        wm_adsp_fw_find_normalization_gen_params),
+       KUNIT_CASE_PARAM_UNIQUE(wm_adsp_fw_find_test_search_order,
+                               wm_adsp_fw_find_normalization_gen_params),
 
        KUNIT_CASE_PARAM(wm_adsp_fw_find_test_pick_file,
                         wm_adsp_fw_find_pick_gen_params),

-- 
2.47.3


Reply via email to