run_py = os.path.join(self.libcxx_src_root, 'utils', 'run.py')
env_vars = ' '.join('%s=%s' % (k, pipes.quote(v)) for (k, v) in self.exec_env.items())
exec_str = '%s %s --codesign_identity "%s" --working_directory "%%S" ' \
- '--dependencies %%file_dependencies --env %s -- ' % \
+ '--dependencies %%{file_dependencies} --env %s -- ' % \
(pipes.quote(sys.executable), pipes.quote(run_py),
codesign_ident, env_vars)
sub.append(('%{exec}', exec_str))
tmpDir, tmpBase = lit.TestRunner.getTempPaths(test)
substitutions = lit.TestRunner.getDefaultSubstitutions(test, tmpDir,
tmpBase)
- substitutions.append(('%file_dependencies', ' '.join(data_files)))
+ substitutions.append(('%{file_dependencies}', ' '.join(data_files)))
script = lit.TestRunner.applySubstitutions(script, substitutions,
recursion_limit=lit_config.recursiveExpansionLimit)