forked from OSchip/llvm-project
[dotest] Log a warning when --server and --out-of-tree-debugserver are set
Suggested by Vedant.
This commit is contained in:
parent
5832473dcf
commit
4dba3f4e03
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue