summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-07-18 11:47:18 -0700
committerDylan Baker <dylan@pnwbakers.com>2018-07-18 11:47:18 -0700
commit490643bcaa9ecee7a621ed029f4418f55c4cb4ec (patch)
treecca6a995be07219fb236da7f8d157fe33faa46fb
parent35964028525895a666a8a727131e06f3abdcb9d8 (diff)
framework: Make error about mixed GLES and GL more imformative
This just adds a helpful message about what directory the conflicting shaders are in.
-rw-r--r--framework/test/shader_test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/test/shader_test.py b/framework/test/shader_test.py
index 719b92f9d..de3e92f4b 100644
--- a/framework/test/shader_test.py
+++ b/framework/test/shader_test.py
@@ -251,7 +251,8 @@ class MultiShaderTest(ReducedProcessMixin, PiglitBaseTest):
# check
raise exceptions.PiglitInternalError(
'GLES and GL shaders in the same command!\n'
- 'Cannot pick a shader_runner binary!')
+ 'Cannot pick a shader_runner binary!\n'
+ 'in file: {}'.format(os.path.dirname(each)))
else:
prog = parser.prog