tests: replace fprintf() with testlog()
authorPekka Paalanen <pekka.paalanen@collabora.com>
Wed, 6 Nov 2019 13:59:33 +0000 (15:59 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.com>
Fri, 22 Nov 2019 10:54:10 +0000 (12:54 +0200)
commit12a138d51e13bb4a00aa2fddbf8e1729408ae846
tree381ce3eaba939c1aa9788635839a066dc134a2c8
parentdc9d3342a881f9be55a98b7dcdd85b5f96ea3c83
tests: replace fprintf() with testlog()

When we move on to TAP, stdout will be reserved for TAP and stderr is for free
chatter. Set up an example that tests should use testlog() instead of fprintf
or printf to chat in the right place.

Most statements were already printing to stderr, so this just makes then a
little shorter. There are also some statements that printed to stdout and are
now corrected.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
12 files changed:
tests/input-timestamps-helper.c
tests/internal-screenshot-test.c
tests/ivi-layout-test-client.c
tests/ivi-shell-app-test.c
tests/presentation-test.c
tests/subsurface-shot-test.c
tests/subsurface-test.c
tests/text-test.c
tests/viewporter-test.c
tests/weston-test-client-helper.c
tests/weston-test-runner.c
tests/weston-test-runner.h