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 1
1
//! Tests for `-Ztrim-paths`.
2
2
3
3
use cargo_test_support:: basic_manifest;
4
+ use cargo_test_support:: compare:: match_contains;
4
5
use cargo_test_support:: git;
5
6
use cargo_test_support:: paths;
6
7
use cargo_test_support:: project;
7
8
use cargo_test_support:: registry:: Package ;
9
+ use cargo_util:: is_ci;
8
10
9
11
#[ cargo_test]
10
12
fn gated_manifest ( ) {
@@ -694,7 +696,11 @@ fn custom_build_env_var_trim_paths() {
694
696
#[ cfg( unix) ]
695
697
#[ cargo_test( requires_lldb, nightly, reason = "-Zremap-path-scope is unstable" ) ]
696
698
fn 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
+ }
698
704
699
705
let run_lldb = |path| {
700
706
std:: process:: Command :: new ( "lldb" )
You can’t perform that action at this time.
0 commit comments