Commit fdb4610b authored by Jan Kiene's avatar Jan Kiene
Browse files

add failure detection to smoke test

parent f6630ac6
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -85,9 +85,12 @@ codec-smoke-test:
  stage: 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
  artifacts:
    paths:
      - out/logs
      - out_plc/logs


# compare bit exactness between target and source branch
+1 −1
Original line number Diff line number Diff line
@@ -10,4 +10,4 @@ make all -j

# 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
./scripts/runIvasCodec.py -p ./scripts/config/ci_linux.json -m $list -U 1 | tee smoke_test_output.txt