Skip to content

Commit

Permalink
Fix swig make error on Linux and runall.py error reading log file on …
Browse files Browse the repository at this point in the history
…Windows
  • Loading branch information
bennylp committed Jul 19, 2024
1 parent 78c9adf commit b08343b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: make
run: $MAKE_FAST
- name: swig bindings
run: cd pjsip-apps/src/swig && $MAKE_FAST
run: cd pjsip-apps/src/swig && make
- name: set up Python 3.10 for pjsua test
uses: actions/setup-python@v2
with:
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
- name: make
run: $MAKE_FAST
- name: swig bindings
run: cd pjsip-apps/src/swig && $MAKE_FAST
run: cd pjsip-apps/src/swig && make

# build-ubuntu-openssl
# TLS: with OpenSSL (same as build-ubuntu-default)
Expand All @@ -110,7 +110,7 @@ jobs:
- name: make
run: $MAKE_FAST
- name: swig bindings
run: cd pjsip-apps/src/swig && $MAKE_FAST
run: cd pjsip-apps/src/swig && make

lin-vid-openh264-1:
# video: video enabled with vpx and openh264
Expand All @@ -131,7 +131,7 @@ jobs:
- name: make
run: $MAKE_FAST
- name: swig bindings
run: cd pjsip-apps/src/swig && $MAKE_FAST
run: cd pjsip-apps/src/swig && make
- name: set up Python 3.10 for pjsua test
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -205,4 +205,4 @@ jobs:
- name: make
run: $MAKE_FAST
- name: swig bindings
run: cd pjsip-apps/src/swig && $MAKE_FAST
run: cd pjsip-apps/src/swig && make
2 changes: 1 addition & 1 deletion tests/pjsua/runall.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
if (i < retry_num + 1):
continue
if with_log:
lines = open(logname, "r", encoding='utf-8').readlines()
lines = open(logname, "r", encoding='utf-8', errors='ignore').readlines()
print(''.join(lines))
print("Log file: '" + logname + "'.")
fails_cnt += 1
Expand Down

0 comments on commit b08343b

Please sign in to comment.