Skip to content

Commit

Permalink
Allow matching test by target and env
Browse files Browse the repository at this point in the history
  • Loading branch information
mati865 committed Jul 3, 2020
1 parent a18848b commit 177a495
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tools/compiletest/src/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,7 @@ impl Config {
&self.target == name || // triple
util::matches_os(&self.target, name) || // target
util::matches_env(&self.target, name) || // env
self.target.ends_with(name) || // target and env
name == util::get_arch(&self.target) || // architecture
name == util::get_pointer_width(&self.target) || // pointer width
name == self.stage_id.split('-').next().unwrap() || // stage
Expand Down

0 comments on commit 177a495

Please sign in to comment.