Skip to content

Commit

Permalink
Fix bug for regression test, check process by script.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Nov 20, 2022
1 parent b9284b6 commit 05209eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@ jobs:
# For regression-test
- name: Run SRS regression-test
run: |
docker run --rm srs:test bash -c 'make && ./objs/srs -c conf/regression-test.conf && \
cd 3rdparty/srs-bench && make && ./objs/srs_test -test.v'
docker run --rm srs:test bash -c 'make && \
(./objs/srs -c conf/regression-test.conf; ./etc/init.d/srs status) && \
cd 3rdparty/srs-bench && make && ./objs/srs_test -test.v'
outputs:
SRS_TEST_DONE: ok

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,10 @@ jobs:
run: docker run --rm srs:test bash -c 'make utest && ./objs/srs_utest'
# For regression-test
- name: Run SRS regression-test
run: docker run --rm srs:test bash -c 'make && (./objs/srs -c conf/regression-test.conf; ./etc/init.d/srs status) && cd 3rdparty/srs-bench && make && ./objs/srs_test -test.v'
run: |
docker run --rm srs:test bash -c 'make && \
(./objs/srs -c conf/regression-test.conf; ./etc/init.d/srs status) && \
cd 3rdparty/srs-bench && make && ./objs/srs_test -test.v'
outputs:
SRS_UTEST_DONE: ok

Expand Down

0 comments on commit 05209eb

Please sign in to comment.