brintos

brintos / llvm-project-archived public Read only

0
0
Text · 903 B · 4473171 Raw
26 lines · plain
1# This testing configuration handles running the test suite against LLVM's libc++2# using either a DLL or a static library, with MinGW/Clang on Windows.3 4lit_config.load_config(config, '@CMAKE_CURRENT_BINARY_DIR@/cmake-bridge.cfg')5 6config.substitutions.append(('%{flags}', ''))7config.substitutions.append(('%{compile_flags}',8    '-nostdinc++ -I %{target-include-dir} -I %{include-dir} -I %{libcxx-dir}/test/support'9))10config.substitutions.append(('%{link_flags}',11    '-nostdlib++ -L %{lib-dir} -lc++'12))13config.substitutions.append(('%{exec}',14    '%{executor} --execdir %{temp} --prepend_env PATH=%{install-prefix}/bin -- '15))16 17import os, site18site.addsitedir(os.path.join('@LIBCXX_SOURCE_DIR@', 'utils'))19import libcxx.test.params, libcxx.test.config20libcxx.test.config.configure(21    libcxx.test.params.DEFAULT_PARAMETERS,22    libcxx.test.features.DEFAULT_FEATURES,23    config,24    lit_config25)26