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

Submitted by Caio Marcelo de Oliveira Filho on Sept. 26, 2018, 7:01 p.m.

Details

Message ID 20180926190149.8253-1-caio.oliveira@intel.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in Piglit

Not browsing as part of any series.

Commit Message

Caio Marcelo de Oliveira Filho Sept. 26, 2018, 7:01 p.m.
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(-)

Patch hide | download patch | download mbox

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