[Lldb-commits] [lldb] r236704 - Minor changes in the MiStartupOptionsTestCase (MI)
Ilia K
ki.stfu at gmail.com
Thu May 7 00:16:06 PDT 2015
Author: ki.stfu
Date: Thu May 7 02:16:06 2015
New Revision: 236704
URL: http://llvm.org/viewvc/llvm-project?rev=236704&view=rev
Log:
Minor changes in the MiStartupOptionsTestCase (MI)
Modified:
lldb/trunk/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py
lldb/trunk/test/tools/lldb-mi/startup_options/main.cpp
Modified: lldb/trunk/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py?rev=236704&r1=236703&r2=236704&view=diff
==============================================================================
--- lldb/trunk/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py (original)
+++ lldb/trunk/test/tools/lldb-mi/startup_options/TestMiStartupOptions.py Thu May 7 02:16:06 2015
@@ -49,7 +49,7 @@ class MiStartupOptionsTestCase(lldbmi_te
# Test that the executable isn't loaded when unknown file was specified
self.expect("-file-exec-and-symbols \"%s\"" % path)
- self.expect("\^error,msg=\"Command 'file-exec-and-symbols'\. Target binary '%s' is invalid\. error: unable to find executable for '%s'\"" % (path, path))
+ self.expect("\^error,msg=\"Command 'file-exec-and-symbols'. Target binary '%s' is invalid. error: unable to find executable for '%s'\"" % (path, path))
# Test that lldb-mi is ready when executable was loaded
self.expect(self.child_prompt, exactly = True)
@@ -123,7 +123,7 @@ class MiStartupOptionsTestCase(lldbmi_te
# Test that the executable isn't loaded when file was specified using unknown path
self.expect("-file-exec-and-symbols \"%s\"" % path)
- self.expect("\^error,msg=\"Command 'file-exec-and-symbols'\. Target binary '%s' is invalid\. error: unable to find executable for '%s'\"" % (path, path))
+ self.expect("\^error,msg=\"Command 'file-exec-and-symbols'. Target binary '%s' is invalid. error: unable to find executable for '%s'\"" % (path, path))
# Test that lldb-mi is ready when executable was loaded
self.expect(self.child_prompt, exactly = True)
@@ -151,7 +151,7 @@ class MiStartupOptionsTestCase(lldbmi_te
self.expect("\^running")
# After '-break-insert main.cpp:BP_return'
- line = line_number('main.cpp', '// BP_return')
+ line = line_number('main.cpp', '//BP_return')
self.expect("-break-insert main.cpp:%d" % line)
self.expect("\^done,bkpt={number=\"2\"")
@@ -190,7 +190,7 @@ class MiStartupOptionsTestCase(lldbmi_te
self.expect("\^running")
# After '-break-insert main.cpp:BP_return'
- line = line_number('main.cpp', '// BP_return')
+ line = line_number('main.cpp', '//BP_return')
self.expect("-break-insert main.cpp:%d" % line)
self.expect("\^done,bkpt={number=\"2\"")
@@ -226,7 +226,7 @@ class MiStartupOptionsTestCase(lldbmi_te
# Test that lldb-mi is ready after execution of --source start_script
self.expect(self.child_prompt, exactly = True)
-
+
@lldbmi_test
@expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows")
@skipIfFreeBSD # llvm.org/pr22411: Failure presumably due to known thread races
@@ -299,6 +299,6 @@ class MiStartupOptionsTestCase(lldbmi_te
# Delete log
for f in logFile:
os.remove(f)
-
+
if __name__ == '__main__':
unittest2.main()
Modified: lldb/trunk/test/tools/lldb-mi/startup_options/main.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/tools/lldb-mi/startup_options/main.cpp?rev=236704&r1=236703&r2=236704&view=diff
==============================================================================
--- lldb/trunk/test/tools/lldb-mi/startup_options/main.cpp (original)
+++ lldb/trunk/test/tools/lldb-mi/startup_options/main.cpp Thu May 7 02:16:06 2015
@@ -11,5 +11,5 @@ int
main(int argc, char const *argv[])
{
int a = 10;
- return 0; // BP_return
+ return 0; //BP_return
}
More information about the lldb-commits
mailing list