[RISCV] Rename a lambda to have plural nouns to reflect that it contains a loop. NFC
[llvm-project.git] / libunwind / test / configs / ibm-libunwind-shared.cfg.in
blob2221e0cf499ff21cb5888904fc6e0a04db292ecf
1 # Configuration file for running the libunwind tests on AIX.
4 lit_config.load_config(config, '@CMAKE_CURRENT_BINARY_DIR@/cmake-bridge.cfg')
6 import lit.util
7 if lit.util.isAIXTriple(config.target_triple):
8   # Add the AIX version to the triple here because there currently isn't a good
9   # way to retrieve the AIX version in the driver.
10   config.target_triple = lit.util.addAIXVersion(config.target_triple)
12 config.substitutions.append(('%{flags}', ''))
13 config.substitutions.append(('%{compile_flags}',
14     '-nostdinc++ -I %{include}'
16 config.substitutions.append(('%{link_flags}',
17     '-nostdlib++ -L %{lib} -lunwind -ldl -Wl,-bbigtoc'
19 config.substitutions.append(('%{exec}',
20     '%{executor} --execdir %T --env LIBPATH=%{lib} -- '
23 import os, site
24 site.addsitedir(os.path.join('@LIBUNWIND_LIBCXX_PATH@', 'utils'))
25 import libcxx.test.params, libcxx.test.config
26 libcxx.test.config.configure(
27     libcxx.test.params.DEFAULT_PARAMETERS,
28     libcxx.test.features.DEFAULT_FEATURES,
29     config,
30     lit_config