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