Skip to content

x.py test specific directory requires platform specific path separator #79334

Description

@Havvy

On Windows, I tried this code:

python x.py test src/test/ui/expr/compound-assignment/eval-order.rs --pass run

I expected to execute the file and give back a test result. Instead, it found zero results.

After an hour of flailing, I tired:

python x.py test src/test/ui\expr\compound-assignment\eval-order.rs --pass run

And to my (pleasant) surprised, it found the file.

Ideally, it shouldn't matter which path separator is used at any point.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustA-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.O-windowsOperating system: WindowsT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions