Browse Source

meson: Avoid unnecessary copy for loadtests

Signed-off-by: Mobin "Hojjat" Aydinfar <mobin@mobintestserver.ir>
Mobin Aydinfar 3 months ago
parent
commit
cc42825d97
1 changed files with 1 additions and 11 deletions
  1. 1 11
      src/tests/meson.build

+ 1 - 11
src/tests/meson.build

@@ -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(
@@ -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')