Some of the 3.7.5 tests use a new TCL construction, {*}, which requires TCL
8.5
You can bypass that particular one in tester.tcl:
proc do_execsql_test {testname sql {result {}}} {
fix_testname testname
# uplevel do_test $testname [list "execsql {$sql}"] [list [list
{*}$result]]
uplevel do_test $testname [list "execsql {$sql}"] [list [concat $result]]
}
however, there are a number of others you will find. I'd try and update TCL
on Ubuntu
~Noah Hart
Krokodile wrote:
>
> Hello
>
> I've got 3.7.5 sources via ZIP archive from
> http://www.sqlite.org/cgi/src/info/ed759d5a9e - (SQLite version 3.7.5
> release candidate 2)
> Configure and install under Ubuntu 10.10 was ok.
> After that i run "make fulltest" and got following error:
>
> autoindex1-212... Ok
> autoindex1-300... Ok
> autoindex1-310... Ok
> autoindex1-400... Ok
> autoindex1-401... Ok
> ./testfixture: extra characters after close-brace
> while compiling
> "uplevel do_test $testname [list "execsql {$sql}"] [list [list
> {*}$result]]
> "
> (compiling body of proc "do_execsql_test", line 3)
> invoked from within
> "do_execsql_test autoindex1-500 {
> CREATE TABLE t501(a INTEGER PRIMARY KEY, b);
> CREATE TABLE t502(x INTEGER PRIMARY KEY, y);
> EXPLAIN QUERY PLAN
> ..."
> (file "./test/autoindex1.test" line 143)
> invoked from within
> "source ./test/autoindex1.test"
> invoked from within
> "interp eval tinterp $script"
> (procedure "slave_test_script" line 24)
> invoked from within
> "slave_test_script [list source $zFile] "
> invoked from within
> "time { slave_test_script [list source $zFile] }"
> (procedure "slave_test_file" line 14)
> invoked from within
> "slave_test_file $file"
> (procedure "run_tests" line 14)
> invoked from within
> "run_tests full -presql {} -files {tkt-5d863f876e.test shared3.test
> bigfile.test tkt3419.test where9.test fts1o.test fts2f.test sync.test
> ioerr4.test e..."
> ("uplevel" body line 1)
> invoked from within
> "uplevel run_tests $name $::testspec($name)"
> (procedure "run_test_suite" line 5)
> invoked from within
> "run_test_suite full"
> (file "./test/all.test" line 17)
> make: *** [fulltest] Error 1
>
> Why does this problem appears - i made made changes neither in code nor in
> tests. Does it mean version inconsistency?
>
> Thanks in advance.
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
>
--
View this message in context:
http://old.nabble.com/Running-TCL-tests-on-3.7.5-tp31152794p31153289.html
Sent from the SQLite mailing list archive at Nabble.com.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users