diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2014-07-09 11:32:22 +0100 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2014-07-10 18:04:47 +0100 |
commit | b2d1a598aba4fe6b4128a0eb99f6da95a9fc70fc (patch) | |
tree | 8971ea91111eb41ebfbf075b08982d16214919e1 /lib | |
parent | 1e5570e28a399f57d025c36f9d3547683ba0c3d4 (diff) |
core: Put the requirement failure messages together
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.
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/igt_core.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/igt_core.c b/lib/igt_core.c index 7ac7ebe9..f683c3b5 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -588,14 +588,14 @@ 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)); } 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)); } } |