Skip to content

Commit

Permalink
Fix nightly build failure (Added RunIgnored)
Browse files Browse the repository at this point in the history
The failure was caused by rust-lang/rust#55053
  • Loading branch information
phansch committed Oct 28, 2018
1 parent 6eb3adc commit 2ebb521
Showing 1 changed file with 3 additions and 3 deletions.
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,

/// 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

0 comments on commit 2ebb521

Please sign in to comment.