From ecfc337d27e3fe553a52deebb9e1eeead497d1ff Mon Sep 17 00:00:00 2001 From: knj Date: Tue, 5 Jul 2022 13:39:31 +0200 Subject: [PATCH 1/2] add plc cases to smoke test --- .gitlab-ci.yml | 4 +++- ci/smoke_test.sh | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a87ed452b6..011ef4705b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -86,10 +86,12 @@ codec-smoke-test: script: - bash ci/smoke_test.sh ### analyze for failures - - if cat smoke_test_output.txt | grep -c "failed"; then echo "Smoke test failed"; exit 1; fi + - if cat smoke_test_output.txt | grep -c "failed"; then echo "Smoke test without PLC failed"; exit 1; fi + - if cat smoke_test_output_plc.txt | grep -c "failed"; then echo "Smoke test with PLC failed"; exit 1; fi artifacts: paths: - out/logs + - out_plc/logs # compare bit exactness between target and source branch diff --git a/ci/smoke_test.sh b/ci/smoke_test.sh index c1502bac53..b8c4bdd3f0 100755 --- a/ci/smoke_test.sh +++ b/ci/smoke_test.sh @@ -6,8 +6,10 @@ if [ ! -d "lib_com" ]; then fi make clean -make all -j +make all -j 8 # get all modes except SBA rate switching (which is broken currently) list=$(./scripts/runIvasCodec.py -l | grep -v "SBA.*rs") ./scripts/runIvasCodec.py -p ./scripts/config/ci_linux.json -m $list -U 1 | tee smoke_test_output.txt + +./scripts/runIvasCodec.py -p ./scripts/config/ci_linux.json -m $list -U 1 -D="-fec 15" --decoder_only | tee smoke_test_output_plc.txt -- GitLab From 1681ea13a1bb4a16b9f9718b202a41bb11ec177e Mon Sep 17 00:00:00 2001 From: kiene Date: Tue, 5 Jul 2022 14:40:39 +0000 Subject: [PATCH 2/2] remove non-existing artifacts --- .gitlab-ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f247ca4495..083ef2adf8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -94,7 +94,6 @@ codec-smoke-test: artifacts: paths: - out/logs - - out_plc/logs # compare bit exactness between target and source branch -- GitLab