-
Notifications
You must be signed in to change notification settings - Fork 346
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
Bump ui test to 0.26 #3866
Bump ui test to 0.26 #3866
Conversation
39771ca
to
1fdb363
Compare
No AFAIK we have no CI test for "run --dep"... We should, though.
|
1fdb363
to
3c06b86
Compare
uh... can someone bless the native lib tests? I don't have a linux machine |
There you go: miri-bless.diff.zip |
macOS should also work for the native lib tests.
|
3c06b86
to
8776642
Compare
Thanks!
I don't have a unix machine and don't want to figure out wsl 😆 |
Ah, so I can ask you to test the bat file and other Windows things then when that comes up? ;)
|
Yea, they work great modulo bat files having a prompt when cancelled with Ctrl + C |
Oh fun. Line ending failures I think |
Sadly github makes this PR basically unreviewable... I told it to hide all stderr differences but it still only loads the first half of the .rs file diffs, making it extremely tedious to look at the remaining .rs file diffs. Is there some git command to exclude some file name patterns from a commit diff? EDIT: yes, there is
|
This fails locally even when I pass
when The |
I can run the native tests with |
I'll fix that, tho you can use |
Lolwhat?^^ Two But yeah, that actually worked. :) |
Yea, we need to escape |
A single |
Seems like this test...
... is now being run on x86_64-apple-darwin, which it should not be. |
c44aaff
to
1faf38d
Compare
1faf38d
to
6f9ca49
Compare
miri-script/src/commands.rs
Outdated
// For `--dep` we need to set the env var instead of passing the flag. | ||
if !dep { | ||
if let Some(target) = &target { | ||
early_flags.push("--target".into()); | ||
early_flags.push(target.into()); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm now it's not setting the target anymore, before it was setting it twice. not sure when I'll get around to debugging this, probably not this week
ci/ci.sh
Outdated
@@ -76,6 +76,9 @@ function run_tests { | |||
time HYPERFINE="hyperfine -w0 -r1" ./miri bench $TARGET_FLAG | |||
fi | |||
|
|||
## Test that `miri run` with dependencies works | |||
./miri run $TARGET_FLAG --dep tests/pass-dep/getrandom.rs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to move this in its own PR, it shouldn't be blocked on the ui_test update.
☔ The latest upstream changes (presumably #3881) made this pull request unmergeable. Please resolve the merge conflicts. |
cd1a769
to
a137efb
Compare
@rustbot ready |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM apart from some nits.
a137efb
to
ec39809
Compare
ec39809
to
059dbb7
Compare
Looks great, thanks! r=me when CI is happy. :) |
@bors r+ |
☀️ Test successful - checks-actions |
lots of issues fixed and various improvements
🤞 that it works this time around