Modulesยง
- cfg ๐
- directives ๐
- needs ๐
Structsยง
- Check
Directive ๐Result - Properties which must be known very early, before actually running the test.
- Header
Line ๐The broken-down contents of a line containing a test header directive, whichiter_header
passes to its callback function.
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: