I am getting the following error when running make in llvm/tests.

Running .../llvm/test/C++Frontend/dg.exp ...
ERROR: tcl error sourcing .../llvm/test/C++Frontend/dg.exp.
ERROR: couldn't compile regular expression pattern: quantifier operand invalid
    while executing
"regexp $lang $llvmgcc_langs match "
    (procedure "llvm_gcc_supports" line 14)
    invoked from within
"llvm_gcc_supports c++ "
    invoked from within
"if [ llvm_gcc_supports c++ ] then {
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*. {ll,llx,c,cpp,tr}]]
}"
    (file ".../llvm/test/C++Frontend/dg.exp" line 3)
    invoked from within
"source .../llvm/test/C++Frontend/dg.exp"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 source .../llvm/test/C++Frontend/dg.exp"
    invoked from within
"catch "uplevel #0 source $test_file_name""

--
Christopher Lamb


On Apr 22, 2007, at 12:53 AM, Reid Spencer wrote:



Changes in directory llvm/test/C++Frontend:

dg.exp updated: 1.5 -> 1.6
---
Log message:

Make running these tests conditional on llvm-gcc supporting the language
of these test cases.


---
Diffs of the changes:  (+3 -1)

 dg.exp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)


Index: llvm/test/C++Frontend/dg.exp
diff -u llvm/test/C++Frontend/dg.exp:1.5 llvm/test/C++Frontend/ dg.exp:1.6
--- llvm/test/C++Frontend/dg.exp:1.5    Sun Apr 15 15:41:31 2007
+++ llvm/test/C++Frontend/dg.exp        Sun Apr 22 00:53:18 2007
@@ -1,3 +1,5 @@
 load_lib llvm.exp

-RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*. {ll,llx,c,cpp,tr}]]
+if [ llvm_gcc_supports c++ ] then {
+ RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*. {ll,llx,c,cpp,tr}]]
+}



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to