Skip to content

Commit

Permalink
meson: Wire up test-suite
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed Mar 21, 2024
1 parent 8cd2e8d commit 63b2138
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,17 @@ subdir('agents')
subdir('frida_tools')
subdir('scripts')
subdir('completions')

pathsep = host_machine.system() == 'windows' ? ';' : ':'

test('frida-tools', python,
args: ['-m', 'unittest', 'discover'],
workdir: meson.current_source_dir(),
env: {
'PYTHONPATH': pathsep.join([
meson.current_source_dir() / 'subprojects' / 'frida-python',
meson.current_build_dir() / 'subprojects' / 'frida-python' / 'src',
]),
},
timeout: 30,
)

0 comments on commit 63b2138

Please sign in to comment.