Skip to content

Fix nightly build failure (Added RunIgnored) #130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 28, 2018
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