Loading .gitlab-ci.yml +10 −7 Original line number Diff line number Diff line Loading @@ -374,13 +374,16 @@ stages: - python3 scripts/parse_xml_report.py $XML_REPORT_MAIN $CSV_MAIN # If outputs of main and branch are equal, have equal reports and no run errors were encountered, the job will pass. - python3 scripts/batch_comp_audio.py --tool pyaudio3dtools -sd tests/dut/sba_bs/raw tests/dut_branch/sba_bs/raw || true - diff_sba=$? - python3 scripts/batch_comp_audio.py --tool pyaudio3dtools -sd tests/dut/param_file/dec tests/dut_branch/param_file/dec || true - diff_param=$? - diff $CSV_BRANCH $CSV_MAIN - diff_report=$? - if [ $diff_param -eq 0 ] && [ $diff_sba -eq 0 ] && [ $diff_report -eq 0 ] && [ $zero_errors_branch -eq 1 ]; then exit 0; fi - diff_sba=0 - diff_param=0 - diff_report=0 - python3 scripts/batch_comp_audio.py --tool pyaudio3dtools -sd tests/dut/sba_bs/raw tests/dut_branch/sba_bs/raw || diff_sba=$? - python3 scripts/batch_comp_audio.py --tool pyaudio3dtools -sd tests/dut/param_file/dec tests/dut_branch/param_file/dec || diff_param=$? - diff $CSV_BRANCH $CSV_MAIN || diff_report=$? - if [ $diff_param -eq 0 ] && [ $diff_sba -eq 0 ] && [ $diff_report -eq 0 ] && [ $zero_errors_branch -eq 1 ]; then - echo "Output BE to main, identical report and no run errors encountered." - exit 0; - fi ### compare the two csv files for regressions - regressions_found=0 Loading Loading
.gitlab-ci.yml +10 −7 Original line number Diff line number Diff line Loading @@ -374,13 +374,16 @@ stages: - python3 scripts/parse_xml_report.py $XML_REPORT_MAIN $CSV_MAIN # If outputs of main and branch are equal, have equal reports and no run errors were encountered, the job will pass. - python3 scripts/batch_comp_audio.py --tool pyaudio3dtools -sd tests/dut/sba_bs/raw tests/dut_branch/sba_bs/raw || true - diff_sba=$? - python3 scripts/batch_comp_audio.py --tool pyaudio3dtools -sd tests/dut/param_file/dec tests/dut_branch/param_file/dec || true - diff_param=$? - diff $CSV_BRANCH $CSV_MAIN - diff_report=$? - if [ $diff_param -eq 0 ] && [ $diff_sba -eq 0 ] && [ $diff_report -eq 0 ] && [ $zero_errors_branch -eq 1 ]; then exit 0; fi - diff_sba=0 - diff_param=0 - diff_report=0 - python3 scripts/batch_comp_audio.py --tool pyaudio3dtools -sd tests/dut/sba_bs/raw tests/dut_branch/sba_bs/raw || diff_sba=$? - python3 scripts/batch_comp_audio.py --tool pyaudio3dtools -sd tests/dut/param_file/dec tests/dut_branch/param_file/dec || diff_param=$? - diff $CSV_BRANCH $CSV_MAIN || diff_report=$? - if [ $diff_param -eq 0 ] && [ $diff_sba -eq 0 ] && [ $diff_report -eq 0 ] && [ $zero_errors_branch -eq 1 ]; then - echo "Output BE to main, identical report and no run errors encountered." - exit 0; - fi ### compare the two csv files for regressions - regressions_found=0 Loading