Skip to content

Commit

Permalink
meson: Avoid unnecessary copy for loadtests
Browse files Browse the repository at this point in the history
Signed-off-by: Mobin "Hojjat" Aydinfar <[email protected]>
  • Loading branch information
mobin-2008 committed Jan 3, 2024
1 parent dc662db commit da90dff
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/tests/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,6 @@ for_tests_general_sources = [
'test-run-child-proc.cc'
]

## Prepare loadtests
run_command([
'cp',
'-r',
meson.current_source_dir() + '/test-services',
meson.current_build_dir()
],
check: true
)

## Outputs
# Unit tests
tests_exec = executable(
Expand Down Expand Up @@ -64,5 +54,5 @@ envtests_exec = executable(
)
test('tests', tests_exec, suite: 'unit_tests')
test('proctests', proctests_exec, suite: 'unit_tests')
test('loadtests', loadtests_exec, workdir: meson.current_build_dir(), suite: 'unit_tests')
test('loadtests', loadtests_exec, workdir: meson.current_source_dir(), suite: 'unit_tests')
test('envtests', envtests_exec, suite: 'unit_tests')

0 comments on commit da90dff

Please sign in to comment.