Commit 27556761 authored by Dylan Baker's avatar Dylan Baker

xts.py: Use piglit.conf to set suite location instead of symlink

Instead of symlinking a directory into bin/ for xts, edit the path entry
under the xts section to point at the root xts directory.

v2: - replace config file key 'bindir' with 'path' (chadv)
Reviewed-by: default avatarChad Versace <chad.versace@linux.intel.com>
Signed-off-by: Dylan Baker's avatarDylan Baker <baker.dylan.c@gmail.com>
parent b5aad70f
......@@ -3,3 +3,6 @@
;opencv_test_ocl_bindir=/home/user/opencv/build/bin
;opencv_workdir=/home/user/opencv/samples/c/
;
[xts]
; Set bindir equal to the root of the xts directory
;path=/home/user/src/xts
......@@ -28,12 +28,13 @@ import re
import sys
import subprocess
import itertools
import framework.core
from framework.profile import TestProfile
from framework.exectest import Test, TEST_BIN_DIR
from framework.exectest import Test
__all__ = ['profile']
X_TEST_SUITE = os.path.join(TEST_BIN_DIR, 'xtest')
X_TEST_SUITE = framework.core.PIGLIT_CONFIG.get('xts', 'path')
class XTSProfile(TestProfile):
......
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