Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

src/test/compile-fail should have more files in subdirectories #46841

Closed

Description

@pnkfelix

Github refuses to list more than 1,000 files in a given directory listing.

As of this writing, its web interface reports that 1,260 entries are omitted from the printout for https://github.com/rust-lang/rust/tree/master/src/test/compile-fail

This has a simple fix: More subdirectories.

In particular, many of the tests even have a prefix that strongly implies a potential subdirectory to move that subset into; e.g. the associated-{const,item,type} tests could all go into associated-item/. LIkewise, the E0nnn test could all go into diagnostics/...

(This is a super easy change to make to the test suite, though I know that some people want to separately migrate more/all of the tests into the ui/ subdirectory. I no longer object to the latter migration, but we'll still need to resolve this problem even when we do that migration.)

Activity

  1. added
    T-compiler
    E-easy
    on Dec 19, 2017
  2. varkor commented on Jan 19, 2018

    @varkor
    Contributor

    Update: It was decided that a proper set of guidelines were needed for directories (and test names) first, before moving anything around.

  3. added
    C-cleanup
    on Mar 26, 2018
  4. TheSirC commented on Jun 21, 2018

    @TheSirC

    Should this issue be closed ? Is there any work to be done ?

  5. varkor commented on Jun 21, 2018

    @varkor
    Contributor

    @TheSirC: as far as I'm aware, #46841 (comment) is still relevant; it's just that no-one's got around to it yet.

    cc @technicalguy

  6. technicalguy commented on Jun 21, 2018

    @technicalguy
    Contributor

    I think that is still the case. I certainly haven't got around to it (or anything). I think it would be good for someone with a bit more experience than me to suggest some guidelines and then we can work from there...

  7. TheSirC commented on Jun 21, 2018

    @TheSirC

    Thank you guys for your answer! I will wait for guidelines so.

  8. 6 remaining items

  9. added a commit that references this issue on Aug 13, 2018
    aa1e136
  10. added a commit that references this issue on Aug 14, 2018
    3fc7ab2
  11. added a commit that references this issue on Aug 14, 2018
    f45f525
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupE-easyT-compiler

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions