mirror of
https://github.com/libssh2/libssh2.git
synced 2026-01-27 00:18:12 +03:00
tests: add support for wine/qemu
To run test program via `wine`: ```shell export LIBSSH2_TEST_EXE_RUNNER=wine ``` It prefixes commands with the specified runner. For systems where this isn't automatic or supported, e.g. macOS. Closes #1562
This commit is contained in:
@@ -146,7 +146,7 @@ echo "${count}..${total}"
|
||||
export OPENSSH_NO_DOCKER=1
|
||||
|
||||
for test in ${tests}; do
|
||||
if "${test}"; then
|
||||
if ${LIBSSH2_TEST_EXE_RUNNER:-} "${test}"; then
|
||||
res='ok'
|
||||
else
|
||||
testerr=$?
|
||||
|
||||
Reference in New Issue
Block a user