Loading .gitlab-ci.yml +17 −4 Original line number Diff line number Diff line Loading @@ -1153,18 +1153,31 @@ test-be-to-release: # test generating references - echo "generate references" # encoder, constant brate - $zero_errors_enc_const_br=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\encoder\test_encoder_constant_bitrate.py --update_ref 1 --html=logs/report-enc-const_br.html --self-contained-html --junit-xml=logs/report-junit-enc-const_br.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-enc-const_br.xml -Pattern 'errors="0"')){$zero_errors_enc_const_br=1; echo "Errors encountered"} # - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_constant_bitrate_no_binaural.py --update_ref 1 --html=report-dec-const_br-no_binaural.html --self-contained-html --junit-xml=logs/report-junit-dec-const_br-no_binaural.xml --testcase_timeout 40 -n $NPROC | tee dec-const_br-non_binaural.txt") | Invoke-Expression - $tmp=((Get-content logs/report-junit-enc-const_br.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] # decoder binaural # decoder, no-binaural, constant brate - $zero_errors_dec_const_br_no_binaural=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_constant_bitrate_no_binaural.py --update_ref 1 --html=report-dec-const_br-no_binaural.html --self-contained-html --junit-xml=logs/report-junit-dec-const_br-no_binaural.xml --testcase_timeout 40 -n $NPROC | out-null) | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-const_br-no_binaural.xml -Pattern 'errors="0"')){$zero_errors_dec_const_br_no_binaural=1; echo "Errors encountered"} - $tmp=((Get-content logs/report-junit-dec-const_br-no_binaural.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] # decoder, binaural, constant brate - $zero_errors_dec_const_br_binaural=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_constant_bitrate_binaural.py --update_ref 1 --html=report-dec-const_br-binaural.html --self-contained-html --junit-xml=logs/report-junit-dec-const_br-binaural.xml --testcase_timeout 40 -n $NPROC | tee dec-const_br-binaural.txt") | Invoke-Expression - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_constant_bitrate_binaural.py --update_ref 1 --html=report-dec-const_br-binaural.html --self-contained-html --junit-xml=logs/report-junit-dec-const_br-binaural.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-const_br-binaural.xml -Pattern 'errors="0"')){$zero_errors_dec_const_br_binaural=1; echo "Errors encountered"} - IF($zero_errors_enc_const_br -ne 0 -or $zero_errors_dec_const_br_binaural -ne 0 ) {echo "Errors encountered"; exit $EXIT_CODE_FAIL} - $tmp=((Get-content logs/report-junit-dec-const_br-binaural.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] - IF($zero_errors_enc_const_br -ne 0 -or $zero_errors_dec_const_br_no_binaural -ne 0 -or $zero_errors_dec_const_br_binaural -ne 0 ) {echo "Errors encountered"; exit $EXIT_CODE_FAIL} artifacts: name: "test-be-to-release--sha-$CI_COMMIT_SHORT_SHA--results" Loading Loading
.gitlab-ci.yml +17 −4 Original line number Diff line number Diff line Loading @@ -1153,18 +1153,31 @@ test-be-to-release: # test generating references - echo "generate references" # encoder, constant brate - $zero_errors_enc_const_br=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\encoder\test_encoder_constant_bitrate.py --update_ref 1 --html=logs/report-enc-const_br.html --self-contained-html --junit-xml=logs/report-junit-enc-const_br.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-enc-const_br.xml -Pattern 'errors="0"')){$zero_errors_enc_const_br=1; echo "Errors encountered"} # - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_constant_bitrate_no_binaural.py --update_ref 1 --html=report-dec-const_br-no_binaural.html --self-contained-html --junit-xml=logs/report-junit-dec-const_br-no_binaural.xml --testcase_timeout 40 -n $NPROC | tee dec-const_br-non_binaural.txt") | Invoke-Expression - $tmp=((Get-content logs/report-junit-enc-const_br.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] # decoder binaural # decoder, no-binaural, constant brate - $zero_errors_dec_const_br_no_binaural=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_constant_bitrate_no_binaural.py --update_ref 1 --html=report-dec-const_br-no_binaural.html --self-contained-html --junit-xml=logs/report-junit-dec-const_br-no_binaural.xml --testcase_timeout 40 -n $NPROC | out-null) | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-const_br-no_binaural.xml -Pattern 'errors="0"')){$zero_errors_dec_const_br_no_binaural=1; echo "Errors encountered"} - $tmp=((Get-content logs/report-junit-dec-const_br-no_binaural.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] # decoder, binaural, constant brate - $zero_errors_dec_const_br_binaural=0 - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_constant_bitrate_binaural.py --update_ref 1 --html=report-dec-const_br-binaural.html --self-contained-html --junit-xml=logs/report-junit-dec-const_br-binaural.xml --testcase_timeout 40 -n $NPROC | tee dec-const_br-binaural.txt") | Invoke-Expression - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_constant_bitrate_binaural.py --update_ref 1 --html=report-dec-const_br-binaural.html --self-contained-html --junit-xml=logs/report-junit-dec-const_br-binaural.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression - IF (!(Select-String logs/report-junit-dec-const_br-binaural.xml -Pattern 'errors="0"')){$zero_errors_dec_const_br_binaural=1; echo "Errors encountered"} - IF($zero_errors_enc_const_br -ne 0 -or $zero_errors_dec_const_br_binaural -ne 0 ) {echo "Errors encountered"; exit $EXIT_CODE_FAIL} - $tmp=((Get-content logs/report-junit-dec-const_br-binaural.xml) -split 'name="pytest" ')[1] - echo ($tmp -split -split 'timestamp="')[0] - IF($zero_errors_enc_const_br -ne 0 -or $zero_errors_dec_const_br_no_binaural -ne 0 -or $zero_errors_dec_const_br_binaural -ne 0 ) {echo "Errors encountered"; exit $EXIT_CODE_FAIL} artifacts: name: "test-be-to-release--sha-$CI_COMMIT_SHORT_SHA--results" Loading