Skip to content

utils/run-test can't infer swift build directory #63159

Open
@valeriyvan

Description

@valeriyvan

GettingStarted recommends runnings tests as:

utils/run-test --lit ../llvm-project/llvm/utils/lit/lit.py \
  ../build/Ninja-RelWithDebInfoAssert/swift-macosx-$(uname -m)/test-macosx-$(uname -m)

Being launched from swift directory it produces error:

utils/run-test --lit ../llvm-project/llvm/utils/lit/lit.py \
  ../build/Ninja-RelWithDebInfoAssert/swift-macosx-$(uname -m)/test-macosx-$(uname -m)        
run-test: Can't infer swift build directory

Probably, GettingStarted.md should give more accurate instructions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.contributor experiencerun-testArea → utils: the `run-test` scriptutilsArea: the build system and other accessory scripts under the "utils" directory

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions