In an XFAIL line, treat "XFAIL: foo*bar" as a regular expression to be matched
authorNick Lewycky <nicholas@mxc.ca>
Fri, 12 Jun 2009 05:18:32 +0000 (05:18 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 12 Jun 2009 05:18:32 +0000 (05:18 +0000)
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

test/lib/llvm.exp

index d2ddb8f757f9b73385942c7c4211963ef1517039..3e2632f12c1f34a2f7b8c3cdb39553c80b299061 100644 (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
               }