libevdev/test
Enric Balletbo i Serra bb4404dd91 test: Get the print mode from the CK_VERBOSITY environment variable
On a test run it only prints the summary and one message per failed
test. While having this behaviour by default is nice it might be
interesting in some case to have more information print. Make the print
mode configurable from the environment variable CK_VERBOSITY, which can
have the values "silent", "minimal", "normal" or "verbose" so we can have
different outputs.

    $ sudo CK_VERBOSITY=verbose ./test-libevdev
    Running suite(s): libevdev init tests
     libevdev_has_event tests
     libevdev event tests
     100%: Checks: 79, Failures: 0, Errors: 0
     test-libevdev-init.c:23:P:test_new_device:test_new_device:0: Passed
     test-libevdev-init.c:28:P:test_free_device:test_free_device:0: Passed
     [ ... ]

Note that the default print mode doesn't change after this patch.

Signed-off-by: Enric Balletbo i Serra <eballetbo@redhat.com>
2023-04-19 16:40:14 +02:00
..
.gitignore Add a test for EVIOCREVOKE 2014-02-26 07:22:04 +10:00
generate-gcov-report.sh Don't hardcode /bin/bash 2020-08-13 13:11:33 +02:00
Makefile.am test: drop the valgrind make check wrappers from autotools 2023-01-04 15:51:58 +10:00
test-common-uinput.c Change to the (always intended) MIT license 2021-01-25 13:46:55 +10:00
test-common-uinput.h Change to the (always intended) MIT license 2021-01-25 13:46:55 +10:00
test-common.c Change to the (always intended) MIT license 2021-01-25 13:46:55 +10:00
test-common.h Change to the (always intended) MIT license 2021-01-25 13:46:55 +10:00
test-compile-pedantic.c test: add a build test for -Wpedantic 2013-11-23 09:00:53 +10:00
test-context.c Change to the (always intended) MIT license 2021-01-25 13:46:55 +10:00
test-event-codes.c Change to the (always intended) MIT license 2021-01-25 13:46:55 +10:00
test-event-names.c Change to the (always intended) MIT license 2021-01-25 13:46:55 +10:00
test-int-queue.c Change to the (always intended) MIT license 2021-01-25 13:46:55 +10:00
test-kernel.c Change to the (always intended) MIT license 2021-01-25 13:46:55 +10:00
test-libevdev-events.c Change to the (always intended) MIT license 2021-01-25 13:46:55 +10:00
test-libevdev-has-event.c Fix a few whitespace/coding style issues 2022-07-11 15:31:45 +10:00
test-libevdev-init.c Change to the (always intended) MIT license 2021-01-25 13:46:55 +10:00
test-link.c test: add basic link test 2013-12-12 13:19:52 +10:00
test-main.c test: Get the print mode from the CK_VERBOSITY environment variable 2023-04-19 16:40:14 +02:00
test-static-symbols-leak.sh Don't hardcode /bin/bash 2020-08-13 13:11:33 +02:00
test-uinput.c Change to the (always intended) MIT license 2021-01-25 13:46:55 +10:00
valgrind.suppressions meson.build: hook up the static symbols leak test 2020-02-19 08:34:55 +10:00