Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move arbitrary self types's tests into ui/self #60950

Merged
merged 2 commits into from
May 21, 2019

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented May 19, 2019

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 19, 2019
@taiki-e taiki-e force-pushed the arbitrary_self_types-tests branch from a22253a to b53d839 Compare May 19, 2019 03:31
@@ -1,3 +1,4 @@
// run-pass
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't move run-pass tests into ui directory, or move and make them compile-pass if they don't really require running.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@petrochenkov We're trying to retire the run-pass directory altogether; It's pretty bad organization to have some tests for some feature in test/run-pass/foo and some in test/ui/foo. But yeah, make it compile-pass if it doesn't need to be actually run.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Centril

We're trying to retire the run-pass directory altogether

This was tried, but reverted, see #54530.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like an unfortunate move to me. Something should be done about the current chaos in the src/test directory. One shouldn't have to look in different places for tests pertaining to one specific interest. That is especially annoying when writing stabilization reports and whatnot.

For now, let's move ahead with moving these specific tests.

@Centril
Copy link
Contributor

Centril commented May 19, 2019

@taiki-e Can you please move the other files in the run-pass/self directory also?

@taiki-e
Copy link
Member Author

taiki-e commented May 19, 2019

@Centril How should I handle files of the same name?

EDIT: I renamed run-pass/self/self-impl to ui/self/self-impl-2 because there is a file with the same name (ui/self/self-impl).

@@ -1,4 +1,4 @@
// run-pass
// compile-pass
Copy link
Member Author

@taiki-e taiki-e May 19, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed run-pass tests with empty main function to compile-pass.

@Centril
Copy link
Contributor

Centril commented May 20, 2019

@bors r+ rollup

@bors
Copy link
Contributor

bors commented May 20, 2019

📌 Commit 3e73ca6 has been approved by Centril

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 20, 2019
Centril added a commit to Centril/rust that referenced this pull request May 21, 2019
… r=Centril

Move arbitrary self types's tests into ui/self

rust-lang#60944 (comment)

r? @Centril
@bors
Copy link
Contributor

bors commented May 21, 2019

⌛ Testing commit 3e73ca6 with merge 46ad3e1...

bors added a commit that referenced this pull request May 21, 2019
@bors
Copy link
Contributor

bors commented May 21, 2019

☀️ Test successful - checks-travis, status-appveyor
Approved by: Centril
Pushing 46ad3e1 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label May 21, 2019
@bors bors merged commit 3e73ca6 into rust-lang:master May 21, 2019
@taiki-e taiki-e deleted the arbitrary_self_types-tests branch May 21, 2019 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants