File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 11//! Tests for `-Ztrim-paths`. 
22
33use  cargo_test_support:: basic_manifest; 
4+ use  cargo_test_support:: compare:: match_contains; 
45use  cargo_test_support:: git; 
56use  cargo_test_support:: paths; 
67use  cargo_test_support:: project; 
78use  cargo_test_support:: registry:: Package ; 
9+ use  cargo_util:: is_ci; 
810
911#[ cargo_test]  
1012fn  gated_manifest ( )  { 
@@ -694,7 +696,11 @@ fn custom_build_env_var_trim_paths() {
694696#[ cfg( unix) ]  
695697#[ cargo_test( requires_lldb,  nightly,  reason = "-Zremap-path-scope is unstable" ) ]  
696698fn  lldb_works_after_trimmed ( )  { 
697-     use  cargo_test_support:: compare:: match_contains; 
699+     if  !is_ci ( )  { 
700+         // On macOS lldb requires elevated privileges to run developer tools. 
701+         // See rust-lang/cargo#13413 
702+         return ; 
703+     } 
698704
699705    let  run_lldb = |path| { 
700706        std:: process:: Command :: new ( "lldb" ) 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments