Author: hfinkel Date: Thu Oct 6 21:26:41 2016 New Revision: 283520 URL: http://llvm.org/viewvc/llvm-project?rev=283520&view=rev Log: [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. Modified: lldb/trunk/lit/lit.cfg Modified: lldb/trunk/lit/lit.cfg URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/lit.cfg?rev=283520&r1=283519&r2=283520&view=diff ============================================================================== --- lldb/trunk/lit/lit.cfg (original) +++ lldb/trunk/lit/lit.cfg Thu Oct 6 21:26:41 2016 @@ -140,7 +140,9 @@ config.substitutions.append(('%cc', conf 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"]: _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits