[flang][runtime] Make defined formatted I/O process format elementally (#74150)
[llvm-project.git] / libcxx / test / configs / llvm-libc++-static.cfg.in
blobe866d4f52a0629d794c2e928cb7a97c87fc20b14
1 # This testing configuration handles running the test suite against LLVM's libc++
2 # using a static library.
4 lit_config.load_config(config, '@CMAKE_CURRENT_BINARY_DIR@/cmake-bridge.cfg')
6 config.substitutions.append(('%{flags}',
7     '-pthread' + (' -isysroot {}'.format('@CMAKE_OSX_SYSROOT@') if '@CMAKE_OSX_SYSROOT@' else '')
8 ))
9 config.substitutions.append(('%{compile_flags}',
10     '-nostdinc++ -I %{include} -I %{target-include} -I %{libcxx}/test/support'
12 config.substitutions.append(('%{link_flags}',
13     '-nostdlib++ -L %{lib} -lc++ -lc++abi'
15 config.substitutions.append(('%{exec}',
16     '%{executor} --execdir %T -- '
19 import os, site
20 site.addsitedir(os.path.join('@LIBCXX_SOURCE_DIR@', 'utils'))
21 import libcxx.test.params, libcxx.test.config
22 libcxx.test.config.configure(
23     libcxx.test.params.DEFAULT_PARAMETERS,
24     libcxx.test.features.DEFAULT_FEATURES,
25     config,
26     lit_config