The errno message was a bit in the middle here, it makes more sense to group the messages about why the test requirement wasn't met together. Signed-off-by: Damien Lespiau <damien.lespiau@xxxxxxxxx> --- lib/igt_core.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/igt_core.c b/lib/igt_core.c index 364cdd0..4dbcb1a 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -588,16 +588,16 @@ void __igt_skip_check(const char *file, const int line, va_end(args); igt_skip("Test requirement not met in function %s, file %s:%i:\n" - "Last errno: %i, %s\n" - "Test requirement: (%s)\n%s", - func, file, line, err, strerror(err), check, buf); + "Test requirement: (%s)\n%s" + "Last errno: %i, %s\n", + func, file, line, check, buf, err, strerror(err)); free(buf); } else { igt_skip("Test requirement not met in function %s, file %s:%i:\n" - "Last errno: %i, %s\n" - "Test requirement: (%s)\n", - func, file, line, err, strerror(err), check); + "Test requirement: (%s)\n" + "Last errno: %i, %s\n", + func, file, line, check, err, strerror(err)); } } -- 1.8.3.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx