Commit fca8931c authored by Jan Kiene's avatar Jan Kiene
Browse files

use script for MSAN as well

parent 0fe7ec3b
Loading
Loading
Loading
Loading
+29 −3
Original line number Diff line number Diff line
@@ -411,6 +411,32 @@ codec-msan:
    - SELFTEST_SANITY_TIMEOUT=$TESTCASE_TIMEOUT_STV_SANITIZERS
    - SELF_TEST_PRM_FILE="scripts/config/self_test.prm"
    - USE_LTV=""
  after_script:
    - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-20ms.xml ubsan-errors-20ms.csv
    - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-10ms.xml ubsan-errors-10ms.csv
    - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-5ms.xml ubsan-errors-5ms.csv
  artifacts:
    name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results"
    expire_in: 1 week
    when: always
    # NOTE: artifacts paths can't contain '*' when used with 'expose_as'
    # --> reminder for next time you wanna make this more concise...
    paths:
      - report-junit-20ms.xml
      - report-junit-10ms.xml
      - report-junit-5ms.xml
      - report-20ms.html
      - report-10ms.html
      - report-5ms.html
      - ubsan-errors-20ms.csv
      - ubsan-errors-10ms.csv
      - ubsan-errors-5ms.csv
    expose_as: "Sanitizer selftest results"
    reports:
      junit:
        - report-junit-20ms.xml
        - report-junit-10ms.xml
        - report-junit-5ms.xml

# code selftest testvectors with address-sanitizer binaries
codec-asan:
@@ -438,9 +464,9 @@ codec-usan:
    - SELF_TEST_PRM_FILE="scripts/config/self_test.prm"
    - USE_LTV=""
  after_script:
    - python3 scripts/parse_usan_errors_from_xml_report.py report-junit-20ms.xml ubsan-errors-20ms.csv
    - python3 scripts/parse_usan_errors_from_xml_report.py report-junit-10ms.xml ubsan-errors-10ms.csv
    - python3 scripts/parse_usan_errors_from_xml_report.py report-junit-5ms.xml ubsan-errors-5ms.csv
    - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-20ms.xml ubsan-errors-20ms.csv
    - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-10ms.xml ubsan-errors-10ms.csv
    - python3 scripts/parse_sanitizer_errors_from_xml_report.py report-junit-5ms.xml ubsan-errors-5ms.csv
  artifacts:
    name: "mr-$CI_MERGE_REQUEST_IID--sha-$CI_COMMIT_SHORT_SHA--stage-$CI_JOB_STAGE--results"
    expire_in: 1 week