Commit 3685822b authored by kinuthia's avatar kinuthia
Browse files

test ref generation enc and dec

- enc const_br only
- dec const_br including binaural modes
parent 7a028912
Loading
Loading
Loading
Loading
+8 −12
Original line number Diff line number Diff line
@@ -1132,7 +1132,7 @@ test-be-to-release:
  tags:
    - test-be-to-release-windows
  resource_group: ivas-be-to-release-test-resource
  timeout: "5 hours"  # to be reviewed
  timeout: "22 hours"  # to be reviewed
  rules:
    - if: $CI_PIPELINE_SOURCE == 'web' && $MANUAL_PIPELINE_TYPE == 'test-be-release'
  script:
@@ -1149,19 +1149,12 @@ test-be-to-release:
    # test generating references
    - echo "generate references"

    # - ("& python -m pytest .\tests\codec_be_to_accepted_release\encoder --update_ref 1 -n $NPROC | tee 'logs/test_encoder-update_ref-log.txt'  ") | Invoke-Expression
    - ("& python -m pytest .\tests\codec_be_to_accepted_release\encoder --update_ref 1 --html=logs/report-enc-const_br.html --self-contained-html --junit-xml=logs/report-junit-enc-const_br.xml -n $NPROC ") | Invoke-Expression
    # - If($LASTEXITCODE) {("exit $LASTEXITCODE") | Invoke-Expression}
    # - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_constant_bitrate_no_binaural.py --update_ref 1 -n $NPROC -x | tee 'logs/test_decoder_constant_bitrate_no_binaural-update_ref-log.txt'  ") | Invoke-Expression
    - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_constant_bitrate_no_binaural.py --update_ref 1 -n $NPROC --html=report-dec-const_br-no_binaural.html --self-contained-html --junit-xml=logs/report-junit-dec-const_br-no_binaural.xml ") | Invoke-Expression

    # temporarily test cases that fail

    # test_decoder_scenebased
    - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_constant_bitrate_no_binaural.py::test_decoder_scenebased --update_ref 1 -n $NPROC | tee 'logs/test_decoder_constant_bitrate_no_binaural_test_decoder_scenebased-update_ref-log.txt'  ") | Invoke-Expression
    - If($LASTEXITCODE) {("exit $LASTEXITCODE") | Invoke-Expression}

    # test_decoder_combined_formats
    - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_constant_bitrate_no_binaural.py::test_decoder_combined_formats --update_ref 1 -n $NPROC | tee 'logs/test_decoder_constant_bitrate_no_binaural_test_decoder_combined_formats-update_ref-log.txt'  ") | Invoke-Expression
    - If($LASTEXITCODE) {("exit $LASTEXITCODE") | Invoke-Expression}
    # decoder binaural
    - ("& python -m pytest .\tests\codec_be_to_accepted_release\decoder\test_decoder_constant_bitrate_binaural.py --update_ref 1 -n $NPROC --html=report-dec-const_br-binaural.html --self-contained-html --junit-xml=logs/report-junit-dec-const_br-binaural.xml ") | Invoke-Expression

  artifacts:
    name: "test-be-to-release--sha-$CI_COMMIT_SHORT_SHA--results"
@@ -1170,6 +1163,9 @@ test-be-to-release:
    paths:
      - logs/
    expose_as: "test-be-to-release results"
    reports:
      junit:
        - logs/report-junit*.xml


test-long-self-test: