Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use std::path::PathBuf;
#[cfg(not(feature = "norustc"))]
use rustc;

use test::ColorConfig;
use test::{ColorConfig, RunIgnored};
use runtest::dylib_env_var;

#[derive(Clone, Copy, PartialEq, Debug)]
Expand Down Expand Up @@ -143,7 +143,7 @@ pub struct Config {
pub mode: Mode,

/// Run ignored tests
pub run_ignored: bool,
pub run_ignored: RunIgnored,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the right way to fix it? common.rs in rustc/compiletest has this field declared as a bool.


/// Only run tests that match this filter
pub filter: Option<String>,
Expand Down Expand Up @@ -337,7 +337,7 @@ impl Default for Config {
build_base: env::temp_dir(),
stage_id: "stage-id".to_owned(),
mode: Mode::RunPass,
run_ignored: false,
run_ignored: RunIgnored::No,
filter: None,
filter_exact: false,
logfile: None,
Expand Down