[Lldb-commits] [lldb] r113238 - /lldb/trunk/test/set_values/TestSetValues.py

Johnny Chen johnny.chen at apple.com
Tue Sep 7 11:19:13 PDT 2010


Author: johnny
Date: Tue Sep  7 13:19:13 2010
New Revision: 113238

URL: http://llvm.org/viewvc/llvm-project?rev=113238&view=rev
Log:
Converted TestSetValues.py to Dsym/Dwarf combination.

Modified:
    lldb/trunk/test/set_values/TestSetValues.py

Modified: lldb/trunk/test/set_values/TestSetValues.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/set_values/TestSetValues.py?rev=113238&r1=113237&r2=113238&view=diff
==============================================================================
--- lldb/trunk/test/set_values/TestSetValues.py (original)
+++ lldb/trunk/test/set_values/TestSetValues.py Tue Sep  7 13:19:13 2010
@@ -9,7 +9,18 @@
 
     mydir = "set_values"
 
-    def test_set_values(self):
+    @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
+    def test_with_dsym(self):
+        """Test settings and readings of program variables."""
+        self.buildDsym()
+        self.set_values()
+
+    def test_with_dwarf(self):
+        """Test settings and readings of program variables."""
+        self.buildDwarf()
+        self.set_values()
+
+    def set_values(self):
         """Test settings and readings of program variables."""
         exe = os.path.join(os.getcwd(), "a.out")
         self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)





More information about the lldb-commits mailing list