[Lldb-commits] [lldb] r121818 - /lldb/trunk/test/abbreviation_tests/TestAbbreviations.py
Johnny Chen
johnny.chen at apple.com
Tue Dec 14 16:58:49 PST 2010
Author: johnny
Date: Tue Dec 14 18:58:49 2010
New Revision: 121818
URL: http://llvm.org/viewvc/llvm-project?rev=121818&view=rev
Log:
Modify the test case to run under ['gcc', 'llvm-gcc', 'clang'] x ['x86_64', 'i386']
combinations.
Modified:
lldb/trunk/test/abbreviation_tests/TestAbbreviations.py
Modified: lldb/trunk/test/abbreviation_tests/TestAbbreviations.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/abbreviation_tests/TestAbbreviations.py?rev=121818&r1=121817&r2=121818&view=diff
==============================================================================
--- lldb/trunk/test/abbreviation_tests/TestAbbreviations.py (original)
+++ lldb/trunk/test/abbreviation_tests/TestAbbreviations.py Tue Dec 14 18:58:49 2010
@@ -72,7 +72,7 @@
def running_abbreviations (self):
exe = os.path.join (os.getcwd(), "a.out")
self.expect("fil " + exe,
- patterns = [ "Current executable set to .*a.out.*(x86_64)" ])
+ patterns = [ "Current executable set to .*a.out.*" ])
self.expect("regex product",
substrs = [ "breakpoint set --name 'product'",
@@ -121,11 +121,11 @@
self.expect("d -f",
startstr = "a.out`sum(int, int):",
- substrs = [' pushq ',
- ' movq ',
+ substrs = [' push',
+ ' mov',
' addl ',
- 'leave',
- 'ret'])
+ 'ret'],
+ patterns = ['(leave|popq|popl)'])
self.expect("i d l main.cpp",
patterns = ["Line table for .*main.cpp in `a.out"])
More information about the lldb-commits
mailing list