tests: make gu_msg() and gu_err() static
authorBartosz Golaszewski <bartekgola@gmail.com>
Mon, 27 Feb 2017 11:53:44 +0000 (12:53 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Mon, 27 Feb 2017 11:53:44 +0000 (12:53 +0100)
commit9573f4ec26e8f65e8498ec41d718cc496b672189
treedeae28064462bebbd9c46f5ca21d0cdf38ae5a84
parent7e849c3f5c380ab8f71941f996d50831ef53ab3c
tests: make gu_msg() and gu_err() static

Tests should only ever print anything when an assertion fails. Make
gu_msg() and gu_err() static and instead allow passing an error
message to _gu_test_failed().

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