diff options
| author | Mateusz Mikuła <mati865@gmail.com> | 2020-07-03 20:18:51 +0200 |
|---|---|---|
| committer | Mateusz Mikuła <mati865@gmail.com> | 2020-07-17 18:07:51 +0200 |
| commit | 2a9b51dcc48ae0215c963b03147e9bac39a49a57 (patch) | |
| tree | 423cda57419c6efe015c8c6daefbf58bf6d240a9 | |
| parent | 48fe5fcbb86f6f5809a82e9cb9116c8ecd264666 (diff) | |
| download | rust-2a9b51dcc48ae0215c963b03147e9bac39a49a57.tar.gz rust-2a9b51dcc48ae0215c963b03147e9bac39a49a57.zip | |
Allow matching test by target and env
| -rw-r--r-- | src/tools/compiletest/src/header.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/header.rs b/src/tools/compiletest/src/header.rs index 571e7a59113..d6e28e93c96 100644 --- a/src/tools/compiletest/src/header.rs +++ b/src/tools/compiletest/src/header.rs @@ -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 |
