Skip to content

Commit 2a9b51d

Browse files
committed
Allow matching test by target and env
1 parent 48fe5fc commit 2a9b51d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/compiletest/src/header.rs

+1
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,7 @@ impl Config {
867867
&self.target == name || // triple
868868
util::matches_os(&self.target, name) || // target
869869
util::matches_env(&self.target, name) || // env
870+
self.target.ends_with(name) || // target and env
870871
name == util::get_arch(&self.target) || // architecture
871872
name == util::get_pointer_width(&self.target) || // pointer width
872873
name == self.stage_id.split('-').next().unwrap() || // stage

0 commit comments

Comments
 (0)