Struct compiletest_rs::common::Config[][src]

pub struct Config {
    pub compile_lib_path: PathBuf,
    pub run_lib_path: PathBuf,
    pub rustc_path: PathBuf,
    pub rustdoc_path: Option<PathBuf>,
    pub lldb_python: String,
    pub docck_python: String,
    pub llvm_filecheck: Option<PathBuf>,
    pub valgrind_path: Option<String>,
    pub force_valgrind: bool,
    pub src_base: PathBuf,
    pub build_base: PathBuf,
    pub stage_id: String,
    pub mode: Mode,
    pub run_ignored: bool,
    pub filter: Option<String>,
    pub filter_exact: bool,
    pub logfile: Option<PathBuf>,
    pub runtool: Option<String>,
    pub host_rustcflags: Option<String>,
    pub target_rustcflags: Option<String>,
    pub target: String,
    pub host: String,
    pub gdb: Option<String>,
    pub gdb_version: Option<u32>,
    pub gdb_native_rust: bool,
    pub lldb_version: Option<String>,
    pub llvm_version: Option<String>,
    pub system_llvm: bool,
    pub android_cross_path: PathBuf,
    pub adb_path: String,
    pub adb_test_dir: String,
    pub adb_device_status: bool,
    pub lldb_python_dir: Option<String>,
    pub verbose: bool,
    pub quiet: bool,
    pub color: ColorConfig,
    pub remote_test_client: Option<PathBuf>,
    pub cc: String,
    pub cxx: String,
    pub cflags: String,
    pub ar: String,
    pub linker: Option<String>,
    pub llvm_components: String,
    pub llvm_cxxflags: String,
    pub nodejs: Option<String>,
}

Fields

The library paths required for running the compiler

The library paths required for running compiled programs

The rustc executable

The rustdoc executable

The python executable to use for LLDB

The python executable to use for htmldocck

The llvm FileCheck binary path

The valgrind path

Whether to fail if we can't run run-pass-valgrind tests under valgrind (or, alternatively, to silently run them like regular run-pass tests).

The directory containing the tests to run

The directory where programs should be built

The name of the stage being built (stage1, etc)

The test mode, compile-fail, run-fail, run-pass

Run ignored tests

Only run tests that match this filter

Exactly match the filter, rather than a substring

Write out a parseable log of tests that were run

A command line to prefix program execution with, for running under valgrind

Flags to pass to the compiler when building for the host

Flags to pass to the compiler when building for the target

Target system to be tested

Host triple for the compiler being invoked

Path to / name of the GDB executable

Version of GDB, encoded as ((major * 1000) + minor) * 1000 + patch

Whether GDB has native rust support

Version of LLDB

Version of LLVM

Is LLVM a system LLVM

Path to the android tools

Extra parameter to run adb on arm-linux-androideabi

Extra parameter to run test suite on arm-linux-androideabi

status whether android device available or not

the path containing LLDB's Python module

Explain what's going on

Print one character per test instead of one line

Whether to use colors in test.

where to find the remote test client process, if we're using it

Methods

impl Config
[src]

impl Config
[src]

Add rustc flags to link with the crate's dependencies in addition to the crate itself

Remove rmeta files from target deps directory

These files are created by cargo check, and conflict with cargo build rlib files, causing E0464 for tests which use the parent crate.

Trait Implementations

impl Clone for Config
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Config
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Config

impl Sync for Config