Skip to content

Commit

Permalink
Merge 6967bcb into 8e17480
Browse files Browse the repository at this point in the history
  • Loading branch information
ni4 authored Jul 28, 2023
2 parents 8e17480 + 6967bcb commit 14a49b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/windows-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@ jobs:
# There is another one instance of ssl at /mingw and /mingw/bin is always at the first position at PATH
if: matrix.backend == 'openssl'
shell: bash
run: echo OPENSSL_ROOT_DIR=${{ env.VCPKG_DIR }}/installed >> $GITHUB_ENV
run: |
echo OPENSSL_ROOT_DIR=${{ env.VCPKG_DIR }}/installed >> $GITHUB_ENV
ls -la ${{ env.VCPKG_DIR }}/installed/x64-windows
ls -la ${{ env.VCPKG_DIR }}/installed/vcpkg
- name: Adjust settings for s2k_iteration_tuning test
# This step adjusts s2k_iteration_tuning threshold for
Expand Down
4 changes: 2 additions & 2 deletions src/tests/cli_common.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import sys
import distutils.spawn
import random
import string
import logging
import os
import re
import shutil
from subprocess import Popen, PIPE

RNP_ROOT = None
Expand Down Expand Up @@ -78,7 +78,7 @@ def file_text(path, encoding = CONSOLE_ENCODING):
return f.read().decode(encoding).replace('\r\r', '\r')

def find_utility(name, exitifnone = True):
path = distutils.spawn.find_executable(name)
path = shutil.which(name)
if not path and exitifnone:
logging.error('Cannot find utility {}. Exiting.'.format(name))
sys.exit(1)
Expand Down

0 comments on commit 14a49b5

Please sign in to comment.