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

pub struct TestProps {
Show fields 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, pub assembly_output: Option<String>,
}

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: boolassembly_output: Option<String>

Implementations

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]

impl Debug for TestProps[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> 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, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.