Commit 99f0d0a5 authored by Jan Kiene's avatar Jan Kiene
Browse files

centralize remove_unsupported_testcases + add new arg

parent d47996f4
Loading
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
@@ -322,6 +322,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

# ---------------------------------------------------------------
# Job templates
# ---------------------------------------------------------------
@@ -533,7 +537,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
@@ -646,7 +650,7 @@ stages:
    -    testcase_timeout=$TESTCASE_TIMEOUT_STV
    - fi

    - python3 ci/remove_unsupported_testcases.py $PRM_FILES
    - *remove_unsupported_testcases
    - python3 scripts/prepare_combined_format_inputs.py

    - if [ $LEVEL_SCALING != "1.0" ];then
@@ -770,7 +774,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
@@ -889,7 +893,7 @@ stages:
    - *print-common-info
    - *update-scripts-repo
    - *copy-ltv-files-to-testv-dir
    - python3 ci/remove_unsupported_testcases.py $PRM_FILES
    - *remove_unsupported_testcases

    - *build-float-ref-binaries
    - set -euxo pipefail
@@ -936,7 +940,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
@@ -2136,7 +2140,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