Commit c06e24be authored by Philip Withnall's avatar Philip Withnall

tests: Don’t use install kwarg to configure_file(); it doesn’t exist

Wrap the configure_file() in an if statement instead. This is a
follow-up to commit d0f0de20.

See https://github.com/mesonbuild/meson/issues/3983.
Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
parent ac7de376
Pipeline #47104 passed with stages
in 5 minutes and 35 seconds
......@@ -25,13 +25,14 @@ foreach program: test_programs
test_conf.set('installed_tests_dir', installed_tests_execdir)
test_conf.set('program', program[0])
configure_file(
input: test_template,
output: program[0] + '.test',
install: enable_installed_tests,
install_dir: installed_tests_metadir,
configuration: test_conf,
)
if enable_installed_tests
configure_file(
input: test_template,
output: program[0] + '.test',
install_dir: installed_tests_metadir,
configuration: test_conf,
)
endif
exe = executable(
program[0],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment