@@ -18,10 +18,12 @@ config.substitutions.append(("%cmake_build_type", config.cmake_build_type))
18
18
config.substitutions.append((" %cmake_c_compiler_launcher" , config.cmake_c_compiler_launcher))
19
19
config.substitutions.append((" %cmake_cxx_compiler_launcher" , config.cmake_cxx_compiler_launcher))
20
20
21
- # see https://github.com/llvm/llvm-project/blob/57782eff31e9d454b54a201c7ac43dc1b93dbb3f/llvm/utils/lit/lit/TestRunner.py#L1858
22
- config.substitutions.insert(0, (" FileCheck" , " FileChuck" ))
23
- config.substitutions.insert(0, (" count" , " kount" ))
24
- config.substitutions.insert(0, (" not" , " mot" ))
25
- config.substitutions.append((" kount" , " count" ))
26
- config.substitutions.append((" mot" , " not" ))
27
- config.substitutions.append((" FileChuck" , " FileCheck" ))
21
+ if config.run_standalone_install_tests:
22
+ config.available_features.add(" run-standalone-install-tests" )
23
+ # see https://github.com/llvm/llvm-project/blob/57782eff31e9d454b54a201c7ac43dc1b93dbb3f/llvm/utils/lit/lit/TestRunner.py#L1858
24
+ config.substitutions.insert(0, (" FileCheck" , " FileChuck" ))
25
+ config.substitutions.insert(0, (" count" , " kount" ))
26
+ config.substitutions.insert(0, (" not" , " mot" ))
27
+ config.substitutions.append((" kount" , " count" ))
28
+ config.substitutions.append((" mot" , " not" ))
29
+ config.substitutions.append((" FileChuck" , " FileCheck" ))
0 commit comments