Skip to content

Commit

Permalink
Fix testsuite test
Browse files Browse the repository at this point in the history
  • Loading branch information
xakod committed Feb 19, 2024
1 parent d061d1d commit a50b380
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions recipes/userver/all/test_package/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,16 @@ def test(self):
)
self.run(bin_path, env='conanrun')

bin_path = os.path.join(
self.cpp.build.bindirs[0],
'hello_service',
'runtests-testsuite-conan-samples-hello_service',
)
command = ' '
folder = os.path.join(
self.source_folder,
'hello_service',
)
args = [bin_path, '--service-logs-pretty', '-vv', folder]
self.run(command.join(args), env='conanrun')
if self.dependencies[self.tested_reference_str].options.with_testsuite:
bin_path = os.path.join(
self.cpp.build.bindirs[0],
'hello_service',
'runtests-testsuite-conan-samples-hello_service',
)
command = ' '
folder = os.path.join(
self.source_folder,
'hello_service',
)
args = [bin_path, '--service-logs-pretty', '-vv', folder]
self.run(command.join(args), env='conanrun')

0 comments on commit a50b380

Please sign in to comment.