Re-exportsยง
use std::borrow::Cow;๐use std::collections::HashMap;๐use std::collections::HashSet;๐use std::ffi::OsString;๐use std::fs;๐use std::fs::create_dir_all;๐use std::hash::DefaultHasher;๐use std::hash::Hash;๐use std::hash::Hash;๐use std::hash::Hasher;๐use std::process::Child;๐use std::process::Command;๐use std::process::ExitStatus;๐use std::process::Output;๐use std::process::Stdio;๐use std::env;๐use std::env;๐use std::fmt;๐use std::io;๐use std::iter;๐use std::str;๐use build_helper::fs::remove_and_create_dir_all;๐use camino::Utf8Path;๐use camino::Utf8PathBuf;๐use colored::Color;๐use colored::Colorize;๐use regex::Captures;๐use regex::Regex;๐use crate::common::CompareMode;๐use crate::common::Config;๐use crate::common::Debugger;๐use crate::common::ForcePassMode;๐use crate::common::PassFailMode;๐use crate::common::RunResult;๐use crate::common::TestMode;๐use crate::common::TestPaths;๐use crate::common::TestSuite;๐use crate::common::UI_EXTENSIONS;๐use crate::common::UI_FIXED;๐use crate::common::UI_RUN_STDERR;๐use crate::common::UI_RUN_STDOUT;๐use crate::common::UI_STDERR;๐use crate::common::UI_STDOUT;๐use crate::common::UI_SVG;๐use crate::common::UI_WINDOWS_SVG;๐use crate::common::expected_output_path;๐use crate::common::incremental_dir;๐use crate::common::output_base_dir;๐use crate::common::output_base_name;๐use crate::directives::AuxCrate;๐use crate::directives::TestProps;๐use crate::errors::Error;๐use crate::errors::ErrorKind;๐use crate::errors::load_errors;๐use crate::executor::TestVariant;๐use crate::output_capture::ConsoleOut;๐use crate::read2::Truncated;๐use crate::read2::read2_abbreviated;๐use crate::runtest::compute_diff::DiffLine;๐use crate::runtest::compute_diff::diff_by_lines;๐use crate::runtest::compute_diff::make_diff;๐use crate::runtest::compute_diff::write_diff;๐use crate::util::ArgFileCommand;๐use crate::util::Utf8PathBufExt;๐use crate::util::add_dylib_path;๐use crate::util::static_regex;๐use crate::json;๐use crate::stamp_file_path;๐use std::io::prelude::*;๐use tracing::*;๐
Modulesยง
- assembly ๐
- codegen ๐
- codegen_
units ๐ - compute_
diff ๐ - coverage ๐
- Code specific to the coverage test suites.
- crashes ๐
- debugger ๐
- debuginfo ๐
- incremental ๐
- js_doc ๐
- mir_opt ๐
- pretty ๐
- run_
make ๐ - rustdoc ๐
- rustdoc_
json ๐ - ui ๐
Structsยง
Enumsยง
- Allow
Unused ๐ - AuxType ๐
- Compare
Outcome ๐ - Outcome of comparing a stream to a blessed file,
e.g.
.stderrand.fixed. - Compiler
Kind ๐ - Indicates whether we are using
rustcorrustdocto compile an input file. - DocKind ๐
- Emit ๐
- What value should be passed to
--emit? - Link
ToAux ๐ - Read
From ๐ - Target
Location ๐ - Test
Output ๐ - Will
Execute ๐ - Will this test be executed? Should we use
make_exe_name?
Constantsยง
- COMPILETEST_
UI_ ๐SUITE_ UNSTABLE_ FLAGS - Unstable compiler flags that compiletest passes to UI tests on its own, i.e. without specific
tests opting into them explicitly.
This should include both flags that are always passed unconditionally (e.g.
-Zui-testing) and flags that are enabled across the whole test suite when compiletest is configured in a certain way (e.g. a specific-Zcodegen-backendbeing used for all tests). - FAKE_
SRC_ ๐BASE
Functionsยง
- compute_
stamp_ ๐hash - disable_
error_ ๐reporting - dylib_
name ๐ - get_
lib_ ๐name - The platform-specific library name
- run ๐