[][src]Struct compiletest_rs::header::TestProps

pub struct TestProps {
    pub error_patterns: Vec<String>,
    pub compile_flags: Vec<String>,
    pub run_flags: Option<String>,
    pub pp_exact: Option<PathBuf>,
    pub aux_builds: Vec<String>,
    pub rustc_env: Vec<(String, String)>,
    pub exec_env: Vec<(String, String)>,
    pub check_lines: Vec<String>,
    pub build_aux_docs: bool,
    pub force_host: bool,
    pub check_stdout: bool,
    pub no_prefer_dynamic: bool,
    pub pretty_expanded: bool,
    pub pretty_mode: String,
    pub pretty_compare_only: bool,
    pub forbid_output: Vec<String>,
    pub revisions: Vec<String>,
    pub incremental_dir: Option<PathBuf>,
    pub must_compile_successfully: bool,
    pub check_test_line_numbers_match: bool,
    pub run_pass: bool,
    pub normalize_stdout: Vec<(String, String)>,
    pub normalize_stderr: Vec<(String, String)>,
    pub run_rustfix: bool,
    pub rustfix_only_machine_applicable: bool,
}

Fields

error_patterns: Vec<String>compile_flags: Vec<String>run_flags: Option<String>pp_exact: Option<PathBuf>aux_builds: Vec<String>rustc_env: Vec<(String, String)>exec_env: Vec<(String, String)>check_lines: Vec<String>build_aux_docs: boolforce_host: boolcheck_stdout: boolno_prefer_dynamic: boolpretty_expanded: boolpretty_mode: Stringpretty_compare_only: boolforbid_output: Vec<String>revisions: Vec<String>incremental_dir: Option<PathBuf>must_compile_successfully: boolcheck_test_line_numbers_match: boolrun_pass: boolnormalize_stdout: Vec<(String, String)>normalize_stderr: Vec<(String, String)>run_rustfix: boolrustfix_only_machine_applicable: bool

Methods

impl TestProps[src]

pub fn new() -> Self[src]

pub fn from_aux_file(
    &self,
    testfile: &Path,
    cfg: Option<&str>,
    config: &Config
) -> Self
[src]

pub fn from_file(testfile: &Path, cfg: Option<&str>, config: &Config) -> Self[src]

Trait Implementations

impl Clone for TestProps[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for TestProps[src]

Auto Trait Implementations

impl Send for TestProps

impl Sync for TestProps

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<E> SpecializationError for E[src]

impl<T> Send for T where
    T: ?Sized
[src]

impl<T> Sync for T where
    T: ?Sized
[src]

impl<T> Erased for T[src]

impl<T> MaybeResult for T[src]

impl<'a, T> Captures for T where
    T: ?Sized
[src]

impl<'tcx, T> ArenaField for T[src]

impl<T> Erased for T