[Lldb-commits] [lldb] r219980 - This test needs the SB headers to make sense

Enrico Granata egranata at apple.com
Thu Oct 16 16:02:45 PDT 2014


Author: enrico
Date: Thu Oct 16 18:02:45 2014
New Revision: 219980

URL: http://llvm.org/viewvc/llvm-project?rev=219980&view=rev
Log:
This test needs the SB headers to make sense

Modified:
    lldb/trunk/test/api/multiple-debuggers/TestMultipleDebuggers.py

Modified: lldb/trunk/test/api/multiple-debuggers/TestMultipleDebuggers.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/api/multiple-debuggers/TestMultipleDebuggers.py?rev=219980&r1=219979&r2=219980&view=diff
==============================================================================
--- lldb/trunk/test/api/multiple-debuggers/TestMultipleDebuggers.py (original)
+++ lldb/trunk/test/api/multiple-debuggers/TestMultipleDebuggers.py Thu Oct 16 18:02:45 2014
@@ -16,10 +16,12 @@ class TestMultipleSimultaneousDebuggers(
         self.lib_dir = os.environ["LLDB_LIB_DIR"]
 
     @skipIfi386
+    @skipIfNoSBHeaders
     @expectedFailureDarwin("llvm.org/pr20282") # intermittent
     @expectedFailureFreeBSD("llvm.org/pr20282")
     @expectedFailureLinux("llvm.org/pr20282")
     def test_multiple_debuggers(self):
+        env = {self.dylibPath : self.getLLDBLibraryEnvVal()}
 
         self.driver_exe = os.path.join(os.getcwd(), "multi-process-driver")
         self.buildDriver('multi-process-driver.cpp', self.driver_exe)
@@ -29,8 +31,6 @@ class TestMultipleSimultaneousDebuggers(
         self.buildDriver('testprog.cpp', self.inferior_exe)
         self.addTearDownHook(lambda: os.remove(self.inferior_exe))
 
-        env = {self.dylibPath : self.getLLDBLibraryEnvVal()}
-
 # check_call will raise a CalledProcessError if multi-process-driver doesn't return
 # exit code 0 to indicate success.  We can let this exception go - the test harness
 # will recognize it as a test failure.





More information about the lldb-commits mailing list