Skip to content

Commit

Permalink
meson: Mark the labrat files as dependencies to the test suite (#511)
Browse files Browse the repository at this point in the history
  • Loading branch information
asabil authored Mar 19, 2024
1 parent cae3f27 commit ac6c572
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/labrats/meson.build
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
fs = import('fs')

labrat_files = []

if host_os == 'windows'
Expand Down Expand Up @@ -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
1 change: 1 addition & 0 deletions tests/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,5 @@ runner = custom_target('frida-tests',
test('core', find_program('./run.py'),
args: runner.full_path(),
timeout: 120,
depends: [runner, labrats],
)

0 comments on commit ac6c572

Please sign in to comment.