From 3a9d67541ee78cfdfe88e0f23dab4b904532176a Mon Sep 17 00:00:00 2001 From: Ali Sabil Date: Tue, 19 Mar 2024 17:04:30 +0100 Subject: [PATCH] meson: mark the labrat files as dependencies to the test suite --- tests/labrats/meson.build | 6 ++++-- tests/meson.build | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/labrats/meson.build b/tests/labrats/meson.build index 0b707edf5..b2b5a78d6 100644 --- a/tests/labrats/meson.build +++ b/tests/labrats/meson.build @@ -1,3 +1,5 @@ +fs = import('fs') + labrat_files = [] if host_os == 'windows' @@ -106,7 +108,7 @@ if host_os == 'qnx' ] endif -fs = import('fs') +labrats = [] foreach f : labrat_files - fs.copyfile(f) + labrats += fs.copyfile(f) endforeach diff --git a/tests/meson.build b/tests/meson.build index 6574081d5..b04903e1f 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -78,4 +78,5 @@ runner = custom_target('frida-tests', test('core', find_program('./run.py'), args: runner.full_path(), timeout: 120, + depends: [runner, labrats], )