From 084f7bf8a741fdeb97bf7f2a1befd11758f504e7 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Fri, 12 Jun 2009 05:18:32 +0000 Subject: [PATCH] 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 --- test/lib/llvm.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/llvm.exp b/test/lib/llvm.exp index d2ddb8f757f..3e2632f12c1 100644 --- a/test/lib/llvm.exp +++ b/test/lib/llvm.exp @@ -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 }