-
Notifications
You must be signed in to change notification settings - Fork 1.1k
ctest: add support for skipping more items and prepare for ctest-test port #4555
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
Conversation
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.
Few small requests but mostly looks pretty good to me
044b46b
to
e304174
Compare
ctest-next/src/translator.rs
Outdated
@@ -26,24 +27,29 @@ impl TranslationError { | |||
Self { | |||
kind, | |||
source: source.to_string(), | |||
span, | |||
span: format!( | |||
"line {}, column {}, in {}", |
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.
It's kind of standard to do foo.rs:10:20
, some terminals will hyperlink that for you
"{fname}:{line}:{col}",
// FIXME(ctest): ...
fname = "<unknown file>"
line = span.start().line,
col = span.start().column,
e304174
to
575c83e
Compare
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.
Awesome, thanks!
Description
Adds better support for skipping unions, fields, and tests for field types. Additionally makes needed changes to other parts of
ctest-next
so that the port PRs forctest-test
andlibc-test
don't have too many changes toctest-next
.Sources
Checklist
libc-test/semver
have been updated*LAST
or*MAX
areincluded (see #3131)
cd libc-test && cargo test --target mytarget
);especially relevant for platforms that may not be checked in CI