summaryrefslogtreecommitdiff
path: root/tests/asmparsertest
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2014-06-01 14:33:33 -0600
committerBrian Paul <brianp@vmware.com>2014-06-03 18:45:57 -0600
commitc55266b5da463577fc5d9f8ae8f0d1c2caa02b31 (patch)
tree9c843803a23d777a99baebbc7c594910c1d5c165 /tests/asmparsertest
parent59b87248c6e6b276c30095ee5555f34029bbbb69 (diff)
asmparsertest: print error if unable to open file
Diffstat (limited to 'tests/asmparsertest')
-rw-r--r--tests/asmparsertest/asmparsertest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/asmparsertest/asmparsertest.c b/tests/asmparsertest/asmparsertest.c
index 16ed0df64..40349db71 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) {
+ fprintf(stderr, "Failed to open %s\n", filename);
piglit_report_result(PIGLIT_FAIL);
}