]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
test: Allow for scripts that don't get installed
authorSimon McVittie <smcv@collabora.com>
Fri, 24 Jun 2022 12:00:28 +0000 (13:00 +0100)
committerSimon McVittie <smcv@collabora.com>
Wed, 13 Jul 2022 19:36:13 +0000 (20:36 +0100)
At the moment there aren't any like this, but it seems reasonable that
we might get some later.

Signed-off-by: Simon McVittie <smcv@collabora.com>
test/meson.build

index 787556420e6e7c78085d2b564f6dca52847e98f1..fa2338cc00ae6c252dd756f9e1a4edeee989472f 100644 (file)
@@ -566,8 +566,9 @@ endif
 foreach script: scripts
     name = script.get('name')
     exec = script.get('exec', script.get('name'))
+    install = script.get('install', true)
 
-    if install_tests
+    if install_tests and install
         install_data(exec,
             install_mode: 'rwxr-xr-x',
             install_dir: test_exec_dir,