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 }