In an XFAIL line, treat "XFAIL: foo*bar" as a regular expression to be matched

against the target triple, instead of equivalent to "XFAIL: *".


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73219 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2009-06-12 05:18:32 +00:00
parent af0f65fe6a
commit 084f7bf8a7

View File

@ -184,7 +184,7 @@ proc RunLLVMTests { test_source_files } {
#split up target if more then 1 specified
foreach target [split $targets ,] {
if { [regexp {\*} $target match] } {
if { $target == "*" } {
if {$targetPASS != 1} {
set outcome XFAIL
}