Commit 92b7c55c authored by Lauros Pajunen's avatar Lauros Pajunen
Browse files

Add nokia tag, disable some decoder tests

parent a62f0c79
Loading
Loading
Loading
Loading
Loading
+25 −25
Original line number Diff line number Diff line
@@ -1130,7 +1130,7 @@ codec-comparison-on-main-push:
test-be-to-release:
  stage: test
  tags:
    - test-be-to-release-windows
    - nokia-test-be-to-release-windows
  resource_group: ivas-be-to-release-test-resource
  timeout: "22 hours"  # to be reviewed
  rules:
@@ -1163,22 +1163,22 @@ test-be-to-release:
    - cp report-enc-const_br.html $BE_LOGS/report-enc-const_br--sha-$CI_COMMIT_SHORT_SHA.html

    # 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"}
    #- $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]
    - cp report-dec-const_br-no_binaural.html $BE_LOGS/report-dec-const_br-no_binaural--sha-$CI_COMMIT_SHORT_SHA.html
    #- $tmp=((Get-content logs/report-junit-dec-const_br-no_binaural.xml) -split 'name="pytest" ')[1]
    #- echo ($tmp -split -split 'timestamp="')[0]
    #- cp report-dec-const_br-no_binaural.html $BE_LOGS/report-dec-const_br-no_binaural--sha-$CI_COMMIT_SHORT_SHA.html

    # 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 | 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"}
    #- $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 | 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"}

    - $tmp=((Get-content logs/report-junit-dec-const_br-binaural.xml) -split 'name="pytest" ')[1]
    - echo ($tmp -split -split 'timestamp="')[0]
    - cp report-dec-const_br-binaural.html $BE_LOGS/report-dec-const_br-binaural--sha-$CI_COMMIT_SHORT_SHA.html
    #- $tmp=((Get-content logs/report-junit-dec-const_br-binaural.xml) -split 'name="pytest" ')[1]
    #- echo ($tmp -split -split 'timestamp="')[0]
    #- cp report-dec-const_br-binaural.html $BE_LOGS/report-dec-const_br-binaural--sha-$CI_COMMIT_SHORT_SHA.html

    # decoder, head_rot
    - $zero_errors_dec_head_rot=0
@@ -1190,22 +1190,22 @@ test-be-to-release:
    - cp report-dec-head_rot.html $BE_LOGS/report-dec-head_rot--sha-$CI_COMMIT_SHORT_SHA.html

    # decoder, non-diegetic
    - $zero_errors_dec_non_diegetic=0
    - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_non_diegetic_pan.py --update_ref 1 --html=report-dec-non_diegetic.html --self-contained-html --junit-xml=logs/report-junit-dec-non_diegetic.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression
    - IF (!(Select-String logs/report-junit-dec-non_diegetic.xml -Pattern 'errors="0"')){$zero_errors_dec_non_diegetic=1; echo "Errors encountered"}
    #- $zero_errors_dec_non_diegetic=0
    #- ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_non_diegetic_pan.py --update_ref 1 --html=report-dec-non_diegetic.html --self-contained-html --junit-xml=logs/report-junit-dec-non_diegetic.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression
    #- IF (!(Select-String logs/report-junit-dec-non_diegetic.xml -Pattern 'errors="0"')){$zero_errors_dec_non_diegetic=1; echo "Errors encountered"}

    - $tmp=((Get-content logs/report-junit-dec-non_diegetic.xml) -split 'name="pytest" ')[1]
    - echo ($tmp -split -split 'timestamp="')[0]
    - cp report-dec-non_diegetic.html $BE_LOGS/report-dec-non_diegetic--sha-$CI_COMMIT_SHORT_SHA.html
    #- $tmp=((Get-content logs/report-junit-dec-non_diegetic.xml) -split 'name="pytest" ')[1]
    #- echo ($tmp -split -split 'timestamp="')[0]
    #- cp report-dec-non_diegetic.html $BE_LOGS/report-dec-non_diegetic--sha-$CI_COMMIT_SHORT_SHA.html

    # decoder, render_conf
    - $zero_errors_dec_render_conf=0
    - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_render_config.py --update_ref 1 --html=report-dec-render_conf.html --self-contained-html --junit-xml=logs/report-junit-dec-render_conf.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression
    - IF (!(Select-String logs/report-junit-dec-render_conf.xml -Pattern 'errors="0"')){$zero_errors_dec_render_conf1; echo "Errors encountered"}
    #- $zero_errors_dec_render_conf=0
    #- ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_render_config.py --update_ref 1 --html=report-dec-render_conf.html --self-contained-html --junit-xml=logs/report-junit-dec-render_conf.xml --testcase_timeout 40 -n $NPROC | out-null") | Invoke-Expression
    #- IF (!(Select-String logs/report-junit-dec-render_conf.xml -Pattern 'errors="0"')){$zero_errors_dec_render_conf1; echo "Errors encountered"}

    - $tmp=((Get-content logs/report-junit-dec-render_conf.xml) -split 'name="pytest" ')[1]
    - echo ($tmp -split -split 'timestamp="')[0]
    - cp report-dec-render_conf.html $BE_LOGS/report-dec-render_conf--sha-$CI_COMMIT_SHORT_SHA.html
    #- $tmp=((Get-content logs/report-junit-dec-render_conf.xml) -split 'name="pytest" ')[1]
    #- echo ($tmp -split -split 'timestamp="')[0]
    #- cp report-dec-render_conf.html $BE_LOGS/report-dec-render_conf--sha-$CI_COMMIT_SHORT_SHA.html

    - 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}
    - IF($zero_errors_dec_head_rot -ne 0 -or $zero_errors_dec_non_diegetic -ne 0 -or $zero_errors_dec_render_conf -ne 0 ) {echo "Errors encountered"; exit $EXIT_CODE_FAIL}