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

WIP Update from upstream #201

Closed
wants to merge 1 commit into from
Closed

WIP Update from upstream #201

wants to merge 1 commit into from

Conversation

Munksgaard
Copy link
Collaborator

@Munksgaard Munksgaard commented Nov 14, 2019

The goal here is more than to update from upstream, I also want to explore the possibility of using this library as a replacement for the compiletest binary in Rust. It would be nice if there was only one codebase, and it could be used both for testing Rust itself, and for testing external Rust libraries.

Inspired by #165 (comment)

@Munksgaard Munksgaard changed the base branch from master to rustc-optin November 14, 2019 08:49
@Munksgaard Munksgaard force-pushed the update-from-upstream branch 5 times, most recently from b6a3936 to 4122778 Compare November 14, 2019 09:51
Copy link
Contributor

@phansch phansch left a comment

Choose a reason for hiding this comment

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

This looks nice!

// rustdoc will test the output of the `--test` option
pub check_test_line_numbers_match: bool,
// The test must be compiled and run successfully. Only used in UI tests for
// now.
pub run_pass: bool,
Copy link
Contributor

Choose a reason for hiding this comment

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

The removal of the two headers has potential to silently change the result of tests. Do you think it makes sense to deprecate them before removing them?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That's a good point. I wonder why they were removed in the original compiletest.

Copy link
Contributor

Choose a reason for hiding this comment

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

IIRC, they were just renamed, not removed. I'm not sure right now which are the correct replacements for each.

Copy link
Contributor

Choose a reason for hiding this comment

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

fwiw, I think it would also be fine to add a changelog that explains the changes =)

@Munksgaard Munksgaard changed the base branch from rustc-optin to master November 19, 2019 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants