[Piglit] [PATCH crucible 1/2] framework: Add context to skip message in t_require_ext

Caio Marcelo de Oliveira Filho caio.oliveira at intel.com
Wed Sep 26 19:01:48 UTC 2018


Include the name of the missing extension as part of the message.
---

This patch is available in my 'multiview' branch:

    https://gitlab.freedesktop.org/cmarcelo/crucible/commits/multiview

 src/framework/test/t_result.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/framework/test/t_result.c b/src/framework/test/t_result.c
index 209d6b2..b640cde 100644
--- a/src/framework/test/t_result.c
+++ b/src/framework/test/t_result.c
@@ -207,7 +207,7 @@ void
 t_require_ext(const char *name)
 {
     if (!t_has_ext(name))
-        t_skip();
+        t_skipf("missing required extension %s", name);
 }
 
 static bool
-- 
2.19.0



More information about the Piglit mailing list