Skip to content

--exitonerror should cause a non-zero exit code #4853

Open

Description

@DetachHead

currently it only fails remaining tests if an error occurs, but if for example an error occurs in a listener's end_test method, the test will have already passed and the exit code will be 0 if there are no more tests to run

Activity

  1. modified the milestones: v8.0, v7.0, v7.1 on Dec 19, 2023
  2. pekkaklarck commented on Dec 19, 2023

    @pekkaklarck
    Member

    I agree the return code should always be non-zero if execution ends for an error. Unfortunately handling --exit-on-error is somewhat tricky and this may not be that easy to implement. Let's try to come up with some solution in RF 7.1. If it's too complicated, we can latest fix this when #4170 that is also blocked by problems caused by --exit-on-error is implemented.

  3. modified the milestones: v7.1, v7.2 on Aug 21, 2024
  4. pekkaklarck commented on Nov 12, 2024

    @pekkaklarck
    Member

    I looked at this and #4170 again and required changes are too big for RF 7.2.

  5. modified the milestones: v7.2, v8.0 on Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions