Commit 6c452540 authored by Jan Kiene's avatar Jan Kiene
Browse files

select only few tests for faster testing

parent f8b87bd4
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -235,14 +235,14 @@ stages:

    ### run pytest
    - exit_code=0
    - python3 -m pytest $TEST_SUITE -v -x --create_cut --html=report.html --self-contained-html --junit-xml=report-junit.xml --mld --dut_encoder_path $DUT_ENCODER_PATH --dut_decoder_path $DUT_DECODER_PATH -n auto --testcase_timeout $testcase_timeout || exit_code=$?
    - python3 -m pytest $TEST_SUITE -v -k "stereo and MONO" --create_cut --html=report.html --self-contained-html --junit-xml=report-junit.xml --mld --dut_encoder_path $DUT_ENCODER_PATH --dut_decoder_path $DUT_DECODER_PATH -n auto --testcase_timeout $testcase_timeout || exit_code=$?
    - zero_errors=$(cat report-junit.xml | grep -c 'errors="0"') || true

    - python3 scripts/parse_mld_xml.py report-junit.xml mld.csv

    # TODO change back to this - need to get new version from branch so that the project id argument is there
    #- if [ $UPDATE_PAGES != "" ]; then python3 ci/get_id_of_last_job_occurence.py $CI_DEFAULT_BRANCH $CI_JOB_NAME $CI_PROJECT_ID; echo "Job ID - $CI_JOB_ID"; fi
    - if [ $UPDATE_PAGES != "" ]; then wget https://forge.3gpp.org/rep/ivas-codec-pc/ivas-codec/-/raw/3c1b6994912cbe6e3c5463b02a1a6c970f449b96/ci/get_id_of_last_job_occurence.py; python3 get_id_of_last_job_occurence.py $CI_DEFAULT_BRANCH $CI_JOB_NAME $CI_PROJECT_ID; echo "Job ID - $CI_JOB_ID"; fi
    - if [ $UPDATE_PAGES != "" ]; then wget https://forge.3gpp.org/rep/ivas-codec-pc/ivas-codec/-/raw/3c1b6994912cbe6e3c5463b02a1a6c970f449b96/ci/get_id_of_last_job_occurence.py; python3 get_id_of_last_job_occurence.py $CI_DEFAULT_BRANCH $CI_JOB_NAME $CI_PROJECT_ID; echo "Job ID from variables - $CI_JOB_ID"; fi

    - if [ $zero_errors != 1 ]; then echo "Run errors encountered!"; exit $EXIT_CODE_FAIL; fi
    - if [ $exit_code -eq 1 ]; then echo "Differences encountered"; exit $EXIT_CODE_NON_BE; fi