Skip to content

Test suite fails when run with a single core #6746

Closed
@ipetkov

Description

@ipetkov

Problem
Cargo testsuite fails when built with the rustc-1.33.0-src tarball with vendor = true enabled. Though I haven't confirmed it yet, the issue may also exist if cargo itself is built with vendored crates.

Specifically, the test suite appears to expect error messages like [..]Cargo.toml but with vendoring enabled, messages will look like </path/to/vendor/dir>/Cargo.toml

Steps

  1. Download the rustc-1.33.0-src tarball
  2. Edit config.toml and set the vendor = true flag
  3. ./x.py test src/tools/cargo

Possible Solution(s)

  • Update the test suite to understand if vendoring is currently enabled and react accordingly
  • Have the test instance of cargo ignore any .cargo config directories in the parent hierarchy

Notes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions