Modules§
- auxiliary πCode for dealing with test directives that request an βauxiliaryβ crate to be built and made available to the test in some way.
- cfg π
- directives π
- needs π
Structs§
- Check
Directive πResult - Directive
Line πThe broken-down contents of a line containing a test header directive, whichiter_header
passes to its callback function. - Properties which must be known very early, before actually running the test.
Enums§
- Ignore
Decision π
Constants§
- This was originally generated by collecting directives from ui tests and then extracting their directive names. This is not an exhaustive list of all possible directives. Instead, this is a best-effort approximation for diagnostics. Add new headers to this list when needed.
Functions§
- check_
directive π - expand_
variables π - Takes a directive of the form
"<version1> [- <version2>]"
, returns the numeric representation of<version1>
and<version2>
as tuple:(<version1> as u32, <version2> as u32)
. - ignore_
cdb π - ignore_
gdb π - ignore_
lldb π - ignore_
llvm π - iter_
header π - Extract an
(Option<line_revision>, directive)
directive from a line if comment is present. - For tests using the
needs-llvm-zstd
directive: - parse_
normalize_ πrule Parses the regex and replacement values of a//@ normalize-*
header, in the format: