Commit 6ac55549 authored by norvell's avatar norvell
Browse files

Another fix in ivas-interop-on-merge-request

parent 3038db54
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -805,8 +805,8 @@ ivas-interop-on-merge-request:
    # Todo: I suppose only one junit report can be listed. Select the one with potential failures.
    - if [ $exit_code -eq 1 ]; then cp report-junit.xml report-junit-out.xml; else cp report2-junit.xml report-junit-out.xml; fi

    - if [ $zero_failures != 1 ] && [ $non_interop_flag == 0 ]; then echo "Non-interop cases without non-interop flag encountered!"; exit $EXIT_CODE_FAIL; fi
    - if [ $zero_failures != 1 ] && [ $non_interop_flag == 1 ]; then echo "Non-interop cases with non-interop flag encountered"; exit $EXIT_CODE_NON_BE; fi
    - if [ $zero_failures != 2 ] && [ $non_interop_flag == 0 ]; then echo "Non-interop cases without non-interop flag encountered!"; exit $EXIT_CODE_FAIL; fi
    - if [ $zero_failures != 2 ] && [ $non_interop_flag == 1 ]; then echo "Non-interop cases with non-interop flag encountered"; exit $EXIT_CODE_NON_BE; fi
    - exit 0

  allow_failure: