Commit 11cf77cf authored by kinuthia's avatar kinuthia
Browse files

try limiting number of workers

- $NPROC specified in config.toml
parent 613425ed
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1154,14 +1154,14 @@ test-be-to-release:
    - echo "generate references"

    - $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 | out-null") | Invoke-Expression
    - ("& 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 | tee dec-const_br-non_binaural.txt") | Invoke-Expression
    # - ("& 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

    # decoder binaural
    - $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 | 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 | tee dec-const_br-binaural.txt") | 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}