Skip to content

Commit

Permalink
tests: Fix make check with test-build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiwarat committed Jan 30, 2024
1 parent 32c0827 commit e3970f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
python3-pycotap
FEDORA_PACKAGES_DISTRO: >
patch
procps-ng
strace
run: |
Expand Down
2 changes: 1 addition & 1 deletion tests/test-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ maybe_install_pycotap() {
fi;

# Check if pycotap is already available.
if ! python3 -m pycotap >/dev/null; then
if ! python3 -c "import pycotap"; then
PIP=pip3
if ! command -v $PIP &> /dev/null ; then
PIP=pip
Expand Down

0 comments on commit e3970f9

Please sign in to comment.