236
|
1 # Configuration file for running the libunwind tests on AIX.
|
|
2 #
|
|
3
|
|
4 lit_config.load_config(config, '@CMAKE_CURRENT_BINARY_DIR@/cmake-bridge.cfg')
|
|
5
|
|
6 config.substitutions.append(('%{flags}', ''))
|
|
7 config.substitutions.append(('%{compile_flags}',
|
|
8 '-nostdinc++ -I %{include}'
|
|
9 ))
|
|
10 config.substitutions.append(('%{link_flags}',
|
|
11 '-nostdlib++ -L %{lib} -lunwind -ldl -Wl,-bbigtoc'
|
|
12 ))
|
|
13 config.substitutions.append(('%{exec}',
|
|
14 '%{executor} --execdir %T --env LIBPATH=%{lib} -- '
|
|
15 ))
|
|
16
|
|
17 import os, site
|
|
18 site.addsitedir(os.path.join('@LIBUNWIND_LIBCXX_PATH@', 'utils'))
|
252
|
19 import libcxx.test.params, libcxx.test.config
|
|
20 libcxx.test.config.configure(
|
236
|
21 libcxx.test.params.DEFAULT_PARAMETERS,
|
|
22 libcxx.test.features.DEFAULT_FEATURES,
|
|
23 config,
|
|
24 lit_config
|
|
25 )
|