Skip to content

Commit da297e9

Browse files
authored
make dwarfdump tests work under Meson (#235)
the config file needs to be copied over. this adds that. Signed-off-by: Julia DeMille <[email protected]>
1 parent d1ec010 commit da297e9

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

meson.build

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,13 @@ if get_option('dwarfexample') == true
196196
subdir('src/bin/dwarfexample')
197197
endif
198198
subdir('doc')
199+
200+
configure_file(
201+
input: 'src/bin/dwarfdump/dwarfdump.conf',
202+
output: 'dwarfdump.conf',
203+
copy: true
204+
)
205+
199206
subdir('test')
200207

201208
# Use config_h after all subdirs have set values

test/meson.build

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,12 @@ pyscripttests = [
139139
builddir = project_build_base_root
140140
message(['mesondebug test builds ',builddir])
141141

142+
configure_file(
143+
input: '../src/bin/dwarfdump/dwarfdump.conf',
144+
output: 'dwarfdump.conf',
145+
copy: true
146+
)
147+
142148
py3_exe = import('python').find_installation(required:false)
143149
if py3_exe.found()
144150
foreach testscr : pyscripttests

0 commit comments

Comments
 (0)