[Lldb-commits] [lldb] r232163 - Fix expectation in TestDataFormatterSynth

Tamas Berghammer tberghammer at google.com
Fri Mar 13 04:59:58 PDT 2015


Author: tberghammer
Date: Fri Mar 13 06:59:58 2015
New Revision: 232163

URL: http://llvm.org/viewvc/llvm-project?rev=232163&view=rev
Log:
Fix expectation in TestDataFormatterSynth

The value of some_values (pointer) expeced to start by 0x0 but nothing
requires that the first digit of the address be '0'.

This CL change the expectation to check only for a value starting with 0x.

Modified:
    lldb/trunk/test/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py

Modified: lldb/trunk/test/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py?rev=232163&r1=232162&r2=232163&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py (original)
+++ lldb/trunk/test/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py Fri Mar 13 06:59:58 2015
@@ -168,7 +168,7 @@ class SynthDataFormatterTestCase(TestBas
         
         # skip synthetic children
         self.expect('frame variable plenty_of_stuff --synthetic-type no',
-                    substrs = ['some_values = 0x0',
+                    substrs = ['some_values = 0x',
                                'array = 0x',
                                'array_size = 5'])
 





More information about the lldb-commits mailing list