[Piglit] [PATCH 1/3] asmparsertest: print error if unable to open file

Brian Paul brianp at vmware.com
Sun Jun 1 14:03:20 PDT 2014


---
 tests/asmparsertest/asmparsertest.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/asmparsertest/asmparsertest.c b/tests/asmparsertest/asmparsertest.c
index 16ed0df..c250270 100644
--- a/tests/asmparsertest/asmparsertest.c
+++ b/tests/asmparsertest/asmparsertest.c
@@ -120,6 +120,7 @@ compile(const char *filename, GLenum target, int use_ARB)
 
 	buf = piglit_load_text_file(filename, &sz);
 	if (buf == NULL) {
+		printf(stderr, "Failed to open %s\n", filename);
 		piglit_report_result(PIGLIT_FAIL);
 	}
 
-- 
1.7.10.4



More information about the Piglit mailing list