We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af61ace commit f43d829Copy full SHA for f43d829
test/lit.cfg
@@ -239,7 +239,9 @@ elif platform.system() == 'Darwin':
239
config.substitutions.append( ('%lto_flags', lto_flags) )
240
config.substitutions.append( ('%use_just_built_liblto', use_just_built_liblto) )
241
config.substitutions.append( ('%llvm_libs_dir', llvm_libs_dir) )
242
-config.substitutions.append( ('%llvm_plugin_ext', llvm_plugin_ext) )
+
243
+if llvm_plugin_ext is not None:
244
+ config.substitutions.append( ('%llvm_plugin_ext', llvm_plugin_ext) )
245
246
# Allow tests to restore the original environment if they need to.
247
config.substitutions.append( ('%original_path_env', config.environment['PATH']) )
0 commit comments