Skip to content

Commit

Permalink
TESTS: print log when test error
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozhihong committed Oct 30, 2023
1 parent c2d20a4 commit c4ffc07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ jobs:
- name: Run SRS regression-test
run: |
docker run --rm srs:test bash -c './objs/srs -c conf/regression-test.conf && \
cd 3rdparty/srs-bench && (./objs/srs_test -test.v || tail -n 100 ../../objs/srs.log) && ./objs/srs_gb28181_test -test.v'
cd 3rdparty/srs-bench && (./objs/srs_test -test.v || (tail -n 100 ../../objs/srs.log && exit -1)) && ./objs/srs_gb28181_test -test.v'
runs-on: ubuntu-20.04

coverage:
Expand Down

0 comments on commit c4ffc07

Please sign in to comment.