tests: Minor cpu-test reorganisation

Make volume and conversion tests separate test cases.
This commit is contained in:
Arun Raghavan 2012-10-19 18:43:17 +05:30
parent f8017bb19d
commit b87067a007

View file

@ -261,9 +261,9 @@ int main(int argc, char *argv[]) {
pa_log_set_level(PA_LOG_DEBUG); pa_log_set_level(PA_LOG_DEBUG);
s = suite_create("CPU"); s = suite_create("CPU");
tc = tcase_create("x86");
/* Volume tests */ /* Volume tests */
tc = tcase_create("svolume");
#if defined (__i386__) || defined (__amd64__) #if defined (__i386__) || defined (__amd64__)
tcase_add_test(tc, svolume_mmx_test); tcase_add_test(tc, svolume_mmx_test);
tcase_add_test(tc, svolume_sse_test); tcase_add_test(tc, svolume_sse_test);
@ -272,8 +272,10 @@ int main(int argc, char *argv[]) {
tcase_add_test(tc, svolume_arm_test); tcase_add_test(tc, svolume_arm_test);
#endif #endif
tcase_add_test(tc, svolume_orc_test); tcase_add_test(tc, svolume_orc_test);
suite_add_tcase(s, tc);
/* Converstion tests */ /* Converstion tests */
tc = tcase_create("sconv");
#if defined (__i386__) || defined (__amd64__) #if defined (__i386__) || defined (__amd64__)
tcase_add_test(tc, sconv_sse_test); tcase_add_test(tc, sconv_sse_test);
#endif #endif