Skip to content

Commit ee12040

Browse files
broonietiwai
authored andcommitted
kselftest/alsa: Provide more meaningful names for tests
Rather than just numbering the tests try to provide semi descriptive names for what the tests are trying to cover. This also has the advantage of meaning we can add more tests without having to keep the list of tests ordered by existing number which should make it easier to understand what we're testing and why. Signed-off-by: Mark Brown <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent ae95efd commit ee12040

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/testing/selftests/alsa/pcm-test.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -446,9 +446,9 @@ static void test_pcm_time1(struct pcm_data *data,
446446
}
447447

448448
static const struct time_test_def time_tests[] = {
449-
/* name format rate chan period buffer */
450-
{ "test.time1", "S16_LE", 48000, 2, 512, 4096 },
451-
{ "test.time2", "S16_LE", 48000, 2, 24000, 192000 },
449+
/* name format rate chan period buffer */
450+
{ "S16.48k.2.small", "S16_LE", 48000, 2, 512, 4096 },
451+
{ "S16.48k.2.big", "S16_LE", 48000, 2, 24000, 192000 },
452452
};
453453

454454
int main(void)

0 commit comments

Comments
 (0)