Fix reference to execute_external leftover in 69924ccf7a328f
authorSam McCall <sam.mccall@gmail.com>
Thu, 10 Mar 2022 22:20:03 +0000 (23:20 +0100)
committerSam McCall <sam.mccall@gmail.com>
Thu, 10 Mar 2022 22:20:03 +0000 (23:20 +0100)
clang-tools-extra/test/lit.cfg.py

index 5c3934f..820914b 100644 (file)
@@ -83,7 +83,7 @@ config.available_features.add('crash-recovery')
 #
 
 # Exclude MSYS due to transforming '/' to 'X:/mingwroot/'.
-if not platform.system() in ['Windows'] or not execute_external:
+if not platform.system() in ['Windows'] or llvm_config.use_lit_shell:
     config.available_features.add('shell-preserves-root')
 
 # ANSI escape sequences in non-dumb terminal