[dotest] Log a warning when --server and --out-of-tree-debugserver are set

Suggested by Vedant.
This commit is contained in:
Davide Italiano 2020-07-07 15:03:08 -07:00
parent 5832473dcf
commit 4dba3f4e03
1 changed files with 3 additions and 0 deletions

View File

@ -363,6 +363,9 @@ def parseOptionsAndInitTestdirs():
args.executable)
sys.exit(-1)
if args.server and args.out_of_tree_debugserver:
logging.warning('Both --server and --out-of-tree-debugserver are set')
if args.server and not args.out_of_tree_debugserver:
os.environ['LLDB_DEBUGSERVER_PATH'] = args.server