Skip to content

Commit

Permalink
compiletest: Remove some vestigial code
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Dec 27, 2021
1 parent e983092 commit 4d6bb4d
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/tools/compiletest/src/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ pub struct TestProps {
pub unset_rustc_env: Vec<String>,
// Environment settings to use during execution
pub exec_env: Vec<(String, String)>,
// Lines to check if they appear in the expected debugger output
pub check_lines: Vec<String>,
// Build documentation for all specified aux-builds as well
pub build_aux_docs: bool,
// Flag to force a crate to be built with the host architecture
Expand Down Expand Up @@ -165,7 +163,6 @@ impl TestProps {
rustc_env: vec![],
unset_rustc_env: vec![],
exec_env: vec![],
check_lines: vec![],
build_aux_docs: false,
force_host: false,
check_stdout: false,
Expand Down Expand Up @@ -318,10 +315,6 @@ impl TestProps {
self.unset_rustc_env.push(ev);
}

if let Some(cl) = config.parse_check_line(ln) {
self.check_lines.push(cl);
}

if let Some(of) = config.parse_forbid_output(ln) {
self.forbid_output.push(of);
}
Expand Down Expand Up @@ -555,10 +548,6 @@ impl Config {
self.parse_name_value_directive(line, "run-flags")
}

fn parse_check_line(&self, line: &str) -> Option<String> {
self.parse_name_value_directive(line, "check")
}

fn parse_force_host(&self, line: &str) -> bool {
self.parse_name_directive(line, "force-host")
}
Expand Down

0 comments on commit 4d6bb4d

Please sign in to comment.