Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions tests/lit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ config.test_exec_root = 'test_run_tmp'

config.target_triple = None

src_root = os.path.join(config.test_source_root, '..')
try:
config.environment['PYTHONPATH'] = glob.glob('%s/build/lib.*' % src_root)[0]
except:
pass
# LNT needs a UTF-8 locale when running in Python 3 mode. Rely on the host
# environment to provide it rather than assume a specific UTF-8 locale is
# present.
Expand All @@ -41,6 +36,7 @@ config.environment['PYTHONDONTWRITEBYTECODE'] = "1"
config.environment['SUDO_CMD'] = ""
config.environment['I'] = ""

src_root = os.path.join(config.test_source_root, '..')
config.substitutions.append(('%src_root', src_root))
config.substitutions.append(('%{src_root}', src_root))
config.substitutions.append(('%{shared_inputs}', os.path.join(
Expand Down
Loading