Commit ee12040d authored by Mark Brown's avatar Mark Brown Committed by Takashi Iwai

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: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221201170745.1111236-6-broonie@kernel.orgSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent ae95efd9
...@@ -447,8 +447,8 @@ static void test_pcm_time1(struct pcm_data *data, ...@@ -447,8 +447,8 @@ static void test_pcm_time1(struct pcm_data *data,
static const struct time_test_def time_tests[] = { static const struct time_test_def time_tests[] = {
/* name format rate chan period buffer */ /* name format rate chan period buffer */
{ "test.time1", "S16_LE", 48000, 2, 512, 4096 }, { "S16.48k.2.small", "S16_LE", 48000, 2, 512, 4096 },
{ "test.time2", "S16_LE", 48000, 2, 24000, 192000 }, { "S16.48k.2.big", "S16_LE", 48000, 2, 24000, 192000 },
}; };
int main(void) int main(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment