From e68347bde5492e0a5fe92ebf20c137de8b8d3cff 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: *". llvm-svn: 73219 --- llvm/test/lib/llvm.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/lib/llvm.exp b/llvm/test/lib/llvm.exp index d2ddb8f757f9..3e2632f12c1f 100644 --- a/llvm/test/lib/llvm.exp +++ b/llvm/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 }