aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-08-06 22:01:00 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-08-07 09:29:14 +0100
commit35d81d01b1599b4bc4df0e09e25f6f531eed4f8a (patch)
tree88693fff8bbcd7ce639472d9d5d1230425e57414 /tests
parentbe535f1ef1eacb418ed7ae23c6f7efe84abd1780 (diff)
downloadplatform_external_igt-gpu-tools-35d81d01b1599b4bc4df0e09e25f6f531eed4f8a.tar.gz
platform_external_igt-gpu-tools-35d81d01b1599b4bc4df0e09e25f6f531eed4f8a.tar.bz2
platform_external_igt-gpu-tools-35d81d01b1599b4bc4df0e09e25f6f531eed4f8a.zip
kms_ccs: Add the missing '\n' for igt_require_f
Currently the runner sees Starting subtest: pipe-C-bad-aux-stride Test requirement not met in function test_output, file ../tests/kms_ccs.c:324: Test requirement: valid_tests > 0 CCS not supported, skippingSubtest pipe-C-bad-aux-stride: SKIP (0.330s) and manages to implode. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/kms_ccs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/kms_ccs.c b/tests/kms_ccs.c
index 6cd30aad..1ce66cde 100644
--- a/tests/kms_ccs.c
+++ b/tests/kms_ccs.c
@@ -321,7 +321,7 @@ static int __test_output(data_t *data)
static void test_output(data_t *data)
{
int valid_tests = __test_output(data);
- igt_require_f(valid_tests > 0, "CCS not supported, skipping");
+ igt_require_f(valid_tests > 0, "CCS not supported, skipping\n");
}
static data_t data;
@@ -373,7 +373,8 @@ igt_main
valid_tests += __test_output(&data);
}
- igt_require_f(valid_tests > 0, "CCS not supported, skipping");
+ igt_require_f(valid_tests > 0,
+ "CCS not supported, skipping\n");
}
data.plane = NULL;