summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@kernel.org>2022-04-14 14:24:55 +0200
committerPetri Latvala <petri.latvala@intel.com>2022-04-14 18:19:39 +0300
commit6c8a8c1a81107c45e887b1727e1964e8e936c156 (patch)
tree7a23b644e1e539f223b89e4d1d2b206ca8dc789d /scripts
parent89aff190ac66524efd622154eae8d510bf420acc (diff)
scripts/meson.build: install code coverage scripts
Those scripts are needed at runtime. So, place them under bindir. Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/meson.build13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/meson.build b/scripts/meson.build
new file mode 100644
index 00000000..342972e6
--- /dev/null
+++ b/scripts/meson.build
@@ -0,0 +1,13 @@
+scripts = [
+ 'code_cov_capture',
+ 'code_cov_gather_on_build',
+ 'code_cov_gather_on_test',
+ 'code_cov_gen_report',
+ 'code_cov_parse_info',
+]
+
+if build_tests
+ foreach prog : scripts
+ install_data(prog, install_dir : bindir, install_mode : 'r-xr-xr-x')
+ endforeach
+endif