1# -*- Python -*- 2 3# Configuration file for the 'lit' test runner. 4 5import os 6import sys 7import re 8import platform 9 10import lit.util 11import lit.formats 12 13# name: The name of this test suite. 14config.name = 'AMDGCN_GLSL' 15 16execute_external = True 17 18# testFormat: The test format to use to interpret tests. 19config.test_format = lit.formats.ShTest(execute_external) 20 21import __main__ 22llvm_obj_root = __main__.llvm_obj_root 23llvm_tools_dir = os.path.join(llvm_obj_root, 'bin') 24 25# Tweak the PATH to include the tools dir. 26path = os.path.pathsep.join((llvm_tools_dir, config.environment['PATH'])) 27config.environment['PATH'] = path 28