llvm-capstone/lldb/packages/Python/lldbsuite/test/lldbtest_config.py
Jonas Devlieghere c8232e4310 [dotest] Add the ability to set environment variables for the inferior.
This patch adds a dotest flag for setting environment variables for the
inferior. This is different from the current --env flag, which sets
variables in the debugger's environment. This allows us to set things
like LD_LIBRARY_PATH for testing.

Differential revision: https://reviews.llvm.org/D63790

llvm-svn: 364443
2019-06-26 16:12:08 +00:00

26 lines
741 B
Python

"""
Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
See https://llvm.org/LICENSE.txt for license information.
SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Configuration options for lldbtest.py set by dotest.py during initialization
"""
# array of strings
# each string has the name of an lldb channel followed by
# zero or more categories in that channel
# ex. "gdb-remote packets"
channels = []
# leave logs/traces even for successful test runs
log_success = False
# Indicate whether we're testing with an out-of-tree debugserver
out_of_tree_debugserver = False
# path to the lldb command line executable tool
lldbExec = None
# Environment variables for the inferior
inferior_env = None