Skip to content

Multiple RUN: lines and || don't play well #11239

@zygoloid

Description

@zygoloid
mannequin
Bugzilla Link 10867
Resolution FIXED
Resolved on Dec 05, 2012 16:54
Version trunk
OS Linux

Extended Description

This test fails:

RUN: false
RUN: true

This test passes:

RUN: false
RUN: true || true

This is because lit combines multiple RUN: lines together with " && " and passes them to the shell, where && binds tighter than ||.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions