Loading .gitlab-ci.yml +12 −8 Original line number Diff line number Diff line Loading @@ -291,6 +291,10 @@ stages: - (Get-Content -Path "CMakeLists.txt") -replace '# \(add_compile_options\("\/WX"\)\)', '$1' | Set-Content -Path "CMakeLists.txt" - Get-ChildItem -Path "Workspace_msvc" -Filter "*.vcxproj" | ForEach-Object { (Get-Content -Path $_.FullName) -replace '<TreatWarningAsError>false', '<TreatWarningAsError>true' | Set-Content -Path $_.FullName } .remove_unsupported_testcases: &remove_unsupported_testcases # Note: the --use-main-pc-set arg should only be used on main-pc and float-pc branches - python3 ci/remove_unsupported_testcases.py $PRM_FILES --use-main-pc-set # From float repo # to be reused in MR and LTV-scheduled sanitizer test jobs # set CLANG_NUM, SELFTEST_SANITY_TIMEOUT and SELF_TEST_PRM_FILE in before_script section Loading @@ -304,7 +308,7 @@ stages: - testcase_timeout=$SELFTEST_SANITY_TIMEOUT - export UBSAN_OPTIONS=suppressions=scripts/ubsan.supp,report_error_type=1 - python3 ci/remove_unsupported_testcases.py $PRM_FILES - *remove_unsupported_testcases - exit_code20=0 - exit_code10=0 Loading Loading @@ -548,7 +552,7 @@ stages: - testcase_timeout=$TESTCASE_TIMEOUT_STV - fi - python3 ci/remove_unsupported_testcases.py $PRM_FILES - *remove_unsupported_testcases - if [ $LEVEL_SCALING != "1.0" ];then - *apply-testv-scaling - fi Loading Loading @@ -634,7 +638,7 @@ stages: - testcase_timeout=$TESTCASE_TIMEOUT_STV - fi - python3 ci/remove_unsupported_testcases.py $PRM_FILES - *remove_unsupported_testcases - if [ $LEVEL_SCALING != "1.0" ];then - *apply-testv-scaling - fi Loading Loading @@ -746,7 +750,7 @@ stages: script: - *print-common-info - *update-scripts-repo - python3 ci/remove_unsupported_testcases.py $PRM_FILES - *remove_unsupported_testcases - *build-reference-and-dut-binaries - make clean - make -j CLANG=$CLANG_NUM Loading Loading @@ -782,7 +786,7 @@ stages: - testcase_timeout=$TESTCASE_TIMEOUT_STV - fi - python3 ci/remove_unsupported_testcases.py $PRM_FILES - *remove_unsupported_testcases - if [ $LEVEL_SCALING != "1.0" ];then - *apply-testv-scaling - fi Loading Loading @@ -1780,7 +1784,7 @@ codec-smoke-test: - cp IVAS_cod IVAS_cod_ref - cp IVAS_dec IVAS_dec_ref - python3 ci/remove_unsupported_testcases.py $PRM_FILES - *remove_unsupported_testcases # create references - python3 -m pytest $TESTS_DIR_CODEC_BE_ON_MR -v --update_ref 1 ### run pytest Loading Loading @@ -2009,7 +2013,7 @@ ivas-pytest-on-merge-request: - *get-commits-behind-count - *check-commits-behind-count-in-compare-jobs - *merge-request-comparison-setup-codec - python3 ci/remove_unsupported_testcases.py $PRM_FILES - *remove_unsupported_testcases # some helper variables - "|| true" to prevent failures from grep not finding anything # write to temporary file as workaround for failures observed with piping echo Loading Loading @@ -2069,7 +2073,7 @@ ivas-interop-on-merge-request: # the next line is dependent on ref-using-main flag in the other tests, but here the flag does not make sense - git checkout $source_branch_commit_sha - python3 ci/remove_unsupported_testcases.py $PRM_FILES - *remove_unsupported_testcases # some helper variables - "|| true" to prevent failures from grep not finding anything # write to temporary file as workaround for failures observed with piping echo Loading Loading
.gitlab-ci.yml +12 −8 Original line number Diff line number Diff line Loading @@ -291,6 +291,10 @@ stages: - (Get-Content -Path "CMakeLists.txt") -replace '# \(add_compile_options\("\/WX"\)\)', '$1' | Set-Content -Path "CMakeLists.txt" - Get-ChildItem -Path "Workspace_msvc" -Filter "*.vcxproj" | ForEach-Object { (Get-Content -Path $_.FullName) -replace '<TreatWarningAsError>false', '<TreatWarningAsError>true' | Set-Content -Path $_.FullName } .remove_unsupported_testcases: &remove_unsupported_testcases # Note: the --use-main-pc-set arg should only be used on main-pc and float-pc branches - python3 ci/remove_unsupported_testcases.py $PRM_FILES --use-main-pc-set # From float repo # to be reused in MR and LTV-scheduled sanitizer test jobs # set CLANG_NUM, SELFTEST_SANITY_TIMEOUT and SELF_TEST_PRM_FILE in before_script section Loading @@ -304,7 +308,7 @@ stages: - testcase_timeout=$SELFTEST_SANITY_TIMEOUT - export UBSAN_OPTIONS=suppressions=scripts/ubsan.supp,report_error_type=1 - python3 ci/remove_unsupported_testcases.py $PRM_FILES - *remove_unsupported_testcases - exit_code20=0 - exit_code10=0 Loading Loading @@ -548,7 +552,7 @@ stages: - testcase_timeout=$TESTCASE_TIMEOUT_STV - fi - python3 ci/remove_unsupported_testcases.py $PRM_FILES - *remove_unsupported_testcases - if [ $LEVEL_SCALING != "1.0" ];then - *apply-testv-scaling - fi Loading Loading @@ -634,7 +638,7 @@ stages: - testcase_timeout=$TESTCASE_TIMEOUT_STV - fi - python3 ci/remove_unsupported_testcases.py $PRM_FILES - *remove_unsupported_testcases - if [ $LEVEL_SCALING != "1.0" ];then - *apply-testv-scaling - fi Loading Loading @@ -746,7 +750,7 @@ stages: script: - *print-common-info - *update-scripts-repo - python3 ci/remove_unsupported_testcases.py $PRM_FILES - *remove_unsupported_testcases - *build-reference-and-dut-binaries - make clean - make -j CLANG=$CLANG_NUM Loading Loading @@ -782,7 +786,7 @@ stages: - testcase_timeout=$TESTCASE_TIMEOUT_STV - fi - python3 ci/remove_unsupported_testcases.py $PRM_FILES - *remove_unsupported_testcases - if [ $LEVEL_SCALING != "1.0" ];then - *apply-testv-scaling - fi Loading Loading @@ -1780,7 +1784,7 @@ codec-smoke-test: - cp IVAS_cod IVAS_cod_ref - cp IVAS_dec IVAS_dec_ref - python3 ci/remove_unsupported_testcases.py $PRM_FILES - *remove_unsupported_testcases # create references - python3 -m pytest $TESTS_DIR_CODEC_BE_ON_MR -v --update_ref 1 ### run pytest Loading Loading @@ -2009,7 +2013,7 @@ ivas-pytest-on-merge-request: - *get-commits-behind-count - *check-commits-behind-count-in-compare-jobs - *merge-request-comparison-setup-codec - python3 ci/remove_unsupported_testcases.py $PRM_FILES - *remove_unsupported_testcases # some helper variables - "|| true" to prevent failures from grep not finding anything # write to temporary file as workaround for failures observed with piping echo Loading Loading @@ -2069,7 +2073,7 @@ ivas-interop-on-merge-request: # the next line is dependent on ref-using-main flag in the other tests, but here the flag does not make sense - git checkout $source_branch_commit_sha - python3 ci/remove_unsupported_testcases.py $PRM_FILES - *remove_unsupported_testcases # some helper variables - "|| true" to prevent failures from grep not finding anything # write to temporary file as workaround for failures observed with piping echo Loading