Commit 774e070b authored by Dylan Baker's avatar Dylan Baker
Browse files Use config file instead of symlink

Instead of symlinking oglconform into the bin/ dir, edit piglit.conf and
set the path key under the oglconform to the root of the oglconform dir.

v2: - change config key 'bindir' to 'path' (chadv)
Reviewed-by: default avatarChad Versace <>
Signed-off-by: Dylan Baker's avatarDylan Baker <>
parent 443abf5a
......@@ -10,3 +10,7 @@
; Set bindir equal to the absolute root of the igt directory
; Set bindir equal to the absolute root of the oglconform directory
......@@ -26,13 +26,14 @@ import re
import sys
import subprocess
import framework.core
from framework.profile import TestProfile
from framework.exectest import Test, TEST_BIN_DIR
from framework.exectest import Test
from os import path
__all__ = ['profile']
bin_oglconform = path.join(TEST_BIN_DIR, 'oglconform')
bin_oglconform = framework.core.PIGLIT_CONFIG.get('oglconform', 'path')
if not os.path.exists(bin_oglconform):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment