Changes in directory llvm/test/lib:
llvm.exp updated: 1.21 -> 1.22 --- Log message: Fix the comparison of language names to accept any characters by using "string first" instead of "regexp match". This helps C++ tests get executed. --- Diffs of the changes: (+1 -1) llvm.exp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/test/lib/llvm.exp diff -u llvm/test/lib/llvm.exp:1.21 llvm/test/lib/llvm.exp:1.22 --- llvm/test/lib/llvm.exp:1.21 Sat Apr 21 16:45:51 2007 +++ llvm/test/lib/llvm.exp Sun Apr 22 09:14:11 2007 @@ -207,7 +207,7 @@ fortran { set file fcc1 } default { return 0 } } - if { [ regexp $lang $llvmgcc_langs match ] } { + if { [ string first "$lang" "$llvmgcc_langs" ] >= 0 } { # FIXME: Knowing it is configured is not enough. We should do two more # checks here. First, we need to run llvm-gcc -print-prog-name=$file to get # the path to the compiler. If we don't get a path, the language isn't _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits