mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
tests: More useful output of make check
Instead of spilling thousands of lines of output, make check now runs the test-suite in about 100 lines or so. If running under make check, the output of tests is reduced. The MAKE_CHECK environment variable is used for this, so that when running the test manually, the full output is still shown. Furthermore, pa_log is used consistently instead of printf, so that all test output goes to stderr by default. Colored output from make check goes to stdout.
This commit is contained in:
parent
6be5515e6a
commit
681aaf7a9a
20 changed files with 144 additions and 115 deletions
|
|
@ -13,11 +13,11 @@ int main(int argc, char *argv[]) {
|
|||
assert(pa_utf8_valid("hallo\n"));
|
||||
assert(pa_utf8_valid("hüpfburg\n"));
|
||||
|
||||
printf("LATIN1: %s\n", c = pa_utf8_filter("hüpfburg"));
|
||||
fprintf(stderr, "LATIN1: %s\n", c = pa_utf8_filter("hüpfburg"));
|
||||
pa_xfree(c);
|
||||
printf("UTF8: %sx\n", c = pa_utf8_filter("hüpfburg"));
|
||||
fprintf(stderr, "UTF8: %sx\n", c = pa_utf8_filter("hüpfburg"));
|
||||
pa_xfree(c);
|
||||
printf("LATIN1: %sx\n", c = pa_utf8_filter("üxknärzmörzeltörszß³§dsjkfh"));
|
||||
fprintf(stderr, "LATIN1: %sx\n", c = pa_utf8_filter("üxknärzmörzeltörszß³§dsjkfh"));
|
||||
pa_xfree(c);
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue