[llvm-commits] [llvm] r73219 - /llvm/trunk/test/lib/llvm.exp

Nick Lewycky nicholas at mxc.ca
Thu Jun 11 22:18:35 PDT 2009


Author: nicholas
Date: Fri Jun 12 00:18:32 2009
New Revision: 73219

URL: http://llvm.org/viewvc/llvm-project?rev=73219&view=rev
Log:
In an XFAIL line, treat "XFAIL: foo*bar" as a regular expression to be matched
against the target triple, instead of equivalent to "XFAIL: *".

Modified:
    llvm/trunk/test/lib/llvm.exp

Modified: llvm/trunk/test/lib/llvm.exp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lib/llvm.exp?rev=73219&r1=73218&r2=73219&view=diff

==============================================================================
--- llvm/trunk/test/lib/llvm.exp (original)
+++ llvm/trunk/test/lib/llvm.exp Fri Jun 12 00:18:32 2009
@@ -184,7 +184,7 @@
 
         #split up target if more then 1 specified
         foreach target [split $targets ,] {
-          if { [regexp {\*} $target match] } {
+          if { $target == "*" } {
               if {$targetPASS != 1} {
                  set outcome XFAIL
               }





More information about the llvm-commits mailing list