-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Cross crate tests on windows are broken #5286
Comments
I've seen it before but I cannot reproduce it from incoming branch |
Have either of you seen this since? |
I've seen this today. For me the compiletest driver is building the executable as i686-pc-mingw32\test\run-pass\anon-extern-mod-cross-crate-2.stage2-i686-pc-mingw32.exe and the aux crate in i686-pc-mingw32\test\run-pass\anon-extern-mod-cross-crate-2.libaux But then the PATH compiletest uses to run the executable has i686-pc-mingw32\test\run-pass\anon-extern-mod-cross-crate-2.stage2-i686-pc-mingw32.libaux in it, so it can't find the appropriate dlls. I've had a look at runtest.rs but I haven't unravelled how these paths are constructed yet. |
Tracked it down, the issue is that the aux directory is determined during the build as output_base_name(config, testfile).with_filetype("libaux") which replaces the stage2 identifier with .libaux instead of appending it. I think the safer way to fix it is to make the aux directory contain the stage identifier? I can't imagine you'd want different stages under test to share aux crates at any point. |
This particular testing infrastructure issue is not a 1.0 blocker. Assigning P-low. |
This looks to be fixed. |
…p1995 check_pat: delay creation of the "normal" vec until we reach the branch where it is actually needed changelog: none
The compiletest driver is not setting up the aux paths correctly.
The text was updated successfully, but these errors were encountered: