Skip to content
Snippets Groups Projects
Commit 752c5bab authored by Hal Finkel's avatar Hal Finkel
Browse files

[lit] Don't assume you'll find debugserver

On Linux, there is no "debugserver" process, and the RUN-line substitution will
fail if you try to substitute '%debugserver' with None.

Fixes PR30492.

llvm-svn: 283520
parent 5d41f032
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,9 @@ config.substitutions.append(('%cc', config.cc))
config.substitutions.append(('%cxx', config.cxx))
config.substitutions.append(('%lldb', lldb))
config.substitutions.append(('%debugserver', debugserver))
if debugserver is not None:
config.substitutions.append(('%debugserver', debugserver))
for pattern in [r"\bFileCheck\b",
r"\| \bnot\b"]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment