From 1143e3c502d0be8b729eb63ece22de1f8e4b1f5c Mon Sep 17 00:00:00 2001 From: john Date: Mon, 30 Oct 2023 21:42:04 +0800 Subject: [PATCH] TESTS: print log when test error --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c44da7059e..366d47e465 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 && exit -1)) && ./objs/srs_gb28181_test -test.v' + cd 3rdparty/srs-bench && (./objs/srs_test -test.v || (cat ../../objs/srs.log && exit -1)) && ./objs/srs_gb28181_test -test.v' runs-on: ubuntu-20.04 coverage: