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

only pass --split-csv-file if SPLIT_COMPARISON is given

parent fe8d6785
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -423,7 +423,11 @@ stages:
    - zero_errors=$(cat report-junit.xml | grep -c 'errors="0"') || true

    ### create histograms
    - if [ "$SPLIT_COMPARISON" = "true" ]; then
    -   python3 scripts/parse_xml_report.py report-junit.xml $CSV_ARTIFACT_NAME --split-csv-file $CSV_ARTIFACT_SPLIT
    - else
    -   python3 scripts/parse_xml_report.py report-junit.xml $CSV_ARTIFACT_NAME
    - fi

    # first for "whole" files comparison
    - python3 scripts/create_histograms.py $CSV_ARTIFACT_NAME $IMAGES_ARTIFACT_NAME --measures $MEASURES_FOR_REPORT --write-out-histograms