aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/glsl_tests/lit.cfg
blob: 011b1936875154018f6e4e9054d19ebee8bf67c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# -*- Python -*-

# Configuration file for the 'lit' test runner.

import os
import sys
import re
import platform

import lit.util
import lit.formats

# name: The name of this test suite.
config.name = 'AMDGCN_GLSL'

execute_external = True

# testFormat: The test format to use to interpret tests.
config.test_format = lit.formats.ShTest(execute_external)

import __main__
llvm_obj_root = __main__.llvm_obj_root
llvm_tools_dir = os.path.join(llvm_obj_root, 'bin')

# Tweak the PATH to include the tools dir.
path = os.path.pathsep.join((llvm_tools_dir, config.environment['PATH']))
config.environment['PATH'] = path