meson: do not install testdata when -Dinstall-tests=false
Fixes #16447.
This commit is contained in:
parent
60b45a80c1
commit
a18c7865be
|
@ -1,5 +1,6 @@
|
||||||
# SPDX-License-Identifier: LGPL-2.1+
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
|
||||||
|
if install_tests
|
||||||
testdata_dir = testsdir + '/testdata/'
|
testdata_dir = testsdir + '/testdata/'
|
||||||
|
|
||||||
install_subdir('journal-data',
|
install_subdir('journal-data',
|
||||||
|
@ -51,6 +52,7 @@ endif
|
||||||
install_data('create-busybox-container',
|
install_data('create-busybox-container',
|
||||||
install_mode : 'rwxr-xr-x',
|
install_mode : 'rwxr-xr-x',
|
||||||
install_dir : testdata_dir)
|
install_dir : testdata_dir)
|
||||||
|
endif
|
||||||
|
|
||||||
test_network_generator_conversion_sh = find_program('test-network-generator-conversion.sh')
|
test_network_generator_conversion_sh = find_program('test-network-generator-conversion.sh')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue