-
Notifications
You must be signed in to change notification settings - Fork 59
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
How does upstream syncing work? #175
Comments
We're hoping to move rustc's compiletest out of tree into this repo so the sync process should become obsolete. It's more or less a straightforward sync down, with edits to some of the imports IIRC. |
Those issues exist because we mostly only sync when we really need something new. |
It would be nice to have that diff in the docs somewhere.
Well some other people seem to need some stuff that's not important enough for you to sync. ;) They could help with the syncing (I'd be happy to), but currently it is fairly unclear how. So what about the status code checking for UI tests? That seems like a critical bug fix (it would have caught the ICEs). Should I open an issue? |
Yes , once the rust beta stuff settles the next thing people plan to work on on the libtest side is making compiletest-rs the single source of truth. I'd rather not do a sync while these things are flux. You're free to try: literally copy over the files, go through the diff, and reintroduce any of the compiletest-stable things. |
I also don't think we've ever done a sync since compiletest on stable was introduced |
Awesome. :) |
What is the status of this? |
I'm not working on this, but others are, on and off |
@Manishearth thanks for the update! |
From the discussion at rust-lang/rust#63929 it seems that |
I forgot where, but I saw some discussions about shipping compilletest with the rustc-dev package (or so). Maybe that is another viable option. |
Perhaps an alternative would be to extend trybuild? It already has the basic features of compiletest, but is more self-contained. |
@fpoli more like the attempt there failed, moving completest and libtest out of tree is still on the cards if someone wants to try. But we're hoping to ship compiletest in rustc-dev, anyway. |
Currently, there is quite a notable diff between the
runtest.rs
file in this repo and upstream. Say I wanted to help syncing, what is the usual process? Is there some amount of "expected diff", or should it be verbatim the same thing? Which other files should be synced how?This process should be documented or else only @laumann will ever be able to do it -- and given the size of the diff and some of the issues, it looks like they could use some help with that.
The text was updated successfully, but these errors were encountered: