Teach compiletest
to ignore platform triples
This commit is contained in:
parent
3a087ad3a9
commit
52b4681de4
1 changed files with 1 additions and 0 deletions
|
@ -897,6 +897,7 @@ impl Config {
|
||||||
let name = line[prefix.len() + 1..].split(&[':', ' '][..]).next().unwrap();
|
let name = line[prefix.len() + 1..].split(&[':', ' '][..]).next().unwrap();
|
||||||
|
|
||||||
if name == "test" ||
|
if name == "test" ||
|
||||||
|
&self.target == name || // triple
|
||||||
util::matches_os(&self.target, name) || // target
|
util::matches_os(&self.target, name) || // target
|
||||||
util::matches_env(&self.target, name) || // env
|
util::matches_env(&self.target, name) || // env
|
||||||
name == util::get_arch(&self.target) || // architecture
|
name == util::get_arch(&self.target) || // architecture
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue