[Bug 30492] New: On Linux, lldb lit tests fail

Bug ID 30492
Summary On Linux, lldb lit tests fail
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter hfinkel@anl.gov
CC llvm-bugs@lists.llvm.org
Classification Unclassified

I needed the following changes to make the lldb lit tests work on my Linux
build system:

diff --git a/lit/Expr/TestCallStopAndContinue.test
b/lit/Expr/TestCallStopAndContinue.test
index f518f3d..263fa2a 100644
--- a/lit/Expr/TestCallStopAndContinue.test
+++ b/lit/Expr/TestCallStopAndContinue.test
@@ -9,4 +9,4 @@ breakpoint set --file call-function.cpp --line 14
 expression -i false -- returnsFive()
 # CHECK: Execution was interrupted, reason: breakpoint
 # CHECK: stop reason = User Expression thread plan
-# CHECK: Completed expression: (Five) $0 = (number = 5 {{.*}}, name = "five")
+# CHECK: Completed expression: (Five) $0 = (number = 5{{.*}}, name = "five")
diff --git a/lit/lit.cfg b/lit/lit.cfg
index e18719b..fe00344 100644
--- a/lit/lit.cfg
+++ b/lit/lit.cfg
@@ -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))

Hal Finkel changed bug 30492

What Removed Added
Status NEW RESOLVED
Resolution FIXED

Comment # 4 on bug 30492 from Hal Finkel

(In reply to comment #3)
> (In reply to comment #2)
> > LGTM as well!
> > 
> > Hal, if you'd like to commit it please go ahead.
> 
> Thanks; will do.

lit/Expr/TestCallStopAndContinue.test was fixed in r283082. The lit/lit.cfg
debugserver fix committed in r283520.