tests: rework logging
authorBartosz Golaszewski <bartekgola@gmail.com>
Wed, 1 Mar 2017 10:50:08 +0000 (11:50 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Wed, 1 Mar 2017 10:54:24 +0000 (11:54 +0100)
commitb6639b1583f6b75bb12e95b262ba6ec485dc5c94
tree897e1b016d2a121c5cdb73ae7e02da15caf5b8ec
parenta2fb686c1b384150d35120344e21e5e17f840b0c
tests: rework logging

Major rework of the way logging works: always print to stderr, add
new routines for raw printing, store the message from a failed test
in the test context and print it after the test, general code
reorganization.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
tests/unit/gpiod-unit.c