summaryrefslogtreecommitdiff
path: root/tests/kms_setmode.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-05-14 00:36:04 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-05-14 00:36:04 +0200
commite624fa8a2e1a31494c6e47a65e378e480882422d (patch)
treea79a5450e756efc23ebad0dcb1494ace10c9b66b /tests/kms_setmode.c
parent351e7d395041b4b87ad28a201c81acac40cb397f (diff)
tests: sprinkle igt logging
All the cases that simply dump some debug information and couldn't be converted to some of the fancier macros. Some information output removed when it's redundant with the subtest status. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/kms_setmode.c')
-rw-r--r--tests/kms_setmode.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/kms_setmode.c b/tests/kms_setmode.c
index 270d1a3a..02d5850a 100644
--- a/tests/kms_setmode.c
+++ b/tests/kms_setmode.c
@@ -392,7 +392,7 @@ static void test_crtc_config(const struct test_config *tconf,
if (filter_test_id && filter_test_id != test_id)
return;
- printf(" Test id#%d CRTC count %d\n", test_id, crtc_count);
+ igt_info(" Test id#%d CRTC count %d\n", test_id, crtc_count);
for (i = 0; i < crtc_count; i++) {
get_crtc_config_str(&crtcs[i], str_buf[i], sizeof(str_buf[i]));
@@ -401,7 +401,7 @@ static void test_crtc_config(const struct test_config *tconf,
if (dry_run) {
for (i = 0; i < crtc_count; i++)
- printf(" %s\n", crtc_strs[i]);
+ igt_info(" %s\n", crtc_strs[i]);
return;
}
@@ -411,7 +411,7 @@ static void test_crtc_config(const struct test_config *tconf,
crtc = &crtcs[i];
- printf(" %s\n", crtc_strs[i]);
+ igt_info(" %s\n", crtc_strs[i]);
create_fb_for_crtc(crtc, &crtc->fb_info);
paint_fb(&crtc->fb_info, tconf->name, crtc_strs, crtc_count, i);
@@ -623,8 +623,8 @@ static void test_combinations(const struct test_config *tconf,
get_combinations(tconf->resources->count_crtcs, connector_count,
true, &crtc_combs);
- printf("Testing: %s %d connector combinations\n", tconf->name,
- connector_count);
+ igt_info("Testing: %s %d connector combinations\n", tconf->name,
+ connector_count);
for (i = 0; i < connector_combs.count; i++) {
int *connector_idxs;
int ret;